OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Functions
anonymous_namespace{testbulletnifloader.cpp} Namespace Reference

Classes

struct  NifFileMock
 
struct  RecordMock
 
struct  TestBulletNifLoader
 

Functions

template<class T >
bool compareObjects (const T *lhs, const T *rhs)
 
std::vector< btVector3 > getTriangles (const btBvhTriangleMeshShape &shape)
 
void init (Nif::Transformation &value)
 
void init (Nif::Extra &value)
 
void init (Nif::Controlled &value)
 
void init (Nif::Named &value)
 
void init (Nif::Node &value)
 
void init (Nif::NiTriShape &value)
 
void init (Nif::NiSkinInstance &value)
 
void init (Nif::Controller &value)
 
void copy (const btTransform &src, Nif::Transformation &dst)
 
 TEST_F (TestBulletNifLoader, for_zero_num_roots_should_return_default)
 
 TEST_F (TestBulletNifLoader, for_root_not_nif_node_should_return_default)
 
 TEST_F (TestBulletNifLoader, for_default_root_nif_node_should_return_default)
 
 TEST_F (TestBulletNifLoader, for_default_root_collision_node_nif_node_should_return_default)
 
 TEST_F (TestBulletNifLoader, for_default_root_nif_node_and_filename_starting_with_x_should_return_default)
 
 TEST_F (TestBulletNifLoader, for_root_nif_node_with_bounding_box_should_return_shape_with_compound_shape_and_box_inside)
 
 TEST_F (TestBulletNifLoader, for_child_nif_node_with_bounding_box)
 
 TEST_F (TestBulletNifLoader, for_root_and_child_nif_node_with_bounding_box_but_root_without_flag_should_use_child_bounds)
 
 TEST_F (TestBulletNifLoader, for_root_and_two_children_where_both_with_bounds_but_only_first_with_flag_should_use_first_bounds)
 
 TEST_F (TestBulletNifLoader, for_root_and_two_children_where_both_with_bounds_but_only_second_with_flag_should_use_second_bounds)
 
 TEST_F (TestBulletNifLoader, for_root_nif_node_with_bounds_but_without_flag_should_return_shape_with_bounds_but_with_null_collision_shape)
 
 TEST_F (TestBulletNifLoader, for_tri_shape_root_node_should_return_shape_with_triangle_mesh_shape)
 
 TEST_F (TestBulletNifLoader, for_tri_shape_root_node_with_bounds_should_return_shape_with_bounds_but_with_null_collision_shape)
 
 TEST_F (TestBulletNifLoader, for_tri_shape_child_node_should_return_shape_with_triangle_mesh_shape)
 
 TEST_F (TestBulletNifLoader, for_nested_tri_shape_child_should_return_shape_with_triangle_mesh_shape)
 
 TEST_F (TestBulletNifLoader, for_two_tri_shape_children_should_return_shape_with_triangle_mesh_shape_with_all_meshes)
 
 TEST_F (TestBulletNifLoader, for_tri_shape_child_node_and_filename_starting_with_x_and_not_empty_skin_should_return_shape_with_triangle_mesh_shape)
 
 TEST_F (TestBulletNifLoader, for_tri_shape_root_node_and_filename_starting_with_x_should_return_shape_with_compound_shape)
 
 TEST_F (TestBulletNifLoader, for_tri_shape_child_node_and_filename_starting_with_x_should_return_shape_with_compound_shape)
 
 TEST_F (TestBulletNifLoader, for_two_tri_shape_children_nodes_and_filename_starting_with_x_should_return_shape_with_compound_shape)
 
 TEST_F (TestBulletNifLoader, for_tri_shape_child_node_with_controller_should_return_shape_with_compound_shape)
 
 TEST_F (TestBulletNifLoader, for_two_tri_shape_children_nodes_where_one_with_controller_should_return_shape_with_compound_shape)
 
 TEST_F (TestBulletNifLoader, for_root_avoid_node_and_tri_shape_child_node_should_return_shape_with_null_collision_shape)
 
 TEST_F (TestBulletNifLoader, for_tri_shape_child_node_with_empty_data_should_return_shape_with_null_collision_shape)
 
 TEST_F (TestBulletNifLoader, for_tri_shape_child_node_with_empty_data_triangles_should_return_shape_with_null_collision_shape)
 
 TEST_F (TestBulletNifLoader, for_tri_shape_child_node_with_extra_data_string_starting_with_nc_should_return_shape_with_null_collision_shape)
 
 TEST_F (TestBulletNifLoader, for_tri_shape_child_node_with_not_first_extra_data_string_starting_with_nc_should_return_shape_with_null_collision_shape)
 
 TEST_F (TestBulletNifLoader, for_tri_shape_child_node_with_extra_data_string_mrk_should_return_shape_with_null_collision_shape)
 
 TEST_F (TestBulletNifLoader, for_tri_shape_child_node_with_extra_data_string_mrk_and_other_collision_node_should_return_shape_with_triangle_mesh_shape_with_all_meshes)
 

