Blender V5.0
blender::asset_system::tests::AssetRepresentationTest Class Reference

Inherits blender::asset_system::tests::AssetLibraryTestBase.

Public Member Functions

AssetLibraryget_builtin_library_from_type (eAssetLibraryType type)
AssetRepresentationadd_dummy_asset (AssetLibrary &library, StringRef relative_path)
AssetRepresentationadd_dummy_id_asset (AssetLibrary &library, ID &id)

Additional Inherited Members

Protected Member Functions inherited from blender::asset_system::tests::AssetLibraryTestBase
void SetUp () override
void TearDown () override
std::string use_temp_path ()
std::string create_temp_path ()
Static Protected Member Functions inherited from blender::asset_system::tests::AssetLibraryTestBase
static void SetUpTestSuite ()
static void TearDownTestSuite ()
Protected Attributes inherited from blender::asset_system::tests::AssetLibraryTestBase
std::string asset_library_root_
std::string temp_library_path_

Detailed Description

Sets up asset library loading so we have a library to load asset representations into (required for some functionality to perform work).

Definition at line 30 of file asset_representation_test.cc.

Member Function Documentation

◆ add_dummy_asset()

AssetRepresentation & blender::asset_system::tests::AssetRepresentationTest::add_dummy_asset ( AssetLibrary & library,
StringRef relative_path )
inline

◆ add_dummy_id_asset()

AssetRepresentation & blender::asset_system::tests::AssetRepresentationTest::add_dummy_id_asset ( AssetLibrary & library,
ID & id )
inline

◆ get_builtin_library_from_type()

AssetLibrary * blender::asset_system::tests::AssetRepresentationTest::get_builtin_library_from_type ( eAssetLibraryType type)
inline

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