|
Blender V4.3
|
#include <asset_library_test_common.hh>
Inherits testing::Test.
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 () |
Static Protected Member Functions | |
| static void | SetUpTestSuite () |
| static void | TearDownTestSuite () |
Protected Attributes | |
| std::string | asset_library_root_ |
| std::string | temp_library_path_ |
Functionality to setup and access directories on disk within which asset library related testing can be done.
Definition at line 37 of file asset_library_test_common.hh.
|
inlineprotected |
Definition at line 88 of file asset_library_test_common.hh.
References 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 57 of file asset_library_test_common.hh.
References asset_library_root_, SEP_STR, and temp_library_path_.
|
inlinestaticprotected |
Definition at line 42 of file asset_library_test_common.hh.
References BKE_callback_global_init(), and CLG_init().
|
inlineoverrideprotected |
Definition at line 68 of file asset_library_test_common.hh.
References BLI_delete(), blender::asset_system::AssetLibraryService::destroy(), and temp_library_path_.
|
inlinestaticprotected |
Definition at line 50 of file asset_library_test_common.hh.
References BKE_callback_global_finalize(), and CLG_exit().
|
inlineprotected |
Definition at line 80 of file asset_library_test_common.hh.
References BKE_tempdir_init(), BKE_tempdir_session, SEP_STR, and temp_library_path_.
Referenced by create_temp_path().
|
protected |
Definition at line 39 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 40 of file asset_library_test_common.hh.
Referenced by SetUp(), TearDown(), and use_temp_path().