|
Blender V5.3
|
Inherits blender::bke::BlenderGTestBase.
Public Member Functions | |
| void | check_string (const char *text, const MTLMaterial *expect, size_t expect_count) |
| void | check (const char *file, const MTLMaterial *expect, size_t expect_count) |
| void | check_impl (StringRefNull mtl_file_path, StringRefNull file_dir, const MTLMaterial *expect, size_t expect_count) |
Additional Inherited Members | |
| Static Public Member Functions inherited from blender::bke::BlenderGTestBase | |
| static void | SetUpTestSuite () |
| static void | TearDownTestSuite () |
Definition at line 21 of file obj_mtl_parser_tests.cc.
|
inline |
Definition at line 37 of file obj_mtl_parser_tests.cc.
References check_impl(), and SEP_STR.
|
inline |
Definition at line 43 of file obj_mtl_parser_tests.cc.
References blender::io::obj::MTLMaterial::alpha, blender::io::obj::MTLMaterial::ambient_color, blender::io::obj::MTLMaterial::aniso, blender::io::obj::MTLMaterial::aniso_rot, blender::io::obj::MTLMaterial::cc_roughness, blender::io::obj::MTLMaterial::cc_thickness, blender::io::obj::MTLMaterial::color, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), blender::io::obj::Count, blender::io::obj::MTLMaterial::emission_color, exp, blender::EXPECT_EQ(), EXPECT_NEAR, blender::io::obj::MTLMaterial::illum_mode, blender::io::obj::MTLTexMap::image_path, blender::io::obj::MTLMaterial::ior, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup(), blender::io::obj::MTLMaterial::metallic, blender::io::obj::MTLMaterial::normal_strength, blender::io::obj::MTLTexMap::projection_type, blender::io::obj::MTLMaterial::roughness, blender::io::obj::MTLTexMap::scale, blender::io::obj::MTLMaterial::sheen, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size(), blender::io::obj::MTLMaterial::spec_color, blender::io::obj::MTLMaterial::spec_exponent, blender::io::obj::MTLMaterial::texture_maps, blender::io::obj::MTLTexMap::translation, and blender::io::obj::MTLMaterial::transmit_color.
Referenced by check(), and check_string().
|
inline |
Definition at line 23 of file obj_mtl_parser_tests.cc.
References blender::BKE_tempdir_base(), blender::BKE_tempdir_init(), blender::BLI_delete(), blender::BLI_fopen(), check_impl(), and SEP_STR.