Function Documentation

template<class T >
bool anonymous_namespace{testbulletnifloader.cpp}::compareObjects ( const T lhs,
const T rhs 
)

Here is the caller graph for this function:

void anonymous_namespace{testbulletnifloader.cpp}::copy ( const btTransform &  src,
Nif::Transformation dst 
)

Here is the caller graph for this function:

std::vector<btVector3> anonymous_namespace{testbulletnifloader.cpp}::getTriangles ( const btBvhTriangleMeshShape shape)

Here is the call graph for this function:

Here is the caller graph for this function:

void anonymous_namespace{testbulletnifloader.cpp}::init ( Nif::Transformation value)

Here is the call graph for this function:

void anonymous_namespace{testbulletnifloader.cpp}::init ( Nif::Extra value)
void anonymous_namespace{testbulletnifloader.cpp}::init ( Nif::Controlled value)

Here is the call graph for this function:

void anonymous_namespace{testbulletnifloader.cpp}::init ( Nif::Named value)

Here is the call graph for this function:

void anonymous_namespace{testbulletnifloader.cpp}::init ( Nif::Node value)

Here is the call graph for this function:

void anonymous_namespace{testbulletnifloader.cpp}::init ( Nif::NiTriShape value)

Here is the call graph for this function:

void anonymous_namespace{testbulletnifloader.cpp}::init ( Nif::NiSkinInstance value)
void anonymous_namespace{testbulletnifloader.cpp}::init ( Nif::Controller value)

Here is the caller graph for this function:

anonymous_namespace{testbulletnifloader.cpp}::TEST_F ( TestBulletNifLoader  ,
for_zero_num_roots_should_return_default   
)
anonymous_namespace{testbulletnifloader.cpp}::TEST_F ( TestBulletNifLoader  ,
for_root_not_nif_node_should_return_default   
)
anonymous_namespace{testbulletnifloader.cpp}::TEST_F ( TestBulletNifLoader  ,
for_default_root_nif_node_should_return_default   
)
anonymous_namespace{testbulletnifloader.cpp}::TEST_F ( TestBulletNifLoader  ,
for_default_root_collision_node_nif_node_should_return_default   
)
anonymous_namespace{testbulletnifloader.cpp}::TEST_F ( TestBulletNifLoader  ,
for_default_root_nif_node_and_filename_starting_with_x_should_return_default   
)
anonymous_namespace{testbulletnifloader.cpp}::TEST_F ( TestBulletNifLoader  ,
for_root_nif_node_with_bounding_box_should_return_shape_with_compound_shape_and_box_inside   
)
anonymous_namespace{testbulletnifloader.cpp}::TEST_F ( TestBulletNifLoader  ,
for_child_nif_node_with_bounding_box   
)
anonymous_namespace{testbulletnifloader.cpp}::TEST_F ( TestBulletNifLoader  ,
for_root_and_child_nif_node_with_bounding_box_but_root_without_flag_should_use_child_bounds   
)
anonymous_namespace{testbulletnifloader.cpp}::TEST_F ( TestBulletNifLoader  ,
for_root_and_two_children_where_both_with_bounds_but_only_first_with_flag_should_use_first_bounds   
)
anonymous_namespace{testbulletnifloader.cpp}::TEST_F ( TestBulletNifLoader  ,
for_root_and_two_children_where_both_with_bounds_but_only_second_with_flag_should_use_second_bounds   
)
anonymous_namespace{testbulletnifloader.cpp}::TEST_F ( TestBulletNifLoader  ,
for_root_nif_node_with_bounds_but_without_flag_should_return_shape_with_bounds_but_with_null_collision_shape   
)
anonymous_namespace{testbulletnifloader.cpp}::TEST_F ( TestBulletNifLoader  ,
for_tri_shape_root_node_should_return_shape_with_triangle_mesh_shape   
)
anonymous_namespace{testbulletnifloader.cpp}::TEST_F ( TestBulletNifLoader  ,
for_tri_shape_root_node_with_bounds_should_return_shape_with_bounds_but_with_null_collision_shape   
)
anonymous_namespace{testbulletnifloader.cpp}::TEST_F ( TestBulletNifLoader  ,
for_tri_shape_child_node_should_return_shape_with_triangle_mesh_shape   
)
anonymous_namespace{testbulletnifloader.cpp}::TEST_F ( TestBulletNifLoader  ,
for_nested_tri_shape_child_should_return_shape_with_triangle_mesh_shape   
)
anonymous_namespace{testbulletnifloader.cpp}::TEST_F ( TestBulletNifLoader  ,
for_two_tri_shape_children_should_return_shape_with_triangle_mesh_shape_with_all_meshes   
)
anonymous_namespace{testbulletnifloader.cpp}::TEST_F ( TestBulletNifLoader  ,
for_tri_shape_child_node_and_filename_starting_with_x_and_not_empty_skin_should_return_shape_with_triangle_mesh_shape   
)
anonymous_namespace{testbulletnifloader.cpp}::TEST_F ( TestBulletNifLoader  ,
for_tri_shape_root_node_and_filename_starting_with_x_should_return_shape_with_compound_shape   
)

