|
Blender V5.0
|
#include <blendfile_loading_base_test.h>
Inherits testing::Test.
Inherited by BlendfileLoadingTest, blender::io::AbstractHierarchyIteratorTest, blender::io::obj::OBJExportTest, 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 | |
| virtual void | TearDown () |
| 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 13 of file blendfile_loading_base_test.h.
|
protected |
Definition at line 144 of file blendfile_loading_base_test.cc.
References bfile, and BLO_blendfiledata_free().
Referenced by TearDown().
|
protected |
Definition at line 117 of file blendfile_loading_base_test.cc.
References bfile, BKE_view_layer_synced_ensure(), BLI_path_join, BLO_read_from_file(), BLO_READ_SKIP_NONE, FILE_MAX, and LISTBASE_FOREACH.
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 154 of file blendfile_loading_base_test.cc.
References bfile, BKE_scene_graph_update_tagged(), DEG_graph_build_from_view_layer(), DEG_graph_new(), and depsgraph.
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 162 of file blendfile_loading_base_test.cc.
References DEG_graph_free(), and depsgraph.
Referenced by TearDown().
|
static |
Definition at line 51 of file blendfile_loading_base_test.cc.
References BKE_appdir_init(), BKE_blender_globals_init(), BKE_blender_globals_main_replace(), BKE_callback_global_init(), BKE_id_new(), BKE_idtype_init(), BKE_main_new(), BKE_modifier_init(), BKE_vfont_builtin_register(), BLF_init(), BLI_threadapi_init(), CLG_init(), datatoc_bfont_pfb, datatoc_bfont_pfb_size, DEG_register_node_types(), DNA_sdna_current_init(), G, IMB_init(), blender::seq::modifiers_init(), blender::bke::node_system_init(), RNA_init(), and wmWindowManager::runtime.
|
protectedvirtual |
Reimplemented in blender::io::AbstractHierarchyIteratorTest, blender::io::ply::PLYExportTest, blender::io::stl::STLExportTest, and blender::io::usd::UsdExportTest.
Definition at line 108 of file blendfile_loading_base_test.cc.
References BKE_mball_cubeTable_free(), blendfile_free(), and depsgraph_free().
Referenced by blender::io::AbstractHierarchyIteratorTest::TearDown(), blender::io::ply::PLYExportTest::TearDown(), blender::io::stl::STLExportTest::TearDown(), and blender::io::usd::UsdExportTest::TearDown().
|
static |
Definition at line 87 of file blendfile_loading_base_test.cc.
References BKE_appdir_exit(), BKE_blender_atexit(), BKE_blender_free(), BKE_tempdir_session_purge(), BLF_exit(), BLI_threadapi_exit(), CLG_exit(), DEG_free_node_types(), DNA_sdna_current_free(), and RNA_exit().
|
protected |
Definition at line 15 of file blendfile_loading_base_test.h.
Referenced by blendfile_free(), blendfile_load(), blender::io::obj::OBJExportRegressionTest::compare_obj_export_to_golden(), blender::io::AbstractHierarchyIteratorInvisibleTest::depsgraph_create(), depsgraph_create(), blender::io::AbstractHierarchyIteratorTest::iterator_create(), and blender::io::usd::UsdExportTest::load_file_and_depsgraph().
|
protected |
Definition at line 16 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(), blender::io::AbstractHierarchyIteratorInvisibleTest::depsgraph_create(), depsgraph_create(), depsgraph_free(), blender::io::AbstractHierarchyIteratorTest::iterator_create(), and blender::io::ply::PLYExportPLYDataTest::load_ply_data_from_blendfile().