Blender V5.0
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 38 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 59 of file asset_library_test_common.hh.

References asset_library_root_, SEP_STR, and temp_library_path_.

◆ SetUpTestSuite()

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

◆ TearDown()

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

◆ TearDownTestSuite()

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

Definition at line 52 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 41 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: