56 testing::Test::SetUpTestCase();
81 G.factory_startup =
true;
85 ASSERT_EQ(
G.main->wm.first_,
nullptr);
87 wm->runtime = MEM_new<bke::WindowManagerRuntime>(__func__);
107 testing::Test::TearDownTestCase();
116 testing::Test::TearDown();
121 const std::string &test_assets_dir = tests::flags_test_asset_dir();
122 if (test_assets_dir.empty()) {
127 BLI_path_join(abspath,
sizeof(abspath), test_assets_dir.c_str(), filepath);
131 if (
bfile ==
nullptr) {
132 ADD_FAILURE() <<
"Unable to load file '" << filepath <<
"' from test assets dir '"
133 << test_assets_dir <<
"'";
148 if (
bfile ==
nullptr) {
#define BLI_path_join(...)
external readfile function prototypes.
blenloader genfile private function prototypes
const char datatoc_bfont_pfb[]
int datatoc_bfont_pfb_size
Read Blender memory allocation and freeing.
static void TearDownTestCase()
virtual void depsgraph_free()
struct Depsgraph * depsgraph
struct BlendFileData * bfile
static void SetUpTestCase()
virtual void depsgraph_create(eEvaluationMode depsgraph_evaluation_mode)
bool blendfile_load(const char *filepath)
void BKE_tempdir_session_purge()
void DEG_free_node_types()
void DEG_graph_build_from_view_layer(Depsgraph *graph)
void BLI_threadapi_exit()
void BKE_blender_globals_init()
void DEG_graph_free(Depsgraph *graph)
void BLO_blendfiledata_free(BlendFileData *bfd)
Depsgraph * DEG_graph_new(Main *bmain, Scene *scene, ViewLayer *view_layer, eEvaluationMode mode)
void BLI_threadapi_init()
BlendFileData * BLO_read_from_file(const char *filepath, eBLOReadSkip skip_flags, BlendFileReadReport *reports)
void BKE_mball_cubeTable_free()
void BKE_scene_graph_update_tagged(Depsgraph *depsgraph, Main *bmain)
bool BKE_view_layer_synced_ensure(const Main &bmain, const Scene *scene, ViewLayer *view_layer)
void BKE_blender_atexit()
void BKE_vfont_builtin_register(const void *mem, int size)
void BKE_cpp_types_init()
void DEG_register_node_types()
void * BKE_id_new(Main *bmain, short type, const char *name)
void BKE_callback_global_init()
void BKE_blender_globals_main_replace(Main *bmain)
ViewLayer * cur_view_layer
ListBaseT< ViewLayer > view_layers