Here is the call graph for this function:

anonymous_namespace{testbulletnifloader.cpp}::TEST_F ( TestBulletNifLoader  ,
for_tri_shape_child_node_and_filename_starting_with_x_should_return_shape_with_compound_shape   
)

Here is the call graph for this function:

anonymous_namespace{testbulletnifloader.cpp}::TEST_F ( TestBulletNifLoader  ,
for_two_tri_shape_children_nodes_and_filename_starting_with_x_should_return_shape_with_compound_shape   
)

Here is the call graph for this function:

anonymous_namespace{testbulletnifloader.cpp}::TEST_F ( TestBulletNifLoader  ,
for_tri_shape_child_node_with_controller_should_return_shape_with_compound_shape   
)

Here is the call graph for this function:

anonymous_namespace{testbulletnifloader.cpp}::TEST_F ( TestBulletNifLoader  ,
for_two_tri_shape_children_nodes_where_one_with_controller_should_return_shape_with_compound_shape   
)

Here is the call graph for this function:

anonymous_namespace{testbulletnifloader.cpp}::TEST_F ( TestBulletNifLoader  ,
for_root_avoid_node_and_tri_shape_child_node_should_return_shape_with_null_collision_shape   
)
anonymous_namespace{testbulletnifloader.cpp}::TEST_F ( TestBulletNifLoader  ,
for_tri_shape_child_node_with_empty_data_should_return_shape_with_null_collision_shape   
)
anonymous_namespace{testbulletnifloader.cpp}::TEST_F ( TestBulletNifLoader  ,
for_tri_shape_child_node_with_empty_data_triangles_should_return_shape_with_null_collision_shape   
)
anonymous_namespace{testbulletnifloader.cpp}::TEST_F ( TestBulletNifLoader  ,
for_tri_shape_child_node_with_extra_data_string_starting_with_nc_should_return_shape_with_null_collision_shape   
)
anonymous_namespace{testbulletnifloader.cpp}::TEST_F ( TestBulletNifLoader  ,
for_tri_shape_child_node_with_not_first_extra_data_string_starting_with_nc_should_return_shape_with_null_collision_shape   
)
anonymous_namespace{testbulletnifloader.cpp}::TEST_F ( TestBulletNifLoader  ,
for_tri_shape_child_node_with_extra_data_string_mrk_should_return_shape_with_null_collision_shape   
)
anonymous_namespace{testbulletnifloader.cpp}::TEST_F ( TestBulletNifLoader  ,
for_tri_shape_child_node_with_extra_data_string_mrk_and_other_collision_node_should_return_shape_with_triangle_mesh_shape_with_all_meshes   
)