13 #include "testing/testing.h"
38 const std::string test_files_dir = blender::tests::flags_test_asset_dir();
39 if (test_files_dir.empty()) {
44 const std::string library_path = test_files_dir +
"/" +
"asset_library";
46 ASSERT_NE(
nullptr, library_c_ptr);
52 ASSERT_NE(
nullptr, service);
57 const bUUID uuid_poses_ellie(
"df60e1f6-2259-475b-93d9-69a1b4a8db78");
59 ASSERT_NE(
nullptr, poses_ellie) <<
"unable to find POSES_ELLIE catalog";
65 const std::string test_files_dir = blender::tests::flags_test_asset_dir();
66 if (test_files_dir.empty()) {
71 const std::string library_path = test_files_dir +
"/" +
72 "asset_library/this/subdir/does/not/exist";
74 ASSERT_NE(
nullptr, library_c_ptr);
80 ASSERT_NE(
nullptr, service);
struct AssetLibrary * BKE_asset_library_load(const char *library_path)
void BKE_callback_global_finalize(void)
void BKE_callback_global_init(void)
EXPECT_EQ(BLI_expr_pylike_eval(expr, nullptr, 0, &result), EXPR_PYLIKE_INVALID)
const std::string & str() const
AssetCatalog * find_catalog(CatalogID catalog_id) const
static void SetUpTestSuite()
static void TearDownTestSuite()
TEST_F(BKE_armature_find_selected_bones_test, some_bones_selected)
Universally Unique Identifier according to RFC4122.
std::unique_ptr< AssetCatalogService > catalog_service