Blender V4.3
blender::asset_system::tests::AssetLibraryTestBase Class Reference

#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_
 

Detailed Description

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.

Member Function Documentation

◆ create_temp_path()

std::string blender::asset_system::tests::AssetLibraryTestBase::create_temp_path ( )
inlineprotected

◆ SetUp()

void blender::asset_system::tests::AssetLibraryTestBase::SetUp ( )
inlineoverrideprotected

Definition at line 57 of file asset_library_test_common.hh.

References asset_library_root_, SEP_STR, and temp_library_path_.

◆ SetUpTestSuite()

static void blender::asset_system::tests::AssetLibraryTestBase::SetUpTestSuite ( )
inlinestaticprotected

Definition at line 42 of file asset_library_test_common.hh.

References BKE_callback_global_init(), and CLG_init().

◆ TearDown()

void blender::asset_system::tests::AssetLibraryTestBase::TearDown ( )
inlineoverrideprotected

◆ TearDownTestSuite()

static void blender::asset_system::tests::AssetLibraryTestBase::TearDownTestSuite ( )
inlinestaticprotected

Definition at line 50 of file asset_library_test_common.hh.

References BKE_callback_global_finalize(), and CLG_exit().

◆ use_temp_path()

std::string blender::asset_system::tests::AssetLibraryTestBase::use_temp_path ( )
inlineprotected

Member Data Documentation

◆ asset_library_root_

std::string blender::asset_system::tests::AssetLibraryTestBase::asset_library_root_
protected

◆ temp_library_path_

std::string blender::asset_system::tests::AssetLibraryTestBase::temp_library_path_
protected

Definition at line 40 of file asset_library_test_common.hh.

Referenced by SetUp(), TearDown(), and use_temp_path().


The documentation for this class was generated from the following file: