Blender V5.3
blender::asset_system::tests Namespace Reference

Classes

class  AssetCatalogPathTest
class  AssetCatalogTest
class  AssetCatalogTreeTest
class  AssetCatalogTreeTestFunctions
class  AssetLibraryServiceTest
class  AssetLibraryTest
class  AssetLibraryTestBase
class  AssetRepresentationTest
class  TestableAssetCatalogCollection
class  TestableAssetCatalogDefinitionFile
class  TestableAssetCatalogService

Functions

 TEST_F (AssetCatalogPathTest, construction)
 TEST_F (AssetCatalogPathTest, length)
 TEST_F (AssetCatalogPathTest, name)
 TEST_F (AssetCatalogPathTest, comparison_operators)
 TEST_F (AssetCatalogPathTest, move_semantics)
 TEST_F (AssetCatalogPathTest, concatenation)
 TEST_F (AssetCatalogPathTest, hashable)
 TEST_F (AssetCatalogPathTest, stream_operator)
 TEST_F (AssetCatalogPathTest, is_contained_in)
 TEST_F (AssetCatalogPathTest, cleanup)
 TEST_F (AssetCatalogPathTest, iterate_components)
 TEST_F (AssetCatalogPathTest, rebase)
 TEST_F (AssetCatalogPathTest, parent)
 TEST_F (AssetCatalogTest, load_single_file)
 TEST_F (AssetCatalogTest, load_catalog_path_backslashes)
 TEST_F (AssetCatalogTest, is_first_loaded_flag)
 TEST_F (AssetCatalogTest, find_catalog_by_path)
 TEST_F (AssetCatalogTest, write_single_file)
 TEST_F (AssetCatalogTest, read_write_unicode_filepath)
 TEST_F (AssetCatalogTest, no_writing_empty_files)
 TEST_F (AssetCatalogTest, on_blendfile_save__with_existing_cdf)
 TEST_F (AssetCatalogTest, on_blendfile_save__from_memory_into_empty_directory)
 TEST_F (AssetCatalogTest, on_blendfile_save__from_memory_into_existing_cdf_and_merge)
 TEST_F (AssetCatalogTest, on_blendfile_save__from_memory_into_existing_asset_lib_without_top_level_cdf)
 TEST_F (AssetCatalogTest, on_blendfile_save__from_memory_into_existing_asset_lib)
 TEST_F (AssetCatalogTest, create_first_catalog_from_scratch)
 TEST_F (AssetCatalogTest, create_catalog_after_loading_file)
 TEST_F (AssetCatalogTest, create_catalog_path_cleanup)
 TEST_F (AssetCatalogTest, create_catalog_simple_name)
 TEST_F (AssetCatalogTest, delete_catalog_leaf)
 TEST_F (AssetCatalogTest, delete_catalog_parent_by_id)
 TEST_F (AssetCatalogTest, delete_catalog_parent_by_path)
 TEST_F (AssetCatalogTest, delete_catalog_write_to_disk)
 TEST_F (AssetCatalogTest, update_catalog_path)
 TEST_F (AssetCatalogTest, update_catalog_path_simple_name)
 TEST_F (AssetCatalogTest, update_catalog_path_longer_than_simplename)
 TEST_F (AssetCatalogTest, update_catalog_path_add_slashes)
 TEST_F (AssetCatalogTest, merge_catalog_files)
 TEST_F (AssetCatalogTest, refresh_catalogs_with_modification)
 TEST_F (AssetCatalogTest, backups)
 TEST_F (AssetCatalogTest, order_by_path)
 TEST_F (AssetCatalogTest, order_by_path_and_first_seen)
 TEST_F (AssetCatalogTest, create_missing_catalogs)
 TEST_F (AssetCatalogTest, create_missing_catalogs_after_loading)
 TEST_F (AssetCatalogTest, create_catalog_filter)
 TEST_F (AssetCatalogTest, create_catalog_filter_for_unknown_uuid)
 TEST_F (AssetCatalogTest, create_catalog_filter_for_unassigned_assets)
 TEST_F (AssetCatalogTest, cat_collection_deep_copy__empty)
 TEST_F (AssetCatalogTest, cat_collection_deep_copy__nonempty_nocdf)
 TEST_F (AssetCatalogTest, cat_collection_deep_copy__nonempty_cdf)
 TEST_F (AssetCatalogTest, undo_redo_one_step)
 TEST_F (AssetCatalogTest, undo_redo_more_complex)
 TEST_F (AssetCatalogTreeTest, insert_item_into_tree)
 TEST_F (AssetCatalogTreeTest, load_single_file_into_tree)
 TEST_F (AssetCatalogTreeTest, foreach_in_tree)
 TEST_F (AssetLibraryServiceTest, get_destroy)
 TEST_F (AssetLibraryServiceTest, library_pointers)
 TEST_F (AssetLibraryServiceTest, library_from_reference)
 TEST_F (AssetLibraryServiceTest, library_path_trailing_slashes)
 TEST_F (AssetLibraryServiceTest, catalogs_loaded)
 TEST_F (AssetLibraryServiceTest, has_any_unsaved_catalogs)
 TEST_F (AssetLibraryServiceTest, has_any_unsaved_catalogs_after_write)
 TEST_F (AssetLibraryServiceTest, move_runtime_current_file_into_on_disk_library__empty_directory)
 TEST_F (AssetLibraryServiceTest, move_runtime_current_file_into_on_disk_library__directory_with_catalogs)
 TEST_F (AssetLibraryTest, AS_asset_library_load_from_directory)
 TEST_F (AssetLibraryTest, load_nonexistent_directory)
static void compare_item_with_path (const AssetCatalogPath &expected_path, const AssetCatalogTreeItem &actual_item)
 TEST_F (AssetRepresentationTest, library_relative_identifier__id_name_change)
 TEST_F (AssetRepresentationTest, weak_reference__current_file)
 TEST_F (AssetRepresentationTest, weak_reference__custom_library)
 TEST_F (AssetRepresentationTest, weak_reference__id_name_change)
 TEST_F (AssetRepresentationTest, weak_reference__compare)
 TEST_F (AssetRepresentationTest, weak_reference__resolve_to_full_path__current_file)
 TEST_F (AssetRepresentationTest, weak_reference__resolve_to_full_path__custom_library)
 TEST_F (AssetRepresentationTest, weak_reference__resolve_to_full_path__custom_library__windows_pathsep)
 TEST_F (AssetRepresentationTest, weak_reference__resolve_to_exploded_path__current_file)
 TEST_F (AssetRepresentationTest, weak_reference__resolve_to_exploded_path__custom_library)
 TEST_F (AssetRepresentationTest, weak_reference__resolve_to_exploded_path__custom_library__windows_pathsep)
 TEST (EssentialsLibraryTest, is_online_essentials_url)
 TEST (RemoteLibraryTest, url_ends_with_top_meta_file_name)

Variables

const UUID UUID_ID_WITHOUT_PATH ("e34dd2c5-5d2e-4668-9794-1db5de2a4f71")
const UUID UUID_POSES_ELLIE ("df60e1f6-2259-475b-93d9-69a1b4a8db78")
const UUID UUID_POSES_ELLIE_WHITESPACE ("b06132f6-5687-4751-a6dd-392740eb3c46")
const UUID UUID_POSES_ELLIE_TRAILING_SLASH ("3376b94b-a28d-4d05-86c1-bf30b937130d")
const UUID UUID_POSES_ELLIE_BACKSLASHES ("a51e17ae-34fc-47d5-ba0f-64c2c9b771f7")
const UUID UUID_POSES_RUZENA ("79a4f887-ab60-4bd4-94da-d572e27d6aed")
const UUID UUID_POSES_RUZENA_HAND ("81811c31-1a88-4bd7-bb34-c6fc2607a12e")
const UUID UUID_POSES_RUZENA_FACE ("82162c1f-06cc-4d91-a9bf-4f72c104e348")
const UUID UUID_WITHOUT_SIMPLENAME ("d7916a31-6ca9-4909-955f-182ca2b81fa3")
const UUID UUID_ANOTHER_RUZENA ("00000000-d9fa-4b91-b704-e6af1f1339ef")
const UUID UUID_AGENT_47 ("c5744ba5-43f5-4f73-8e52-010ad4a61b34")

Function Documentation

◆ compare_item_with_path()

◆ TEST() [1/2]

blender::asset_system::tests::TEST ( EssentialsLibraryTest ,
is_online_essentials_url  )

◆ TEST() [2/2]

blender::asset_system::tests::TEST ( RemoteLibraryTest ,
url_ends_with_top_meta_file_name  )

