Definition at line 258 of file obj_exporter_tests.cc.
◆ compare_obj_export_to_golden()
void blender::io::obj::obj_exporter_regression_test::compare_obj_export_to_golden |
( |
const std::string & |
blendfile, |
|
|
const std::string & |
golden_obj, |
|
|
const std::string & |
golden_mtl, |
|
|
OBJExportParams & |
params |
|
) |
| |
|
inline |
Export the given blend file with the given parameters and test to see if it matches a golden file (ignoring any difference in Blender version number).
- Parameters
-
blendfile | input, relative to "tests" directory. |
golden_obj | expected output, relative to "tests" directory. |
params | the parameters to be used for export. |
Definition at line 267 of file obj_exporter_tests.cc.
References BlendfileLoadingBaseTest::bfile, BKE_tempdir_base(), BKE_tempdir_init(), BLI_delete(), BLI_path_basename(), BLI_split_dir_part(), BlendfileLoadingBaseTest::depsgraph, blender::io::obj::export_frame(), FILE_MAX, Main::filepath, blender::io::obj::obj_exporter_test::load_file_and_depsgraph(), BlendFileData::main, params, PATH_MAX, blender::io::obj::read_temp_file_in_string(), blender::io::obj::save_failing_test_output, and blender::io::obj::strings_equal_after_first_lines().
The documentation for this class was generated from the following file: