|
Blender V4.3
|
Inherits testing::Test.
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) |
Definition at line 18 of file obj_mtl_parser_tests.cc.
|
inline |
Definition at line 34 of file obj_mtl_parser_tests.cc.
References check_impl(), and SEP_STR.
|
inline |
Definition at line 40 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::io::obj::Count, blender::io::obj::MTLMaterial::emission_color, exp(), EXPECT_EQ(), blender::io::obj::MTLMaterial::illum_mode, blender::io::obj::MTLTexMap::image_path, int, blender::io::obj::MTLMaterial::ior, blender::io::obj::MTLMaterial::metallic, blender::io::obj::MTLMaterial::normal_strength, blender::io::obj::MTLParser::parse_and_store(), blender::io::obj::MTLTexMap::projection_type, blender::io::obj::MTLMaterial::roughness, blender::io::obj::MTLTexMap::scale, blender::io::obj::MTLMaterial::sheen, 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 20 of file obj_mtl_parser_tests.cc.
References BKE_tempdir_base(), BKE_tempdir_init(), BLI_delete(), BLI_fopen(), check_impl(), and SEP_STR.