◆ TEST_F() [1/77]

◆ TEST_F() [2/77]

blender::asset_system::tests::TEST_F ( AssetCatalogPathTest ,
comparison_operators  )

◆ TEST_F() [3/77]

blender::asset_system::tests::TEST_F ( AssetCatalogPathTest ,
concatenation  )

Definition at line 106 of file asset_catalog_path_test.cc.

References blender::EXPECT_EQ(), and TEST_F().

◆ TEST_F() [4/77]

◆ TEST_F() [5/77]

blender::asset_system::tests::TEST_F ( AssetCatalogPathTest ,
hashable  )

◆ TEST_F() [6/77]

blender::asset_system::tests::TEST_F ( AssetCatalogPathTest ,
is_contained_in  )

◆ TEST_F() [7/77]

◆ TEST_F() [8/77]

blender::asset_system::tests::TEST_F ( AssetCatalogPathTest ,
length  )

◆ TEST_F() [9/77]

blender::asset_system::tests::TEST_F ( AssetCatalogPathTest ,
move_semantics  )

Definition at line 96 of file asset_catalog_path_test.cc.

References EXPECT_FALSE, EXPECT_TRUE, and TEST_F().

◆ TEST_F() [10/77]

◆ TEST_F() [11/77]

blender::asset_system::tests::TEST_F ( AssetCatalogPathTest ,
parent  )

◆ TEST_F() [12/77]

blender::asset_system::tests::TEST_F ( AssetCatalogPathTest ,
rebase  )

◆ TEST_F() [13/77]

blender::asset_system::tests::TEST_F ( AssetCatalogPathTest ,
stream_operator  )

Definition at line 143 of file asset_catalog_path_test.cc.

References blender::EXPECT_EQ(), and TEST_F().

◆ TEST_F() [14/77]

◆ TEST_F() [15/77]

blender::asset_system::tests::TEST_F ( AssetCatalogTest ,
cat_collection_deep_copy__empty  )

◆ TEST_F() [16/77]

◆ TEST_F() [17/77]

◆ TEST_F() [18/77]

◆ TEST_F() [19/77]

◆ TEST_F() [20/77]

blender::asset_system::tests::TEST_F ( AssetCatalogTest ,
create_catalog_filter_for_unassigned_assets  )

◆ TEST_F() [21/77]

blender::asset_system::tests::TEST_F ( AssetCatalogTest ,
create_catalog_filter_for_unknown_uuid  )

◆ TEST_F() [22/77]

◆ TEST_F() [23/77]

◆ TEST_F() [24/77]

◆ TEST_F() [25/77]

◆ TEST_F() [26/77]

◆ TEST_F() [27/77]

◆ TEST_F() [28/77]

◆ TEST_F() [29/77]

◆ TEST_F() [30/77]

◆ TEST_F() [31/77]

◆ TEST_F() [32/77]

◆ TEST_F() [33/77]

◆ TEST_F() [34/77]

◆ TEST_F() [35/77]

◆ TEST_F() [36/77]

◆ TEST_F() [37/77]

◆ TEST_F() [38/77]

blender::asset_system::tests::TEST_F ( AssetCatalogTest ,
on_blendfile_save__from_memory_into_existing_asset_lib  )

Definition at line 440 of file asset_catalog_test.cc.

References TEST_F().

◆ TEST_F() [39/77]

blender::asset_system::tests::TEST_F ( AssetCatalogTest ,
on_blendfile_save__from_memory_into_existing_asset_lib_without_top_level_cdf  )

Definition at line 431 of file asset_catalog_test.cc.

References TEST_F().

◆ TEST_F() [40/77]

◆ TEST_F() [41/77]

◆ TEST_F() [42/77]

◆ TEST_F() [43/77]

◆ TEST_F() [44/77]

◆ TEST_F() [45/77]

◆ TEST_F() [46/77]

◆ TEST_F() [47/77]

◆ TEST_F() [48/77]

◆ TEST_F() [49/77]

◆ TEST_F() [50/77]

◆ TEST_F() [51/77]

◆ TEST_F() [52/77]

◆ TEST_F() [53/77]

◆ TEST_F() [54/77]

blender::asset_system::tests::TEST_F ( AssetCatalogTreeTest ,
insert_item_into_tree  )

◆ TEST_F() [55/77]

blender::asset_system::tests::TEST_F ( AssetCatalogTreeTest ,
load_single_file_into_tree  )

