Inherits BlendfileLoadingBaseTest.
Definition at line 39 of file stl_exporter_tests.cc.
◆ STLExportTest()
| blender::io::stl::STLExportTest::STLExportTest |
( |
| ) |
|
|
inlineprotected |
◆ compare_to_golden()
| void blender::io::stl::STLExportTest::compare_to_golden |
( |
const std::string & | blendfile, |
|
|
const std::string & | golden_stl ) |
|
inlineprotected |
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 84 of file stl_exporter_tests.cc.
References _params, BLI_delete(), BLI_path_basename(), BlendfileLoadingBaseTest::depsgraph, blender::io::stl::export_frame(), get_temp_filename(), load_file_and_depsgraph(), printf, blender::io::stl::read_temp_file_in_string(), blender::io::stl::save_failing_test_output, SEP_STR, and STRNCPY.
◆ get_temp_filename()
| std::string blender::io::stl::STLExportTest::get_temp_filename |
( |
const std::string & | filename | ) |
|
|
inlinestaticprotected |
◆ load_file_and_depsgraph()
| bool blender::io::stl::STLExportTest::load_file_and_depsgraph |
( |
const std::string & | filepath | ) |
|
|
inline |
◆ SetUp()
| void blender::io::stl::STLExportTest::SetUp |
( |
| ) |
|
|
inlineoverrideprotected |
◆ TearDown()
| void blender::io::stl::STLExportTest::TearDown |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
◆ _params
The documentation for this class was generated from the following file: