Blender  V3.3
Classes | Namespaces | Functions | Variables
asset_catalog_test.cc File Reference
#include "BKE_appdir.h"
#include "BKE_asset_catalog.hh"
#include "BKE_preferences.h"
#include "BLI_fileops.h"
#include "BLI_path_util.h"
#include "DNA_asset_types.h"
#include "DNA_userdef_types.h"
#include "CLG_log.h"
#include "testing/testing.h"

Go to the source code of this file.

Classes

class  blender::bke::tests::TestableAssetCatalogService
 
class  blender::bke::tests::AssetCatalogTest
 
class  blender::bke::tests::TestableAssetCatalogCollection
 
class  blender::bke::tests::TestableAssetCatalogDefinitionFile
 

Namespaces

 blender
 
 blender::bke
 
 blender::bke::tests
 

Functions

 blender::bke::tests::TEST_F (AssetCatalogTest, load_single_file)
 
 blender::bke::tests::TEST_F (AssetCatalogTest, load_catalog_path_backslashes)
 
 blender::bke::tests::TEST_F (AssetCatalogTest, is_first_loaded_flag)
 
 blender::bke::tests::TEST_F (AssetCatalogTest, insert_item_into_tree)
 
 blender::bke::tests::TEST_F (AssetCatalogTest, load_single_file_into_tree)
 
 blender::bke::tests::TEST_F (AssetCatalogTest, foreach_in_tree)
 
 blender::bke::tests::TEST_F (AssetCatalogTest, find_catalog_by_path)
 
 blender::bke::tests::TEST_F (AssetCatalogTest, write_single_file)
 
 blender::bke::tests::TEST_F (AssetCatalogTest, read_write_unicode_filepath)
 
 blender::bke::tests::TEST_F (AssetCatalogTest, no_writing_empty_files)
 
 blender::bke::tests::TEST_F (AssetCatalogTest, on_blendfile_save__with_existing_cdf)
 
 blender::bke::tests::TEST_F (AssetCatalogTest, on_blendfile_save__from_memory_into_empty_directory)
 
 blender::bke::tests::TEST_F (AssetCatalogTest, on_blendfile_save__from_memory_into_existing_cdf_and_merge)
 
 blender::bke::tests::TEST_F (AssetCatalogTest, on_blendfile_save__from_memory_into_existing_asset_lib_without_top_level_cdf)
 
 blender::bke::tests::TEST_F (AssetCatalogTest, on_blendfile_save__from_memory_into_existing_asset_lib)
 
 blender::bke::tests::TEST_F (AssetCatalogTest, create_first_catalog_from_scratch)
 
 blender::bke::tests::TEST_F (AssetCatalogTest, create_catalog_after_loading_file)
 
 blender::bke::tests::TEST_F (AssetCatalogTest, create_catalog_path_cleanup)
 
 blender::bke::tests::TEST_F (AssetCatalogTest, create_catalog_simple_name)
 
 blender::bke::tests::TEST_F (AssetCatalogTest, delete_catalog_leaf)
 
 blender::bke::tests::TEST_F (AssetCatalogTest, delete_catalog_parent_by_id)
 
 blender::bke::tests::TEST_F (AssetCatalogTest, delete_catalog_parent_by_path)
 
 blender::bke::tests::TEST_F (AssetCatalogTest, delete_catalog_write_to_disk)
 
 blender::bke::tests::TEST_F (AssetCatalogTest, update_catalog_path)
 
 blender::bke::tests::TEST_F (AssetCatalogTest, update_catalog_path_simple_name)
 
 blender::bke::tests::TEST_F (AssetCatalogTest, update_catalog_path_longer_than_simplename)
 
 blender::bke::tests::TEST_F (AssetCatalogTest, update_catalog_path_add_slashes)
 
 blender::bke::tests::TEST_F (AssetCatalogTest, merge_catalog_files)
 
 blender::bke::tests::TEST_F (AssetCatalogTest, refresh_catalogs_with_modification)
 
 blender::bke::tests::TEST_F (AssetCatalogTest, backups)
 
 blender::bke::tests::TEST_F (AssetCatalogTest, order_by_path)
 
 blender::bke::tests::TEST_F (AssetCatalogTest, order_by_path_and_first_seen)
 
 blender::bke::tests::TEST_F (AssetCatalogTest, create_missing_catalogs)
 
 blender::bke::tests::TEST_F (AssetCatalogTest, create_missing_catalogs_after_loading)
 
 blender::bke::tests::TEST_F (AssetCatalogTest, create_catalog_filter)
 
 blender::bke::tests::TEST_F (AssetCatalogTest, create_catalog_filter_for_unknown_uuid)
 
 blender::bke::tests::TEST_F (AssetCatalogTest, create_catalog_filter_for_unassigned_assets)
 
 blender::bke::tests::TEST_F (AssetCatalogTest, cat_collection_deep_copy__empty)
 
 blender::bke::tests::TEST_F (AssetCatalogTest, cat_collection_deep_copy__nonempty_nocdf)
 
 blender::bke::tests::TEST_F (AssetCatalogTest, cat_collection_deep_copy__nonempty_cdf)
 
 blender::bke::tests::TEST_F (AssetCatalogTest, undo_redo_one_step)
 
 blender::bke::tests::TEST_F (AssetCatalogTest, undo_redo_more_complex)
 

Variables

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