◆ TEST_F() [56/77]

◆ TEST_F() [57/77]

◆ TEST_F() [58/77]

◆ TEST_F() [59/77]

◆ TEST_F() [60/77]

◆ TEST_F() [61/77]

◆ TEST_F() [62/77]

◆ TEST_F() [63/77]

blender::asset_system::tests::TEST_F ( AssetLibraryServiceTest ,
move_runtime_current_file_into_on_disk_library__directory_with_catalogs  )

◆ TEST_F() [64/77]

◆ TEST_F() [65/77]

◆ TEST_F() [66/77]

blender::asset_system::tests::TEST_F ( AssetLibraryTest ,
load_nonexistent_directory  )

◆ TEST_F() [67/77]

◆ TEST_F() [68/77]

◆ TEST_F() [69/77]

◆ TEST_F() [70/77]

◆ TEST_F() [71/77]

◆ TEST_F() [72/77]

◆ TEST_F() [73/77]

◆ TEST_F() [74/77]

◆ TEST_F() [75/77]

◆ TEST_F() [76/77]

◆ TEST_F() [77/77]

Variable Documentation

◆ UUID_AGENT_47

const UUID blender::asset_system::tests::UUID_AGENT_47("c5744ba5-43f5-4f73-8e52-010ad4a61b34") ( "c5744ba5-43f5-4f73-8e52-010ad4a61b34" )

Referenced by TEST_F(), and TEST_F().

◆ UUID_ANOTHER_RUZENA

const UUID blender::asset_system::tests::UUID_ANOTHER_RUZENA("00000000-d9fa-4b91-b704-e6af1f1339ef") ( "00000000-d9fa-4b91-b704-e6af1f1339ef" )

Referenced by TEST_F(), and TEST_F().

◆ UUID_ID_WITHOUT_PATH

const UUID blender::asset_system::tests::UUID_ID_WITHOUT_PATH("e34dd2c5-5d2e-4668-9794-1db5de2a4f71") ( "e34dd2c5-5d2e-4668-9794-1db5de2a4f71" )

Referenced by TEST_F(), TEST_F(), and TEST_F().

◆ UUID_POSES_ELLIE

◆ UUID_POSES_ELLIE_BACKSLASHES

const UUID blender::asset_system::tests::UUID_POSES_ELLIE_BACKSLASHES("a51e17ae-34fc-47d5-ba0f-64c2c9b771f7") ( "a51e17ae-34fc-47d5-ba0f-64c2c9b771f7" )

Referenced by TEST_F(), and TEST_F().

◆ UUID_POSES_ELLIE_TRAILING_SLASH

const UUID blender::asset_system::tests::UUID_POSES_ELLIE_TRAILING_SLASH("3376b94b-a28d-4d05-86c1-bf30b937130d") ( "3376b94b-a28d-4d05-86c1-bf30b937130d" )

◆ UUID_POSES_ELLIE_WHITESPACE

const UUID blender::asset_system::tests::UUID_POSES_ELLIE_WHITESPACE("b06132f6-5687-4751-a6dd-392740eb3c46") ( "b06132f6-5687-4751-a6dd-392740eb3c46" )

◆ UUID_POSES_RUZENA

const UUID blender::asset_system::tests::UUID_POSES_RUZENA("79a4f887-ab60-4bd4-94da-d572e27d6aed") ( "79a4f887-ab60-4bd4-94da-d572e27d6aed" )

◆ UUID_POSES_RUZENA_FACE

const UUID blender::asset_system::tests::UUID_POSES_RUZENA_FACE("82162c1f-06cc-4d91-a9bf-4f72c104e348") ( "82162c1f-06cc-4d91-a9bf-4f72c104e348" )

◆ UUID_POSES_RUZENA_HAND

const UUID blender::asset_system::tests::UUID_POSES_RUZENA_HAND("81811c31-1a88-4bd7-bb34-c6fc2607a12e") ( "81811c31-1a88-4bd7-bb34-c6fc2607a12e" )

◆ UUID_WITHOUT_SIMPLENAME

const UUID blender::asset_system::tests::UUID_WITHOUT_SIMPLENAME("d7916a31-6ca9-4909-955f-182ca2b81fa3") ( "d7916a31-6ca9-4909-955f-182ca2b81fa3" )

Referenced by TEST_F(), and TEST_F().