|
Blender V5.3
|
#include <asset_library_test_common.hh>
Inherits blender::bke::BlenderGTestBase.
Inherited by blender::asset_system::tests::AssetCatalogTest, blender::asset_system::tests::AssetCatalogTreeTest, and blender::asset_system::tests::AssetRepresentationTest.
Protected Member Functions | |
| void | SetUp () override |
| void | TearDown () override |
| std::string | use_temp_path () |
| std::string | create_temp_path () |
Protected Attributes | |
| std::string | asset_library_root_ |
| std::string | temp_library_path_ |
| Main * | bmain |
Additional Inherited Members | |
| Static Public Member Functions inherited from blender::bke::BlenderGTestBase | |
| static void | SetUpTestSuite () |
| static void | TearDownTestSuite () |
Functionality to setup and access directories on disk within which asset library related testing can be done.
Definition at line 39 of file asset_library_test_common.hh.
|
inlineprotected |
Definition at line 85 of file asset_library_test_common.hh.
References blender::BLI_dir_create_recursive(), and use_temp_path().
Referenced by blender::asset_system::tests::AssetCatalogTest::save_from_memory_into_existing_asset_lib().
|
inlineoverrideprotected |
Definition at line 45 of file asset_library_test_common.hh.
References asset_library_root_, blender::BKE_main_new(), bmain, G_MAIN, SEP_STR, and temp_library_path_.
|
inlineoverrideprotected |
Definition at line 62 of file asset_library_test_common.hh.
References blender::BKE_main_free(), blender::BLI_delete(), bmain, blender::asset_system::AssetLibraryService::destroy(), G_MAIN, and temp_library_path_.
|
inlineprotected |
Definition at line 77 of file asset_library_test_common.hh.
References blender::BKE_tempdir_init(), blender::BKE_tempdir_session(), SEP_STR, and temp_library_path_.
Referenced by create_temp_path().
|
protected |
Definition at line 41 of file asset_library_test_common.hh.
Referenced by blender::asset_system::tests::AssetCatalogTest::save_from_memory_into_existing_asset_lib(), and SetUp().
|
protected |
Definition at line 43 of file asset_library_test_common.hh.
Referenced by SetUp(), and TearDown().
|
protected |
Definition at line 42 of file asset_library_test_common.hh.
Referenced by SetUp(), TearDown(), and use_temp_path().