|
Blender V5.3
|
#include <blendfile_loading_base_test.h>
Inherits testing::Test.
Inherited by blender::BlendfileLoadingTest, blender::io::AbstractHierarchyIteratorTest, blender::io::obj::OBJExportTest, blender::io::otio::OTIOTest, blender::io::ply::PLYExportTest, blender::io::stl::STLExportTest, and blender::io::usd::UsdExportTest.
Static Public Member Functions | |
| static void | SetUpTestCase () |
| static void | TearDownTestCase () |
Protected Member Functions | |
| void | TearDown () override |
| bool | blendfile_load (const char *filepath) |
| void | blendfile_free () |
| virtual void | depsgraph_create (eEvaluationMode depsgraph_evaluation_mode) |
| virtual void | depsgraph_free () |
Protected Attributes | |
| struct BlendFileData * | bfile = nullptr |
| struct Depsgraph * | depsgraph = nullptr |
Definition at line 15 of file blendfile_loading_base_test.h.
|
protected |
Definition at line 146 of file blendfile_loading_base_test.cc.
References bfile, and blender::BLO_blendfiledata_free().
Referenced by TearDown().
|
protected |
Definition at line 119 of file blendfile_loading_base_test.cc.
References bfile, blender::BKE_view_layer_synced_ensure(), BLI_path_join, blender::BLO_read_from_file(), blender::BLO_READ_SKIP_NONE, blender::BlendFileData::curscene, FILE_MAX, blender::BlendFileData::main, and blender::Scene::view_layers.
Referenced by blender::io::obj::OBJExportTest::load_file_and_depsgraph(), blender::io::ply::PLYExportTest::load_file_and_depsgraph(), blender::io::stl::STLExportTest::load_file_and_depsgraph(), and blender::io::usd::UsdExportTest::load_file_and_depsgraph().
|
protectedvirtual |
Reimplemented in blender::io::AbstractHierarchyIteratorInvisibleTest.
Definition at line 156 of file blendfile_loading_base_test.cc.
References bfile, blender::BKE_scene_graph_update_tagged(), blender::BlendFileData::cur_view_layer, blender::BlendFileData::curscene, blender::DEG_graph_build_from_view_layer(), blender::DEG_graph_new(), depsgraph, and blender::BlendFileData::main.
Referenced by blender::io::obj::OBJExportTest::load_file_and_depsgraph(), blender::io::ply::PLYExportTest::load_file_and_depsgraph(), blender::io::stl::STLExportTest::load_file_and_depsgraph(), and blender::io::usd::UsdExportTest::load_file_and_depsgraph().
|
protectedvirtual |
Definition at line 164 of file blendfile_loading_base_test.cc.
References blender::DEG_graph_free(), and depsgraph.
Referenced by TearDown().
|
static |
Definition at line 54 of file blendfile_loading_base_test.cc.
References blender::BKE_appdir_init(), blender::BKE_blender_globals_init(), blender::BKE_blender_globals_main_replace(), blender::BKE_callback_global_init(), blender::BKE_cpp_types_init(), blender::BKE_id_new(), blender::BKE_idtype_init(), blender::BKE_main_new(), blender::BKE_modifier_init(), blender::BKE_vfont_builtin_register(), blender::BLF_init(), blender::BLI_threadapi_init(), CLG_init(), datatoc_bfont_pfb, datatoc_bfont_pfb_size, blender::DEG_register_node_types(), blender::G, blender::IMB_init(), blender::seq::modifiers_init(), blender::bke::node_system_init(), and blender::RNA_init().
Referenced by blender::io::otio::OTIOTest::SetUpTestCase().
|
overrideprotected |
Definition at line 110 of file blendfile_loading_base_test.cc.
References blender::BKE_mball_cubeTable_free(), blendfile_free(), and depsgraph_free().
Referenced by blender::io::AbstractHierarchyIteratorTest::TearDown(), blender::io::otio::OTIOTest::TearDown(), blender::io::ply::PLYExportTest::TearDown(), blender::io::stl::STLExportTest::TearDown(), and blender::io::usd::UsdExportTest::TearDown().
|
static |
Definition at line 90 of file blendfile_loading_base_test.cc.
References blender::BKE_appdir_exit(), blender::BKE_blender_atexit(), blender::BKE_blender_free(), blender::BKE_tempdir_session_purge(), blender::BLF_exit(), blender::BLI_threadapi_exit(), CLG_exit(), blender::DEG_free_node_types(), and blender::RNA_exit().
Referenced by blender::io::otio::OTIOTest::TearDownTestCase().
|
protected |
Definition at line 17 of file blendfile_loading_base_test.h.
Referenced by blendfile_free(), blendfile_load(), blender::io::obj::OBJExportRegressionTest::compare_obj_export_to_golden(), depsgraph_create(), blender::io::AbstractHierarchyIteratorInvisibleTest::depsgraph_create(), blender::io::AbstractHierarchyIteratorTest::iterator_create(), and blender::io::usd::UsdExportTest::load_file_and_depsgraph().
|
protected |
Definition at line 18 of file blendfile_loading_base_test.h.
Referenced by blender::io::obj::OBJExportRegressionTest::compare_obj_export_to_golden(), blender::io::stl::STLExportTest::compare_to_golden(), depsgraph_create(), blender::io::AbstractHierarchyIteratorInvisibleTest::depsgraph_create(), depsgraph_free(), blender::io::AbstractHierarchyIteratorTest::iterator_create(), and blender::io::ply::PLYExportPLYDataTest::load_ply_data_from_blendfile().