Blender
V3.3
|
Classes | |
class | BKE_armature_find_selected_bones_test |
class | TestableAssetCatalogService |
class | AssetCatalogTest |
class | TestableAssetCatalogCollection |
class | TestableAssetCatalogDefinitionFile |
class | AssetLibraryServiceTest |
class | AssetLibraryTest |
class | BPathTest |
struct | LatticeDeformTestContext |
struct | LibIDMainSortTestContext |
class | TestData |
class | SceneTestData |
class | CompositorTestData |
class | MeshTestData |
class | TwoMeshesTestData |
class | MeshObjectTestData |
class | Context |
Functions | |
TEST (action_groups, ReconstructGroupsWithReordering) | |
TEST (action_assets, BKE_action_has_single_frame) | |
static double | EXPECT_M3_ORTHOGONAL (const float mat[3][3], double epsilon_scale, double epsilon_ortho) |
TEST (mat3_vec_to_roll, UnitMatrix) | |
TEST (mat3_vec_to_roll, Rotationmatrix) | |
static double | test_vec_roll_to_mat3_normalized (const float input[3], float roll, const float expected_roll_mat[3][3], bool normalize=true) |
static double | find_flip_boundary (double x, double z) |
TEST (vec_roll_to_mat3_normalized, FlippedBoundary1) | |
TEST (vec_roll_to_mat3_normalized, FlippedBoundary2) | |
TEST (vec_roll_to_mat3_normalized, Flipped1) | |
TEST (vec_roll_to_mat3_normalized, Flipped2) | |
TEST (vec_roll_to_mat3_normalized, Flipped3) | |
TEST (vec_roll_to_mat3_normalized, Rotate90_Z_CW) | |
TEST (vec_roll_to_mat3_normalized, Rotate90_Z_CCW) | |
TEST (vec_roll_to_mat3_normalized, Rotate90_X_CW) | |
TEST (vec_roll_to_mat3_normalized, Rotate90_X_CCW) | |
TEST (vec_roll_to_mat3_normalized, Generic1) | |
TEST (vec_roll_to_mat3_normalized, Generic2) | |
TEST (vec_roll_to_mat3_normalized, Generic3) | |
TEST (vec_roll_to_mat3_normalized, Generic4) | |
TEST (vec_roll_to_mat3_normalized, Roll1) | |
static double | test_vec_roll_to_mat3_orthogonal (double s, double x, double z) |
static void | test_vec_roll_to_mat3_orthogonal (double s, double x1, double x2, double y1, double y2) |
TEST_F (BKE_armature_find_selected_bones_test, some_bones_selected) | |
TEST_F (BKE_armature_find_selected_bones_test, no_bones_selected) | |
TEST_F (BKE_armature_find_selected_bones_test, all_bones_selected) | |
TEST (AssetCatalogPathTest, construction) | |
TEST (AssetCatalogPathTest, length) | |
TEST (AssetCatalogPathTest, name) | |
TEST (AssetCatalogPathTest, comparison_operators) | |
TEST (AssetCatalogPathTest, move_semantics) | |
TEST (AssetCatalogPathTest, concatenation) | |
TEST (AssetCatalogPathTest, hashable) | |
TEST (AssetCatalogPathTest, stream_operator) | |
TEST (AssetCatalogPathTest, is_contained_in) | |
TEST (AssetCatalogPathTest, cleanup) | |
TEST (AssetCatalogPathTest, iterate_components) | |
TEST (AssetCatalogPathTest, rebase) | |
TEST (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, insert_item_into_tree) | |
TEST_F (AssetCatalogTest, load_single_file_into_tree) | |
TEST_F (AssetCatalogTest, foreach_in_tree) | |
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 (AssetLibraryServiceTest, get_destroy) | |
TEST_F (AssetLibraryServiceTest, library_pointers) | |
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 (AssetLibraryTest, bke_asset_library_load) | |
TEST_F (AssetLibraryTest, load_nonexistent_directory) | |
TEST (AssetMetadataTest, set_catalog_id) | |
TEST_F (BPathTest, rebase_on_relative) | |
TEST_F (BPathTest, rebase_on_absolute) | |
TEST_F (BPathTest, convert_to_relative) | |
TEST_F (BPathTest, convert_to_absolute) | |
TEST_F (BPathTest, list_backup_restore) | |
static CurvesGeometry | create_basic_curves (const int points_size, const int curves_size) |
TEST (curves_geometry, Empty) | |
TEST (curves_geometry, Move) | |
TEST (curves_geometry, TypeCount) | |
TEST (curves_geometry, CatmullRomEvaluation) | |
TEST (curves_geometry, CatmullRomTwoPointCyclic) | |
TEST (curves_geometry, BezierPositionEvaluation) | |
TEST (curves_geometry, NURBSEvaluation) | |
TEST (curves_geometry, BezierGenericEvaluation) | |
TEST (evaluate_fcurve, EmptyFCurve) | |
TEST (evaluate_fcurve, OnKeys) | |
TEST (evaluate_fcurve, InterpolationConstant) | |
TEST (evaluate_fcurve, InterpolationLinear) | |
TEST (evaluate_fcurve, InterpolationBezier) | |
TEST (evaluate_fcurve, InterpolationBounce) | |
TEST (evaluate_fcurve, ExtrapolationLinearKeys) | |
TEST (evaluate_fcurve, ExtrapolationBezierKeys) | |
TEST (fcurve_subdivide, BKE_fcurve_bezt_subdivide_handles) | |
TEST (fcurve_active_keyframe, ActiveKeyframe) | |
TEST (BKE_fcurve, BKE_fcurve_keyframe_move_value_with_handles) | |
TEST (udim, image_ensure_tile_token) | |
TEST (udim, image_get_tile_strformat) | |
TEST (udim, image_get_tile_number_from_filepath) | |
TEST (udim, image_set_filepath_from_tile_number) | |
static void | test_lattice_deform_init (LatticeDeformTestContext *ctx, RandomNumberGenerator *rng, int32_t num_items) |
static void | test_lattice_deform (LatticeDeformTestContext *ctx, int32_t num_items) |
static void | test_lattice_deform_free (LatticeDeformTestContext *ctx) |
TEST (lattice_deform_performance, performance_no_dvert_1) | |
TEST (lattice_deform_performance, performance_no_dvert_1000) | |
TEST (lattice_deform_performance, performance_no_dvert_10000) | |
TEST (lattice_deform_performance, performance_no_dvert_100000) | |
TEST (lattice_deform_performance, performance_no_dvert_1000000) | |
TEST (lattice_deform_performance, performance_no_dvert_10000000) | |
TEST (view_layer, aov_unique_names) | |
static void | test_render_pass_conflict (Scene *scene, RenderEngine *engine, ViewLayer *view_layer, ViewLayerAOV *aov, const char *render_pass_name, const char *rna_prop_name) |
TEST (view_layer, aov_conflict) | |
static void | test_lib_id_main_sort_check_order (std::initializer_list< ID * > list) |
TEST (lib_id_main_sort, local_ids_1) | |
static void | change_lib (Main *bmain, ID *id, Library *lib) |
static void | change_name (Main *bmain, ID *id, const char *name) |
TEST (lib_id_main_sort, linked_ids_1) | |
TEST (lib_id_main_unique_name, local_ids_1) | |
TEST (lib_id_main_unique_name, linked_ids_1) | |
TEST (lib_id_main_unique_name, ids_sorted_by_default) | |
static ID * | add_id_in_library (Main *bmain, const char *name, Library *lib) |
TEST (lib_id_main_unique_name, ids_sorted_by_default_with_libraries) | |
TEST (lib_id_main_unique_name, name_too_long_handling) | |
TEST (lib_id_main_unique_name, create_equivalent_numeric_suffixes) | |
TEST (lib_id_main_unique_name, zero_suffix_is_never_assigned) | |
TEST (lib_id_main_unique_name, remove_after_dup_get_original_name) | |
TEST (lib_id_main_unique_name, name_number_suffix_assignment) | |
TEST (lib_id_main_unique_name, renames_with_duplicates) | |
TEST (lib_id_main_unique_name, names_are_unique_per_id_type) | |
TEST (lib_id_main_unique_name, name_huge_number_suffix) | |
Embedded IDs | |
TEST (lib_remap, embedded_ids_can_not_be_remapped) | |
TEST (lib_remap, embedded_ids_can_not_be_deleted) | |
Remap to self | |
TEST (lib_remap, delete_when_remap_to_self_not_allowed) | |
User Reference Counting | |
TEST (lib_remap, users_are_decreased_when_not_skipping_never_null) | |
TEST (lib_remap, users_are_same_when_skipping_never_null) | |
Never Null | |
TEST (lib_remap, do_not_delete_when_cannot_unset) | |
TEST (lib_remap, force_never_null_usage) | |
TEST (lib_remap, never_null_usage_flag_not_requested_on_delete) | |
TEST (lib_remap, never_null_usage_flag_requested_on_delete) | |
TEST (lib_remap, never_null_usage_flag_not_requested_on_remap) | |
TEST (lib_remap, never_null_usage_flag_requested_on_remap) | |
Variables | |
static const float | FLOAT_EPSILON = 1.2e-7 |
static const float | SCALE_EPSILON = 3.71e-5 |
static const float | ORTHO_EPSILON = 5e-5 |
const bUUID | UUID_ID_WITHOUT_PATH ("e34dd2c5-5d2e-4668-9794-1db5de2a4f71") |
const bUUID | UUID_POSES_ELLIE ("df60e1f6-2259-475b-93d9-69a1b4a8db78") |
const bUUID | UUID_POSES_ELLIE_WHITESPACE ("b06132f6-5687-4751-a6dd-392740eb3c46") |
const bUUID | UUID_POSES_ELLIE_TRAILING_SLASH ("3376b94b-a28d-4d05-86c1-bf30b937130d") |
const bUUID | UUID_POSES_ELLIE_BACKSLASHES ("a51e17ae-34fc-47d5-ba0f-64c2c9b771f7") |
const bUUID | UUID_POSES_RUZENA ("79a4f887-ab60-4bd4-94da-d572e27d6aed") |
const bUUID | UUID_POSES_RUZENA_HAND ("81811c31-1a88-4bd7-bb34-c6fc2607a12e") |
const bUUID | UUID_POSES_RUZENA_FACE ("82162c1f-06cc-4d91-a9bf-4f72c104e348") |
const bUUID | UUID_WITHOUT_SIMPLENAME ("d7916a31-6ca9-4909-955f-182ca2b81fa3") |
const bUUID | UUID_ANOTHER_RUZENA ("00000000-d9fa-4b91-b704-e6af1f1339ef") |
const bUUID | UUID_AGENT_47 ("c5744ba5-43f5-4f73-8e52-010ad4a61b34") |
static const float | EPSILON = 1e-7f |
|
static |
Definition at line 187 of file lib_id_test.cc.
References BKE_id_new(), change_lib(), id, ID_OB, id_sort_by_name(), lib, and Main::objects.
Referenced by TEST().
Definition at line 61 of file lib_id_test.cc.
References BKE_main_namemap_get_name(), BKE_main_namemap_remove_name(), id, lib, ID::lib, and ID::name.
Referenced by add_id_in_library(), and TEST().
Definition at line 71 of file lib_id_test.cc.
References BKE_id_new_name_validate(), BKE_main_namemap_remove_name(), BLI_strncpy(), id, MAX_NAME, ID::name, and Main::objects.
Referenced by TEST().
|
static |
Definition at line 13 of file curves_geometry_test.cc.
References curves, and float().
Referenced by TEST().
|
static |
Test that the matrix is orthogonal, i.e. has no scale or shear within acceptable precision.
Definition at line 21 of file armature_test.cc.
References copy_m3d_m3(), determinant(), determinant_m3_array_db(), dot_v3v3_db(), and len_v3_db().
Referenced by test_vec_roll_to_mat3_normalized().
Binary search to test where the code switches to the most degenerate special case.
Definition at line 139 of file armature_test.cc.
References e, float(), input, M_1_PI, normalize_v3(), sqrt(), vec_roll_to_mat3_normalized(), x, and z.
Referenced by TEST().
blender::bke::tests::TEST | ( | action_assets | , |
BKE_action_has_single_frame | |||
) |
Definition at line 161 of file action_test.cc.
References FCurve::bezt, BKE_action_has_single_frame(), BLI_addtail(), bAction::curves, and BezTriple::vec.
blender::bke::tests::TEST | ( | action_groups | , |
ReconstructGroupsWithReordering | |||
) |
Definition at line 17 of file action_test.cc.
References BKE_action_groups_reconstruct(), BLI_addtail(), bActionGroup::channels, bAction::curves, EXPECT_EQ(), ListBase::first, bAction::groups, FCurve::grp, ListBase::last, bActionGroup::name, bActionGroup::next, FCurve::next, bActionGroup::prev, FCurve::prev, and FCurve::rna_path.
blender::bke::tests::TEST | ( | AssetCatalogPathTest | , |
cleanup | |||
) |
Definition at line 178 of file asset_catalog_path_test.cc.
References blender::bke::AssetCatalogPath::cleanup(), and EXPECT_EQ().
blender::bke::tests::TEST | ( | AssetCatalogPathTest | , |
comparison_operators | |||
) |
Definition at line 64 of file asset_catalog_path_test.cc.
References EXPECT_EQ().
blender::bke::tests::TEST | ( | AssetCatalogPathTest | , |
concatenation | |||
) |
Definition at line 101 of file asset_catalog_path_test.cc.
References EXPECT_EQ().
blender::bke::tests::TEST | ( | AssetCatalogPathTest | , |
construction | |||
) |
Definition at line 16 of file asset_catalog_path_test.cc.
References EXPECT_EQ(), blender::bke::AssetCatalogPath::str(), and blender::StringRefBase::substr().
blender::bke::tests::TEST | ( | AssetCatalogPathTest | , |
hashable | |||
) |
Definition at line 127 of file asset_catalog_path_test.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add().
blender::bke::tests::TEST | ( | AssetCatalogPathTest | , |
is_contained_in | |||
) |
Definition at line 146 of file asset_catalog_path_test.cc.
References blender::bke::AssetCatalogPath::is_contained_in().
blender::bke::tests::TEST | ( | AssetCatalogPathTest | , |
iterate_components | |||
) |
blender::bke::tests::TEST | ( | AssetCatalogPathTest | , |
length | |||
) |
Definition at line 43 of file asset_catalog_path_test.cc.
References EXPECT_EQ(), and blender::bke::AssetCatalogPath::length().
blender::bke::tests::TEST | ( | AssetCatalogPathTest | , |
move_semantics | |||
) |
Definition at line 91 of file asset_catalog_path_test.cc.
blender::bke::tests::TEST | ( | AssetCatalogPathTest | , |
name | |||
) |
Definition at line 55 of file asset_catalog_path_test.cc.
References EXPECT_EQ().
blender::bke::tests::TEST | ( | AssetCatalogPathTest | , |
parent | |||
) |
Definition at line 251 of file asset_catalog_path_test.cc.
References EXPECT_EQ(), and blender::bke::AssetCatalogPath::parent().
blender::bke::tests::TEST | ( | AssetCatalogPathTest | , |
rebase | |||
) |
Definition at line 231 of file asset_catalog_path_test.cc.
References EXPECT_EQ(), and blender::bke::AssetCatalogPath::rebase().
blender::bke::tests::TEST | ( | AssetCatalogPathTest | , |
stream_operator | |||
) |
Definition at line 138 of file asset_catalog_path_test.cc.
References EXPECT_EQ().
blender::bke::tests::TEST | ( | AssetMetadataTest | , |
set_catalog_id | |||
) |
Definition at line 14 of file asset_test.cc.
References BKE_asset_metadata_catalog_id_clear(), BKE_asset_metadata_catalog_id_set(), BLI_uuid_equal(), BLI_uuid_generate_random(), BLI_uuid_is_nil(), AssetMetaData::catalog_id, and AssetMetaData::catalog_simple_name.
blender::bke::tests::TEST | ( | BKE_fcurve | , |
BKE_fcurve_keyframe_move_value_with_handles | |||
) |
Definition at line 319 of file fcurve_test.cc.
References FCurve::bezt, BEZT_KEYTYPE_KEYFRAME, BKE_fcurve_create(), BKE_fcurve_free(), BKE_fcurve_keyframe_move_value_with_handles(), insert_vert_fcurve(), INSERTKEY_NO_USERPREF, and BezTriple::vec.
blender::bke::tests::TEST | ( | curves_geometry | , |
BezierGenericEvaluation | |||
) |
Definition at line 408 of file curves_geometry_test.cc.
References blender::Array< T, InlineBufferCapacity, Allocator >::as_mutable_span(), CURVE_TYPE_BEZIER, curves, blender::MutableSpan< T >::first(), blender::Array< T, InlineBufferCapacity, Allocator >::index_range(), blender::Span< T >::index_range(), blender::MutableSpan< T >::last(), positions, and radii.
blender::bke::tests::TEST | ( | curves_geometry | , |
BezierPositionEvaluation | |||
) |
Definition at line 234 of file curves_geometry_test.cc.
References CURVE_TYPE_BEZIER, curves, EXPECT_EQ(), blender::MutableSpan< T >::first(), blender::Span< T >::index_range(), blender::MutableSpan< T >::last(), positions, and blender::Span< T >::size().
blender::bke::tests::TEST | ( | curves_geometry | , |
CatmullRomEvaluation | |||
) |
Definition at line 89 of file curves_geometry_test.cc.
References CURVE_TYPE_CATMULL_ROM, curves, blender::Span< T >::data(), EXPECT_EQ(), blender::Span< T >::index_range(), positions, x, and y.
blender::bke::tests::TEST | ( | curves_geometry | , |
CatmullRomTwoPointCyclic | |||
) |
Definition at line 222 of file curves_geometry_test.cc.
References CURVE_TYPE_CATMULL_ROM, curves, and EXPECT_EQ().
blender::bke::tests::TEST | ( | curves_geometry | , |
Empty | |||
) |
Definition at line 30 of file curves_geometry_test.cc.
References blender::bke::CurvesGeometry::bounds_min_max(), blender::bke::CurvesGeometry::cyclic(), max, and min.
blender::bke::tests::TEST | ( | curves_geometry | , |
Move | |||
) |
Definition at line 39 of file curves_geometry_test.cc.
References blender::bke::CurvesGeometry::bounds_min_max(), create_basic_curves(), curves, blender::Span< T >::data(), EXPECT_EQ(), max, min, blender::bke::CurvesGeometry::offsets(), and blender::bke::CurvesGeometry::positions().
blender::bke::tests::TEST | ( | curves_geometry | , |
NURBSEvaluation | |||
) |
Definition at line 318 of file curves_geometry_test.cc.
References CURVE_TYPE_NURBS, curves, blender::Span< T >::index_range(), and positions.
blender::bke::tests::TEST | ( | curves_geometry | , |
TypeCount | |||
) |
Definition at line 66 of file curves_geometry_test.cc.
References create_basic_curves(), CURVE_TYPE_BEZIER, CURVE_TYPE_CATMULL_ROM, CURVE_TYPE_NURBS, CURVE_TYPE_POLY, curves, and EXPECT_EQ().
blender::bke::tests::TEST | ( | evaluate_fcurve | , |
EmptyFCurve | |||
) |
Definition at line 19 of file fcurve_test.cc.
References BKE_fcurve_create(), BKE_fcurve_free(), evaluate_fcurve(), and EXPECT_EQ().
blender::bke::tests::TEST | ( | evaluate_fcurve | , |
ExtrapolationBezierKeys | |||
) |
Definition at line 164 of file fcurve_test.cc.
References FCurve::bezt, BEZT_KEYTYPE_KEYFRAME, BKE_fcurve_create(), BKE_fcurve_free(), EPSILON, evaluate_fcurve(), EXPECT_EQ(), FCurve::extend, FCURVE_EXTRAPOLATE_CONSTANT, FCURVE_EXTRAPOLATE_LINEAR, insert_vert_fcurve(), INSERTKEY_NO_USERPREF, and BezTriple::vec.
blender::bke::tests::TEST | ( | evaluate_fcurve | , |
ExtrapolationLinearKeys | |||
) |
Definition at line 135 of file fcurve_test.cc.
References FCurve::bezt, BEZT_IPO_LIN, BEZT_KEYTYPE_KEYFRAME, BKE_fcurve_create(), BKE_fcurve_free(), EPSILON, evaluate_fcurve(), EXPECT_EQ(), FCurve::extend, FCURVE_EXTRAPOLATE_CONSTANT, FCURVE_EXTRAPOLATE_LINEAR, insert_vert_fcurve(), INSERTKEY_NO_USERPREF, and BezTriple::ipo.
blender::bke::tests::TEST | ( | evaluate_fcurve | , |
InterpolationBezier | |||
) |
Definition at line 82 of file fcurve_test.cc.
References FCurve::bezt, BEZT_IPO_BEZ, BEZT_KEYTYPE_KEYFRAME, BKE_fcurve_create(), BKE_fcurve_free(), EPSILON, evaluate_fcurve(), EXPECT_EQ(), insert_vert_fcurve(), INSERTKEY_NO_USERPREF, BezTriple::ipo, and BezTriple::vec.
blender::bke::tests::TEST | ( | evaluate_fcurve | , |
InterpolationBounce | |||
) |
Definition at line 115 of file fcurve_test.cc.
References FCurve::bezt, BEZT_IPO_BOUNCE, BEZT_IPO_EASE_AUTO, BEZT_IPO_EASE_IN, BEZT_KEYTYPE_KEYFRAME, BKE_fcurve_create(), BKE_fcurve_free(), BezTriple::easing, EPSILON, evaluate_fcurve(), EXPECT_EQ(), insert_vert_fcurve(), INSERTKEY_NO_USERPREF, and BezTriple::ipo.
blender::bke::tests::TEST | ( | evaluate_fcurve | , |
InterpolationConstant | |||
) |
Definition at line 49 of file fcurve_test.cc.
References FCurve::bezt, BEZT_IPO_CONST, BEZT_KEYTYPE_KEYFRAME, BKE_fcurve_create(), BKE_fcurve_free(), EPSILON, evaluate_fcurve(), EXPECT_EQ(), insert_vert_fcurve(), INSERTKEY_NO_USERPREF, and BezTriple::ipo.
blender::bke::tests::TEST | ( | evaluate_fcurve | , |
InterpolationLinear | |||
) |
Definition at line 65 of file fcurve_test.cc.
References FCurve::bezt, BEZT_IPO_LIN, BEZT_KEYTYPE_KEYFRAME, BKE_fcurve_create(), BKE_fcurve_free(), EPSILON, evaluate_fcurve(), EXPECT_EQ(), insert_vert_fcurve(), INSERTKEY_NO_USERPREF, and BezTriple::ipo.
blender::bke::tests::TEST | ( | evaluate_fcurve | , |
OnKeys | |||
) |
Definition at line 26 of file fcurve_test.cc.
References BEZT_KEYTYPE_KEYFRAME, BKE_fcurve_create(), BKE_fcurve_free(), EPSILON, evaluate_fcurve(), insert_vert_fcurve(), and INSERTKEY_NO_USERPREF.
blender::bke::tests::TEST | ( | fcurve_active_keyframe | , |
ActiveKeyframe | |||
) |
Definition at line 263 of file fcurve_test.cc.
References FCurve::active_keyframe_index, FCurve::bezt, BEZT_KEYTYPE_KEYFRAME, BKE_fcurve_active_keyframe_index(), BKE_fcurve_active_keyframe_set(), BKE_fcurve_create(), BKE_fcurve_free(), EXPECT_EQ(), BezTriple::f1, BezTriple::f2, BezTriple::f3, FCURVE_ACTIVE_KEYFRAME_NONE, insert_vert_fcurve(), INSERTKEY_NO_USERPREF, SELECT, and FCurve::totvert.
blender::bke::tests::TEST | ( | fcurve_subdivide | , |
BKE_fcurve_bezt_subdivide_handles | |||
) |
Definition at line 200 of file fcurve_test.cc.
References FCurve::bezt, BEZT_IPO_BEZ, BEZT_KEYTYPE_KEYFRAME, BKE_fcurve_bezt_subdivide_handles(), BKE_fcurve_create(), BKE_fcurve_free(), EXPECT_EQ(), BezTriple::h1, BezTriple::h2, HD_AUTO_ANIM, HD_FREE, insert_vert_fcurve(), INSERTKEY_NO_USERPREF, BezTriple::ipo, BezTriple::vec, x, and y.
blender::bke::tests::TEST | ( | lattice_deform_performance | , |
performance_no_dvert_1 | |||
) |
Definition at line 69 of file lattice_deform_test.cc.
References test_lattice_deform(), test_lattice_deform_free(), and test_lattice_deform_init().
blender::bke::tests::TEST | ( | lattice_deform_performance | , |
performance_no_dvert_1000 | |||
) |
Definition at line 78 of file lattice_deform_test.cc.
References test_lattice_deform(), test_lattice_deform_free(), and test_lattice_deform_init().
blender::bke::tests::TEST | ( | lattice_deform_performance | , |
performance_no_dvert_10000 | |||
) |
Definition at line 87 of file lattice_deform_test.cc.
References test_lattice_deform(), test_lattice_deform_free(), and test_lattice_deform_init().
blender::bke::tests::TEST | ( | lattice_deform_performance | , |
performance_no_dvert_100000 | |||
) |
Definition at line 96 of file lattice_deform_test.cc.
References test_lattice_deform(), test_lattice_deform_free(), and test_lattice_deform_init().
blender::bke::tests::TEST | ( | lattice_deform_performance | , |
performance_no_dvert_1000000 | |||
) |
Definition at line 105 of file lattice_deform_test.cc.
References test_lattice_deform(), test_lattice_deform_free(), and test_lattice_deform_init().
blender::bke::tests::TEST | ( | lattice_deform_performance | , |
performance_no_dvert_10000000 | |||
) |
Definition at line 114 of file lattice_deform_test.cc.
References test_lattice_deform(), test_lattice_deform_free(), and test_lattice_deform_init().
blender::bke::tests::TEST | ( | lib_id_main_sort | , |
linked_ids_1 | |||
) |
Definition at line 78 of file lib_id_test.cc.
References BKE_id_new(), BKE_main_namemap_validate(), BLI_listbase_is_empty(), blender::bke::tests::LibIDMainSortTestContext::bmain, change_lib(), ListBase::first, ID_LI, ID_OB, id_sort_by_name(), ListBase::last, Main::libraries, Main::objects, and test_lib_id_main_sort_check_order().
blender::bke::tests::TEST | ( | lib_id_main_sort | , |
local_ids_1 | |||
) |
Definition at line 48 of file lib_id_test.cc.
References BKE_id_new(), BLI_listbase_is_empty(), blender::bke::tests::LibIDMainSortTestContext::bmain, ListBase::first, ID_OB, ListBase::last, Main::libraries, Main::objects, and test_lib_id_main_sort_check_order().
blender::bke::tests::TEST | ( | lib_id_main_unique_name | , |
create_equivalent_numeric_suffixes | |||
) |
Definition at line 235 of file lib_id_test.cc.
References BKE_id_new(), BKE_main_namemap_validate(), blender::bke::tests::LibIDMainSortTestContext::bmain, ID_OB, and ID::name.
blender::bke::tests::TEST | ( | lib_id_main_unique_name | , |
ids_sorted_by_default | |||
) |
Definition at line 174 of file lib_id_test.cc.
References BKE_id_new(), BKE_main_namemap_validate(), blender::bke::tests::LibIDMainSortTestContext::bmain, ID_OB, and test_lib_id_main_sort_check_order().
blender::bke::tests::TEST | ( | lib_id_main_unique_name | , |
ids_sorted_by_default_with_libraries | |||
) |
Definition at line 195 of file lib_id_test.cc.
References add_id_in_library(), BKE_id_new(), BKE_main_namemap_validate(), blender::bke::tests::LibIDMainSortTestContext::bmain, ID_LI, ID_OB, and test_lib_id_main_sort_check_order().
blender::bke::tests::TEST | ( | lib_id_main_unique_name | , |
linked_ids_1 | |||
) |
Definition at line 135 of file lib_id_test.cc.
References BKE_id_new(), BKE_main_namemap_validate(), BLI_listbase_is_empty(), blender::bke::tests::LibIDMainSortTestContext::bmain, change_lib(), change_name(), ListBase::first, ID_LI, ID_OB, id_sort_by_name(), ListBase::last, Main::libraries, ID::name, Main::objects, and test_lib_id_main_sort_check_order().
blender::bke::tests::TEST | ( | lib_id_main_unique_name | , |
local_ids_1 | |||
) |
Definition at line 112 of file lib_id_test.cc.
References BKE_id_new(), BKE_main_namemap_validate(), BLI_listbase_is_empty(), blender::bke::tests::LibIDMainSortTestContext::bmain, change_name(), ListBase::first, ID_OB, ListBase::last, Main::libraries, ID::name, Main::objects, and test_lib_id_main_sort_check_order().
blender::bke::tests::TEST | ( | lib_id_main_unique_name | , |
name_huge_number_suffix | |||
) |
Definition at line 443 of file lib_id_test.cc.
References BKE_id_new(), BKE_main_namemap_validate(), blender::bke::tests::LibIDMainSortTestContext::bmain, ID_OB, and ID::name.
blender::bke::tests::TEST | ( | lib_id_main_unique_name | , |
name_number_suffix_assignment | |||
) |
Definition at line 332 of file lib_id_test.cc.
References BKE_id_free(), BKE_id_new(), BKE_main_namemap_validate(), blender::bke::tests::LibIDMainSortTestContext::bmain, ID_OB, and ID::name.
blender::bke::tests::TEST | ( | lib_id_main_unique_name | , |
name_too_long_handling | |||
) |
Definition at line 217 of file lib_id_test.cc.
References BKE_id_new(), BKE_main_namemap_validate(), blender::bke::tests::LibIDMainSortTestContext::bmain, ID_OB, and ID::name.
blender::bke::tests::TEST | ( | lib_id_main_unique_name | , |
names_are_unique_per_id_type | |||
) |
Definition at line 428 of file lib_id_test.cc.
References BKE_id_new(), BKE_main_namemap_validate(), blender::bke::tests::LibIDMainSortTestContext::bmain, ID_CA, ID_OB, and ID::name.
blender::bke::tests::TEST | ( | lib_id_main_unique_name | , |
remove_after_dup_get_original_name | |||
) |
Definition at line 313 of file lib_id_test.cc.
References BKE_id_free(), BKE_id_new(), BKE_main_namemap_validate(), blender::bke::tests::LibIDMainSortTestContext::bmain, ID_OB, and ID::name.
blender::bke::tests::TEST | ( | lib_id_main_unique_name | , |
renames_with_duplicates | |||
) |
Definition at line 402 of file lib_id_test.cc.
References BKE_id_new(), BKE_libblock_rename(), BKE_main_namemap_validate(), blender::bke::tests::LibIDMainSortTestContext::bmain, ID_OB, and ID::name.
blender::bke::tests::TEST | ( | lib_id_main_unique_name | , |
zero_suffix_is_never_assigned | |||
) |
Definition at line 296 of file lib_id_test.cc.
References BKE_id_new(), BKE_main_namemap_validate(), blender::bke::tests::LibIDMainSortTestContext::bmain, ID_OB, and ID::name.
blender::bke::tests::TEST | ( | lib_remap | , |
delete_when_remap_to_self_not_allowed | |||
) |
Definition at line 198 of file lib_remap_test.cc.
References BKE_libblock_remap(), blender::compositor::context, and EXPECT_EQ().
blender::bke::tests::TEST | ( | lib_remap | , |
do_not_delete_when_cannot_unset | |||
) |
Definition at line 259 of file lib_remap_test.cc.
References BKE_libblock_remap(), blender::compositor::context, EXPECT_EQ(), and ID_REMAP_SKIP_NEVER_NULL_USAGE.
blender::bke::tests::TEST | ( | lib_remap | , |
embedded_ids_can_not_be_deleted | |||
) |
Definition at line 175 of file lib_remap_test.cc.
References BKE_libblock_remap(), blender::compositor::context, EXPECT_EQ(), and ID_REMAP_SKIP_NEVER_NULL_USAGE.
blender::bke::tests::TEST | ( | lib_remap | , |
embedded_ids_can_not_be_remapped | |||
) |
Definition at line 157 of file lib_remap_test.cc.
References BKE_id_free(), BKE_id_new_nomain(), BKE_libblock_remap(), blender::compositor::context, EXPECT_EQ(), and ID_NT.
blender::bke::tests::TEST | ( | lib_remap | , |
force_never_null_usage | |||
) |
Definition at line 272 of file lib_remap_test.cc.
References BKE_libblock_remap(), blender::compositor::context, EXPECT_EQ(), and ID_REMAP_FORCE_NEVER_NULL_USAGE.
blender::bke::tests::TEST | ( | lib_remap | , |
never_null_usage_flag_not_requested_on_delete | |||
) |
Definition at line 284 of file lib_remap_test.cc.
References BKE_libblock_remap(), blender::compositor::context, EXPECT_EQ(), ID_REMAP_SKIP_NEVER_NULL_USAGE, and LIB_TAG_DOIT.
blender::bke::tests::TEST | ( | lib_remap | , |
never_null_usage_flag_not_requested_on_remap | |||
) |
Definition at line 318 of file lib_remap_test.cc.
References BKE_libblock_remap(), BKE_mesh_add(), blender::compositor::context, EXPECT_EQ(), ID_REMAP_SKIP_NEVER_NULL_USAGE, and LIB_TAG_DOIT.
blender::bke::tests::TEST | ( | lib_remap | , |
never_null_usage_flag_requested_on_delete | |||
) |
Definition at line 300 of file lib_remap_test.cc.
References BKE_libblock_remap(), blender::compositor::context, EXPECT_EQ(), ID_REMAP_FLAG_NEVER_NULL_USAGE, ID_REMAP_SKIP_NEVER_NULL_USAGE, and LIB_TAG_DOIT.
blender::bke::tests::TEST | ( | lib_remap | , |
never_null_usage_flag_requested_on_remap | |||
) |
Definition at line 334 of file lib_remap_test.cc.
References BKE_libblock_remap(), BKE_mesh_add(), blender::compositor::context, EXPECT_EQ(), ID_REMAP_FLAG_NEVER_NULL_USAGE, ID_REMAP_SKIP_NEVER_NULL_USAGE, and LIB_TAG_DOIT.
blender::bke::tests::TEST | ( | lib_remap | , |
users_are_decreased_when_not_skipping_never_null | |||
) |
Definition at line 218 of file lib_remap_test.cc.
References BKE_libblock_remap(), blender::compositor::context, EXPECT_EQ(), and LIB_TAG_DOIT.
blender::bke::tests::TEST | ( | lib_remap | , |
users_are_same_when_skipping_never_null | |||
) |
Definition at line 236 of file lib_remap_test.cc.
References BKE_libblock_remap(), blender::compositor::context, EXPECT_EQ(), ID_REMAP_SKIP_NEVER_NULL_USAGE, and LIB_TAG_DOIT.
blender::bke::tests::TEST | ( | mat3_vec_to_roll | , |
Rotationmatrix | |||
) |
Definition at line 77 of file armature_test.cc.
References eul_to_mat3(), FLOAT_EPSILON, and mat3_vec_to_roll().
blender::bke::tests::TEST | ( | mat3_vec_to_roll | , |
UnitMatrix | |||
) |
Definition at line 47 of file armature_test.cc.
References FLOAT_EPSILON, mat3_vec_to_roll(), normalize_v3(), and unit_m3().
blender::bke::tests::TEST | ( | udim | , |
image_ensure_tile_token | |||
) |
Definition at line 15 of file source/blender/blenkernel/intern/image_test.cc.
References BKE_image_ensure_tile_token(), BLI_strncpy(), FILE_MAX, and result.
blender::bke::tests::TEST | ( | udim | , |
image_get_tile_number_from_filepath | |||
) |
Definition at line 107 of file source/blender/blenkernel/intern/image_test.cc.
References BKE_image_get_tile_number_from_filepath(), BKE_image_get_tile_strformat(), EXPECT_EQ(), MEM_freeN, UDIM_TILE_FORMAT_NONE, UDIM_TILE_FORMAT_UDIM, and UDIM_TILE_FORMAT_UVTILE.
blender::bke::tests::TEST | ( | udim | , |
image_get_tile_strformat | |||
) |
Definition at line 75 of file source/blender/blenkernel/intern/image_test.cc.
References BKE_image_get_tile_strformat(), EXPECT_EQ(), MEM_freeN, UDIM_TILE_FORMAT_NONE, UDIM_TILE_FORMAT_UDIM, and UDIM_TILE_FORMAT_UVTILE.
blender::bke::tests::TEST | ( | udim | , |
image_set_filepath_from_tile_number | |||
) |
Definition at line 162 of file source/blender/blenkernel/intern/image_test.cc.
References BKE_image_get_tile_strformat(), BKE_image_set_filepath_from_tile_number(), BLI_strncpy(), EXPECT_EQ(), FILE_MAX, MEM_freeN, UDIM_TILE_FORMAT_NONE, UDIM_TILE_FORMAT_UDIM, and UDIM_TILE_FORMAT_UVTILE.
blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
Flipped1 | |||
) |
Definition at line 181 of file armature_test.cc.
References input, and test_vec_roll_to_mat3_normalized().
blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
Flipped2 | |||
) |
Definition at line 190 of file armature_test.cc.
References e, input, and test_vec_roll_to_mat3_normalized().
blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
Flipped3 | |||
) |
Definition at line 201 of file armature_test.cc.
References input, and test_vec_roll_to_mat3_normalized().
blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
FlippedBoundary1 | |||
) |
Definition at line 170 of file armature_test.cc.
References find_flip_boundary().
blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
FlippedBoundary2 | |||
) |
Definition at line 175 of file armature_test.cc.
References find_flip_boundary().
blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
Generic1 | |||
) |
Definition at line 245 of file armature_test.cc.
References input, and test_vec_roll_to_mat3_normalized().
blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
Generic2 | |||
) |
Definition at line 254 of file armature_test.cc.
References input, and test_vec_roll_to_mat3_normalized().
blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
Generic3 | |||
) |
Definition at line 263 of file armature_test.cc.
References input, and test_vec_roll_to_mat3_normalized().
blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
Generic4 | |||
) |
Definition at line 272 of file armature_test.cc.
References input, and test_vec_roll_to_mat3_normalized().
blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
Roll1 | |||
) |
Definition at line 282 of file armature_test.cc.
References input, M_PI_2, and test_vec_roll_to_mat3_normalized().
blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
Rotate90_X_CCW | |||
) |
Definition at line 236 of file armature_test.cc.
References input, and test_vec_roll_to_mat3_normalized().
blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
Rotate90_X_CW | |||
) |
Definition at line 228 of file armature_test.cc.
References input, and test_vec_roll_to_mat3_normalized().
blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
Rotate90_Z_CCW | |||
) |
Definition at line 220 of file armature_test.cc.
References input, and test_vec_roll_to_mat3_normalized().
blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
Rotate90_Z_CW | |||
) |
Definition at line 212 of file armature_test.cc.
References input, and test_vec_roll_to_mat3_normalized().
blender::bke::tests::TEST | ( | view_layer | , |
aov_conflict | |||
) |
Definition at line 121 of file layer_test.cc.
References ViewLayer::active_aov, AOV_CONFLICT, BKE_appdir_exit(), BKE_appdir_init(), BKE_view_layer_add_aov(), BKE_view_layer_has_valid_aov(), BKE_view_layer_verify_aov(), CLG_exit(), CLG_init(), RenderData::engine, EXPECT_EQ(), ListBase::first, ViewLayerAOV::flag, IDTypeInfo::free_data, GHOST_DisposeSystemPaths(), Scene::id, IDType_ID_SCE, IMB_exit(), IMB_init(), IDTypeInfo::init_data, Scene::r, RE_engine_create(), RE_engine_free(), RE_engines_exit(), RE_engines_find(), RE_engines_init(), scene, test_render_pass_conflict(), and Scene::view_layers.
blender::bke::tests::TEST | ( | view_layer | , |
aov_unique_names | |||
) |
Definition at line 26 of file layer_test.cc.
References ViewLayer::active_aov, AOV_CONFLICT, BKE_appdir_exit(), BKE_appdir_init(), BKE_idtype_init(), BKE_view_layer_add_aov(), BKE_view_layer_has_valid_aov(), BKE_view_layer_remove_aov(), BKE_view_layer_verify_aov(), BLI_strncpy(), CLG_exit(), CLG_init(), RenderData::engine, EXPECT_EQ(), ListBase::first, ViewLayerAOV::flag, IDTypeInfo::free_data, GHOST_DisposeSystemPaths(), Scene::id, IDType_ID_SCE, IMB_exit(), IMB_init(), IDTypeInfo::init_data, MAX_NAME, ViewLayerAOV::name, Scene::r, RE_engine_create(), RE_engine_free(), RE_engines_exit(), RE_engines_find(), RE_engines_init(), scene, STREQ, and Scene::view_layers.
blender::bke::tests::TEST_F | ( | AssetCatalogTest | , |
backups | |||
) |
Definition at line 1131 of file asset_catalog_test.cc.
References BLI_copy(), BLI_is_file(), blender::bke::tests::TestableAssetCatalogService::delete_catalog_by_id_soft(), blender::bke::AssetCatalogService::find_catalog(), blender::bke::AssetCatalogService::load_from_disk(), UUID_POSES_ELLIE, UUID_POSES_ELLIE_TRAILING_SLASH, UUID_POSES_ELLIE_WHITESPACE, UUID_POSES_RUZENA, UUID_POSES_RUZENA_FACE, UUID_POSES_RUZENA_HAND, and blender::bke::AssetCatalogService::write_to_disk().
blender::bke::tests::TEST_F | ( | AssetCatalogTest | , |
cat_collection_deep_copy__empty | |||
) |
Definition at line 1350 of file asset_catalog_test.cc.
References copy(), and blender::bke::AssetCatalogCollection::deep_copy().
blender::bke::tests::TEST_F | ( | AssetCatalogTest | , |
cat_collection_deep_copy__nonempty_cdf | |||
) |
Definition at line 1424 of file asset_catalog_test.cc.
References blender::bke::AssetCatalogDefinitionFile::add_new(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_new(), blender::bke::tests::TestableAssetCatalogCollection::allocate_catalog_definition_file(), copy(), blender::bke::AssetCatalogCollection::deep_copy(), EXPECT_EQ(), blender::bke::AssetCatalogDefinitionFile::file_path, blender::bke::tests::TestableAssetCatalogCollection::get_catalog_definition_file(), blender::bke::tests::TestableAssetCatalogCollection::get_catalogs(), blender::bke::tests::TestableAssetCatalogDefinitionFile::get_catalogs(), blender::bke::tests::TestableAssetCatalogCollection::get_deleted_catalogs(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup(), UUID_POSES_RUZENA, UUID_POSES_RUZENA_FACE, and UUID_POSES_RUZENA_HAND.
blender::bke::tests::TEST_F | ( | AssetCatalogTest | , |
cat_collection_deep_copy__nonempty_nocdf | |||
) |
Definition at line 1378 of file asset_catalog_test.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_new(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), copy(), blender::bke::AssetCatalogCollection::deep_copy(), EXPECT_EQ(), blender::bke::tests::TestableAssetCatalogCollection::get_catalogs(), blender::bke::tests::TestableAssetCatalogCollection::get_deleted_catalogs(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size(), UUID_POSES_RUZENA, UUID_POSES_RUZENA_FACE, and UUID_POSES_RUZENA_HAND.
blender::bke::tests::TEST_F | ( | AssetCatalogTest | , |
create_catalog_after_loading_file | |||
) |
Definition at line 736 of file asset_catalog_test.cc.
References BLI_copy(), BLI_is_dir(), BLI_is_file(), blender::bke::AssetCatalog::catalog_id, blender::bke::AssetCatalogService::create_catalog(), blender::bke::AssetCatalogService::DEFAULT_CATALOG_FILENAME, EXPECT_EQ(), blender::bke::AssetCatalogDefinitionFile::file_path, blender::bke::AssetCatalogService::find_catalog(), blender::bke::tests::TestableAssetCatalogService::get_catalog_definition_file(), blender::bke::AssetCatalogService::load_from_disk(), UUID_POSES_ELLIE, and blender::bke::AssetCatalogService::write_to_disk().
blender::bke::tests::TEST_F | ( | AssetCatalogTest | , |
create_catalog_filter | |||
) |
Definition at line 1294 of file asset_catalog_test.cc.
References BLI_uuid_nil(), blender::bke::AssetCatalog::catalog_id, blender::bke::AssetCatalogService::create_catalog(), blender::bke::AssetCatalogService::create_catalog_filter(), filter(), blender::bke::AssetCatalogService::load_from_disk(), UUID_ID_WITHOUT_PATH, UUID_POSES_ELLIE, UUID_POSES_ELLIE_TRAILING_SLASH, UUID_POSES_ELLIE_WHITESPACE, UUID_POSES_RUZENA, UUID_POSES_RUZENA_FACE, UUID_POSES_RUZENA_HAND, and UUID_WITHOUT_SIMPLENAME.
blender::bke::tests::TEST_F | ( | AssetCatalogTest | , |
create_catalog_filter_for_unassigned_assets | |||
) |
Definition at line 1341 of file asset_catalog_test.cc.
References BLI_uuid_nil(), blender::bke::AssetCatalogService::create_catalog_filter(), filter(), and UUID_POSES_ELLIE.
blender::bke::tests::TEST_F | ( | AssetCatalogTest | , |
create_catalog_filter_for_unknown_uuid | |||
) |
Definition at line 1329 of file asset_catalog_test.cc.
References BLI_uuid_generate_random(), BLI_uuid_nil(), blender::bke::AssetCatalogService::create_catalog_filter(), filter(), and UUID_POSES_ELLIE.
blender::bke::tests::TEST_F | ( | AssetCatalogTest | , |
create_catalog_path_cleanup | |||
) |
Definition at line 779 of file asset_catalog_test.cc.
References BLI_uuid_is_nil(), blender::bke::AssetCatalog::catalog_id, blender::bke::AssetCatalogService::create_catalog(), EXPECT_EQ(), blender::bke::AssetCatalog::path, blender::bke::AssetCatalog::simple_name, and blender::bke::AssetCatalogPath::str().
blender::bke::tests::TEST_F | ( | AssetCatalogTest | , |
create_catalog_simple_name | |||
) |
Definition at line 789 of file asset_catalog_test.cc.
References BLI_uuid_is_nil(), blender::bke::AssetCatalog::catalog_id, blender::bke::AssetCatalogService::create_catalog(), EXPECT_EQ(), blender::bke::AssetCatalog::path, blender::bke::AssetCatalog::simple_name, and blender::bke::AssetCatalogPath::str().
blender::bke::tests::TEST_F | ( | AssetCatalogTest | , |
create_first_catalog_from_scratch | |||
) |
Definition at line 701 of file asset_catalog_test.cc.
References BLI_exists(), BLI_is_dir(), BLI_is_file(), blender::bke::AssetCatalog::catalog_id, blender::bke::AssetCatalogService::create_catalog(), blender::bke::AssetCatalogService::DEFAULT_CATALOG_FILENAME, EXPECT_EQ(), blender::bke::AssetCatalogService::find_catalog(), blender::bke::AssetCatalogService::load_from_disk(), blender::bke::AssetCatalog::path, blender::bke::AssetCatalog::simple_name, blender::bke::AssetCatalogPath::str(), and blender::bke::AssetCatalogService::write_to_disk().
blender::bke::tests::TEST_F | ( | AssetCatalogTest | , |
create_missing_catalogs | |||
) |
blender::bke::tests::TEST_F | ( | AssetCatalogTest | , |
create_missing_catalogs_after_loading | |||
) |
Definition at line 1261 of file asset_catalog_test.cc.
References blender::bke::AssetCatalog::catalog_id, blender::bke::AssetCatalogDefinitionFile::contains(), blender::bke::tests::TestableAssetCatalogService::count_catalogs_with_path(), EXPECT_EQ(), blender::bke::AssetCatalogService::find_catalog_by_path(), blender::bke::AssetCatalog::flags, blender::bke::tests::TestableAssetCatalogService::get_catalog_definition_file(), blender::bke::AssetCatalog::Flags::has_unsaved_changes, and blender::bke::AssetCatalogService::load_from_disk().
blender::bke::tests::TEST_F | ( | AssetCatalogTest | , |
delete_catalog_leaf | |||
) |
Definition at line 801 of file asset_catalog_test.cc.
References EXPECT_EQ(), blender::bke::AssetCatalogService::find_catalog(), blender::bke::AssetCatalogService::get_catalog_tree(), blender::bke::AssetCatalogService::load_from_disk(), blender::bke::AssetCatalogService::prune_catalogs_by_id(), tree, and UUID_POSES_RUZENA_HAND.
blender::bke::tests::TEST_F | ( | AssetCatalogTest | , |
delete_catalog_parent_by_id | |||
) |
Definition at line 833 of file asset_catalog_test.cc.
References blender::bke::tests::TestableAssetCatalogService::delete_catalog_by_id_soft(), EXPECT_EQ(), blender::bke::AssetCatalogService::find_catalog(), blender::bke::AssetCatalogService::load_from_disk(), UUID_POSES_RUZENA, UUID_POSES_RUZENA_FACE, and UUID_POSES_RUZENA_HAND.
blender::bke::tests::TEST_F | ( | AssetCatalogTest | , |
delete_catalog_parent_by_path | |||
) |
Definition at line 847 of file asset_catalog_test.cc.
References blender::bke::AssetCatalog::catalog_id, blender::bke::AssetCatalogService::create_catalog(), EXPECT_EQ(), blender::bke::AssetCatalogService::find_catalog(), blender::bke::AssetCatalogService::get_catalog_tree(), blender::bke::AssetCatalogService::load_from_disk(), blender::bke::AssetCatalogService::prune_catalogs_by_path(), tree, UUID_POSES_RUZENA, UUID_POSES_RUZENA_FACE, and UUID_POSES_RUZENA_HAND.
blender::bke::tests::TEST_F | ( | AssetCatalogTest | , |
delete_catalog_write_to_disk | |||
) |
Definition at line 887 of file asset_catalog_test.cc.
References blender::bke::AssetCatalogService::DEFAULT_CATALOG_FILENAME, blender::bke::tests::TestableAssetCatalogService::delete_catalog_by_id_soft(), EXPECT_EQ(), blender::bke::AssetCatalogService::find_catalog(), blender::bke::tests::TestableAssetCatalogService::get_catalog_definition_file(), blender::bke::AssetCatalogService::load_from_disk(), UUID_POSES_ELLIE, UUID_POSES_ELLIE_TRAILING_SLASH, UUID_POSES_ELLIE_WHITESPACE, UUID_POSES_RUZENA, UUID_POSES_RUZENA_FACE, UUID_POSES_RUZENA_HAND, and blender::bke::AssetCatalogDefinitionFile::write_to_disk().
blender::bke::tests::TEST_F | ( | AssetCatalogTest | , |
find_catalog_by_path | |||
) |
Definition at line 499 of file asset_catalog_test.cc.
References blender::bke::AssetCatalog::catalog_id, blender::bke::AssetCatalogService::DEFAULT_CATALOG_FILENAME, EXPECT_EQ(), blender::bke::AssetCatalogService::find_catalog_by_path(), blender::bke::AssetCatalogService::load_from_disk(), UUID_POSES_ELLIE, UUID_POSES_ELLIE_TRAILING_SLASH, UUID_POSES_ELLIE_WHITESPACE, and UUID_POSES_RUZENA.
blender::bke::tests::TEST_F | ( | AssetCatalogTest | , |
foreach_in_tree | |||
) |
Definition at line 462 of file asset_catalog_test.cc.
References blender::bke::AssetCatalog::from_path(), blender::bke::AssetCatalogService::get_catalog_tree(), blender::bke::AssetCatalogService::load_from_disk(), and tree.
blender::bke::tests::TEST_F | ( | AssetCatalogTest | , |
insert_item_into_tree | |||
) |
Definition at line 356 of file asset_catalog_test.cc.
References blender::bke::AssetCatalog::from_path(), and tree.
blender::bke::tests::TEST_F | ( | AssetCatalogTest | , |
is_first_loaded_flag | |||
) |
Definition at line 332 of file asset_catalog_test.cc.
References blender::bke::AssetCatalog::catalog_id, blender::bke::AssetCatalogService::create_catalog(), EXPECT_EQ(), blender::bke::AssetCatalogService::find_catalog(), blender::bke::AssetCatalogService::find_catalog_by_path(), blender::bke::AssetCatalog::flags, blender::bke::AssetCatalog::Flags::is_first_loaded, blender::bke::AssetCatalogService::load_from_disk(), UUID_ANOTHER_RUZENA, UUID_POSES_ELLIE, UUID_POSES_ELLIE_WHITESPACE, and UUID_POSES_RUZENA.
blender::bke::tests::TEST_F | ( | AssetCatalogTest | , |
load_catalog_path_backslashes | |||
) |
Definition at line 313 of file asset_catalog_test.cc.
References EXPECT_EQ(), blender::bke::AssetCatalogService::find_catalog(), blender::bke::AssetCatalogService::find_catalog_by_path(), blender::bke::AssetCatalogService::load_from_disk(), blender::bke::AssetCatalog::path, blender::bke::AssetCatalog::simple_name, and UUID_POSES_ELLIE_BACKSLASHES.
blender::bke::tests::TEST_F | ( | AssetCatalogTest | , |
load_single_file | |||
) |
Definition at line 272 of file asset_catalog_test.cc.
References BLI_uuid_generate_random(), blender::bke::AssetCatalog::catalog_id, EXPECT_EQ(), blender::bke::AssetCatalogService::find_catalog(), blender::bke::AssetCatalogService::load_from_disk(), blender::bke::AssetCatalog::path, blender::bke::AssetCatalog::simple_name, blender::bke::AssetCatalogPath::str(), UUID_ANOTHER_RUZENA, UUID_ID_WITHOUT_PATH, UUID_POSES_ELLIE, UUID_POSES_ELLIE_WHITESPACE, and UUID_POSES_RUZENA.
blender::bke::tests::TEST_F | ( | AssetCatalogTest | , |
load_single_file_into_tree | |||
) |
Definition at line 435 of file asset_catalog_test.cc.
References blender::bke::AssetCatalogService::get_catalog_tree(), blender::bke::AssetCatalogService::load_from_disk(), and tree.
blender::bke::tests::TEST_F | ( | AssetCatalogTest | , |
merge_catalog_files | |||
) |
Definition at line 1019 of file asset_catalog_test.cc.
References BLI_copy(), EXPECT_EQ(), blender::bke::AssetCatalogService::find_catalog(), blender::bke::AssetCatalogService::load_from_disk(), blender::bke::AssetCatalog::path, blender::bke::AssetCatalogPath::str(), UUID_AGENT_47, UUID_POSES_ELLIE, UUID_POSES_ELLIE_TRAILING_SLASH, UUID_POSES_ELLIE_WHITESPACE, UUID_POSES_RUZENA, UUID_POSES_RUZENA_FACE, UUID_POSES_RUZENA_HAND, and blender::bke::AssetCatalogService::write_to_disk().
blender::bke::tests::TEST_F | ( | AssetCatalogTest | , |
no_writing_empty_files | |||
) |
Definition at line 574 of file asset_catalog_test.cc.
References BLI_exists(), blender::bke::AssetCatalogService::DEFAULT_CATALOG_FILENAME, and blender::bke::AssetCatalogService::write_to_disk().
blender::bke::tests::TEST_F | ( | AssetCatalogTest | , |
on_blendfile_save__from_memory_into_empty_directory | |||
) |
Definition at line 623 of file asset_catalog_test.cc.
References BLI_exists(), blender::bke::AssetCatalog::catalog_id, blender::bke::AssetCatalogDefinitionFile::contains(), blender::bke::AssetCatalogService::create_catalog(), blender::bke::AssetCatalogService::DEFAULT_CATALOG_FILENAME, blender::bke::AssetCatalogService::find_catalog(), blender::bke::tests::TestableAssetCatalogService::get_catalog_definition_file(), blender::bke::AssetCatalogService::load_from_disk(), and blender::bke::AssetCatalogService::write_to_disk().
blender::bke::tests::TEST_F | ( | AssetCatalogTest | , |
on_blendfile_save__from_memory_into_existing_asset_lib | |||
) |
Definition at line 696 of file asset_catalog_test.cc.
blender::bke::tests::TEST_F | ( | AssetCatalogTest | , |
on_blendfile_save__from_memory_into_existing_asset_lib_without_top_level_cdf | |||
) |
Definition at line 687 of file asset_catalog_test.cc.
blender::bke::tests::TEST_F | ( | AssetCatalogTest | , |
on_blendfile_save__from_memory_into_existing_cdf_and_merge | |||
) |
Definition at line 650 of file asset_catalog_test.cc.
References BLI_copy(), BLI_exists(), BLI_path_slash_native(), blender::bke::AssetCatalog::catalog_id, blender::bke::AssetCatalogService::create_catalog(), blender::bke::AssetCatalogService::DEFAULT_CATALOG_FILENAME, EXPECT_EQ(), blender::bke::AssetCatalogDefinitionFile::file_path, blender::bke::AssetCatalogService::find_catalog(), blender::bke::tests::TestableAssetCatalogService::get_catalog_definition_file(), blender::bke::AssetCatalogService::load_from_disk(), UUID_POSES_ELLIE, and blender::bke::AssetCatalogService::write_to_disk().
blender::bke::tests::TEST_F | ( | AssetCatalogTest | , |
on_blendfile_save__with_existing_cdf | |||
) |
Definition at line 586 of file asset_catalog_test.cc.
References BLI_copy(), BLI_dir_create_recursive(), BLI_exists(), blender::bke::AssetCatalog::catalog_id, blender::bke::AssetCatalogService::create_catalog(), blender::bke::AssetCatalogService::DEFAULT_CATALOG_FILENAME, EXPECT_EQ(), blender::bke::AssetCatalogDefinitionFile::file_path, blender::bke::AssetCatalogService::find_catalog(), blender::bke::tests::TestableAssetCatalogService::get_catalog_definition_file(), blender::bke::AssetCatalogService::load_from_disk(), UUID_POSES_ELLIE, and blender::bke::AssetCatalogService::write_to_disk().
blender::bke::tests::TEST_F | ( | AssetCatalogTest | , |
order_by_path | |||
) |
Definition at line 1160 of file asset_catalog_test.cc.
References BLI_uuid_generate_random(), blender::bke::AssetCatalog::catalog_id, EXPECT_EQ(), and blender::bke::AssetCatalog::path.
blender::bke::tests::TEST_F | ( | AssetCatalogTest | , |
order_by_path_and_first_seen | |||
) |
blender::bke::tests::TEST_F | ( | AssetCatalogTest | , |
read_write_unicode_filepath | |||
) |
Definition at line 550 of file asset_catalog_test.cc.
References blender::bke::AssetCatalog::catalog_id, blender::bke::AssetCatalogService::DEFAULT_CATALOG_FILENAME, EXPECT_EQ(), blender::bke::AssetCatalogService::find_catalog(), blender::bke::tests::TestableAssetCatalogService::get_catalog_definition_file(), blender::bke::AssetCatalogService::load_from_disk(), blender::bke::AssetCatalog::path, blender::bke::AssetCatalog::simple_name, and blender::bke::AssetCatalogDefinitionFile::write_to_disk().
blender::bke::tests::TEST_F | ( | AssetCatalogTest | , |
refresh_catalogs_with_modification | |||
) |
Definition at line 1059 of file asset_catalog_test.cc.
References BLI_copy(), EXPECT_EQ(), blender::bke::AssetCatalogService::find_catalog(), blender::bke::AssetCatalog::flags, blender::bke::tests::TestableAssetCatalogService::get_deleted_catalogs(), blender::bke::AssetCatalog::Flags::has_unsaved_changes, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::is_empty(), blender::bke::AssetCatalogService::load_from_disk(), blender::bke::AssetCatalog::path, blender::bke::AssetCatalogService::prune_catalogs_by_id(), blender::bke::AssetCatalogService::reload_catalogs(), blender::bke::AssetCatalog::simple_name, blender::bke::AssetCatalogService::tag_has_unsaved_changes(), blender::bke::AssetCatalogService::update_catalog_path(), UUID_AGENT_47, UUID_POSES_ELLIE, UUID_POSES_ELLIE_BACKSLASHES, UUID_POSES_ELLIE_TRAILING_SLASH, UUID_POSES_ELLIE_WHITESPACE, UUID_POSES_RUZENA, UUID_POSES_RUZENA_FACE, UUID_POSES_RUZENA_HAND, UUID_WITHOUT_SIMPLENAME, and blender::bke::AssetCatalogService::write_to_disk().
blender::bke::tests::TEST_F | ( | AssetCatalogTest | , |
undo_redo_more_complex | |||
) |
Definition at line 1505 of file asset_catalog_test.cc.
References EXPECT_EQ(), blender::bke::AssetCatalogService::find_catalog(), blender::bke::AssetCatalogService::is_redo_possbile(), blender::bke::AssetCatalogService::is_undo_possbile(), blender::bke::AssetCatalogService::load_from_disk(), blender::bke::AssetCatalog::path, blender::bke::AssetCatalog::simple_name, blender::bke::AssetCatalogService::undo(), blender::bke::AssetCatalogService::undo_push(), UUID_POSES_ELLIE, and UUID_POSES_ELLIE_WHITESPACE.
blender::bke::tests::TEST_F | ( | AssetCatalogTest | , |
undo_redo_one_step | |||
) |
Definition at line 1462 of file asset_catalog_test.cc.
References blender::bke::AssetCatalog::catalog_id, blender::bke::AssetCatalogDefinitionFile::contains(), blender::bke::AssetCatalogService::create_catalog(), EXPECT_EQ(), blender::bke::AssetCatalogService::find_catalog_by_path(), blender::bke::tests::TestableAssetCatalogService::get_catalog_definition_file(), blender::bke::AssetCatalogService::is_redo_possbile(), blender::bke::AssetCatalogService::is_undo_possbile(), blender::bke::AssetCatalogService::load_from_disk(), blender::bke::AssetCatalogService::redo(), blender::bke::AssetCatalogService::undo(), and blender::bke::AssetCatalogService::undo_push().
blender::bke::tests::TEST_F | ( | AssetCatalogTest | , |
update_catalog_path | |||
) |
Definition at line 911 of file asset_catalog_test.cc.
References blender::bke::AssetCatalog::catalog_id, blender::bke::AssetCatalogService::DEFAULT_CATALOG_FILENAME, EXPECT_EQ(), blender::bke::AssetCatalogService::find_catalog(), blender::bke::AssetCatalogService::find_catalog_by_path(), blender::bke::AssetCatalogService::load_from_disk(), blender::bke::AssetCatalog::path, blender::bke::AssetCatalogPath::str(), blender::bke::AssetCatalogService::update_catalog_path(), UUID_POSES_RUZENA, UUID_POSES_RUZENA_FACE, and UUID_POSES_RUZENA_HAND.
blender::bke::tests::TEST_F | ( | AssetCatalogTest | , |
update_catalog_path_add_slashes | |||
) |
Definition at line 978 of file asset_catalog_test.cc.
References blender::bke::AssetCatalog::catalog_id, blender::bke::AssetCatalogService::DEFAULT_CATALOG_FILENAME, EXPECT_EQ(), blender::bke::AssetCatalogService::find_catalog(), blender::bke::AssetCatalogService::find_catalog_by_path(), blender::bke::AssetCatalog::flags, blender::bke::AssetCatalog::Flags::has_unsaved_changes, blender::bke::AssetCatalogService::load_from_disk(), blender::bke::AssetCatalog::path, blender::bke::AssetCatalog::simple_name, blender::bke::AssetCatalogPath::str(), blender::bke::AssetCatalogService::update_catalog_path(), UUID_POSES_RUZENA, UUID_POSES_RUZENA_FACE, and UUID_POSES_RUZENA_HAND.
blender::bke::tests::TEST_F | ( | AssetCatalogTest | , |
update_catalog_path_longer_than_simplename | |||
) |
Definition at line 956 of file asset_catalog_test.cc.
References AssetMetaData::catalog_simple_name, blender::bke::AssetCatalogService::DEFAULT_CATALOG_FILENAME, EXPECT_EQ(), blender::bke::AssetCatalogService::find_catalog(), blender::bke::AssetCatalogService::load_from_disk(), blender::bke::AssetCatalog::simple_name, blender::bke::AssetCatalogService::update_catalog_path(), UUID_POSES_RUZENA, and UUID_POSES_RUZENA_FACE.
blender::bke::tests::TEST_F | ( | AssetCatalogTest | , |
update_catalog_path_simple_name | |||
) |
Definition at line 940 of file asset_catalog_test.cc.
References blender::bke::AssetCatalogService::DEFAULT_CATALOG_FILENAME, EXPECT_EQ(), blender::bke::AssetCatalogService::find_catalog(), blender::bke::AssetCatalogService::load_from_disk(), blender::bke::AssetCatalog::simple_name, blender::bke::AssetCatalogService::update_catalog_path(), UUID_POSES_RUZENA, and UUID_POSES_RUZENA_FACE.
blender::bke::tests::TEST_F | ( | AssetCatalogTest | , |
write_single_file | |||
) |
Definition at line 522 of file asset_catalog_test.cc.
References blender::bke::AssetCatalogService::DEFAULT_CATALOG_FILENAME, EXPECT_EQ(), blender::bke::AssetCatalogService::find_catalog(), blender::bke::tests::TestableAssetCatalogService::get_catalog_definition_file(), blender::bke::AssetCatalogService::load_from_disk(), UUID_ID_WITHOUT_PATH, UUID_POSES_ELLIE, UUID_POSES_ELLIE_TRAILING_SLASH, UUID_POSES_ELLIE_WHITESPACE, UUID_POSES_RUZENA, UUID_POSES_RUZENA_FACE, UUID_POSES_RUZENA_HAND, and blender::bke::AssetCatalogDefinitionFile::write_to_disk().
blender::bke::tests::TEST_F | ( | AssetLibraryServiceTest | , |
catalogs_loaded | |||
) |
Definition at line 129 of file asset_library_service_test.cc.
References blender::bke::AssetCatalogService::find_catalog(), blender::bke::AssetLibraryService::get(), blender::bke::AssetLibraryService::get_asset_library_on_disk(), lib, and UUID_POSES_ELLIE.
blender::bke::tests::TEST_F | ( | AssetLibraryServiceTest | , |
get_destroy | |||
) |
Definition at line 74 of file asset_library_service_test.cc.
References blender::bke::AssetLibraryService::destroy(), EXPECT_EQ(), and blender::bke::AssetLibraryService::get().
blender::bke::tests::TEST_F | ( | AssetLibraryServiceTest | , |
has_any_unsaved_catalogs | |||
) |
Definition at line 140 of file asset_library_service_test.cc.
References blender::bke::AssetCatalogService::find_catalog(), blender::bke::AssetCatalog::flags, blender::bke::AssetLibraryService::get(), blender::bke::AssetLibraryService::get_asset_library_on_disk(), blender::bke::AssetLibraryService::has_any_unsaved_catalogs(), blender::bke::AssetCatalog::Flags::has_unsaved_changes, lib, blender::bke::AssetCatalogService::prune_catalogs_by_id(), blender::bke::AssetCatalogService::tag_has_unsaved_changes(), UUID_POSES_ELLIE, and UUID_POSES_RUZENA.
blender::bke::tests::TEST_F | ( | AssetLibraryServiceTest | , |
has_any_unsaved_catalogs_after_write | |||
) |
Definition at line 168 of file asset_library_service_test.cc.
References BLI_copy(), BLI_path_slash_native(), blender::bke::AssetCatalogService::DEFAULT_CATALOG_FILENAME, blender::bke::AssetCatalogService::find_catalog(), blender::bke::AssetCatalog::flags, blender::bke::AssetLibraryService::get(), blender::bke::AssetLibraryService::get_asset_library_on_disk(), blender::bke::AssetLibraryService::has_any_unsaved_catalogs(), blender::bke::AssetCatalog::Flags::has_unsaved_changes, lib, blender::bke::AssetCatalogService::tag_has_unsaved_changes(), UUID_POSES_ELLIE, and blender::bke::AssetCatalogService::write_to_disk().
blender::bke::tests::TEST_F | ( | AssetLibraryServiceTest | , |
library_path_trailing_slashes | |||
) |
Definition at line 105 of file asset_library_service_test.cc.
References ALTSEP, BLI_path_slash_ensure(), ELEM, EXPECT_EQ(), blender::bke::AssetLibraryService::get(), blender::bke::AssetLibraryService::get_asset_library_on_disk(), PATH_MAX, SEP, and STRNCPY.
blender::bke::tests::TEST_F | ( | AssetLibraryServiceTest | , |
library_pointers | |||
) |
Definition at line 89 of file asset_library_service_test.cc.
References EXPECT_EQ(), blender::bke::AssetLibraryService::get(), blender::bke::AssetLibraryService::get_asset_library_current_file(), blender::bke::AssetLibraryService::get_asset_library_on_disk(), and lib.
blender::bke::tests::TEST_F | ( | AssetLibraryTest | , |
bke_asset_library_load | |||
) |
Definition at line 36 of file asset_library_test.cc.
References BKE_asset_library_load(), blender::bke::AssetLibrary::catalog_service, EXPECT_EQ(), blender::bke::AssetCatalogService::find_catalog(), blender::bke::AssetCatalog::path, and blender::bke::AssetCatalogPath::str().
blender::bke::tests::TEST_F | ( | AssetLibraryTest | , |
load_nonexistent_directory | |||
) |
Definition at line 63 of file asset_library_test.cc.
References BKE_asset_library_load(), blender::bke::AssetLibrary::catalog_service, and blender::bke::AssetCatalogService::is_empty().
blender::bke::tests::TEST_F | ( | BKE_armature_find_selected_bones_test | , |
all_bones_selected | |||
) |
Definition at line 408 of file armature_test.cc.
References blender::bke::BKE_armature_find_selected_bones(), BONE_SELECTED, callback, EXPECT_EQ(), and result.
blender::bke::tests::TEST_F | ( | BKE_armature_find_selected_bones_test | , |
no_bones_selected | |||
) |
Definition at line 394 of file armature_test.cc.
References blender::bke::BKE_armature_find_selected_bones(), callback, and result.
blender::bke::tests::TEST_F | ( | BKE_armature_find_selected_bones_test | , |
some_bones_selected | |||
) |
Definition at line 375 of file armature_test.cc.
References blender::bke::BKE_armature_find_selected_bones(), BONE_SELECTED, callback, EXPECT_EQ(), and result.
blender::bke::tests::TEST_F | ( | BPathTest | , |
convert_to_absolute | |||
) |
Definition at line 124 of file bpath_test.cc.
References BASE_DIR, BKE_bpath_absolute_convert(), BLI_strdup(), BLI_strncpy(), MovieClip::filepath, Text::filepath, MOVIECLIP_PATH_ABSOLUTE, TEXT_PATH_RELATIVE, and TEXT_PATH_RELATIVE_MADE_ABSOLUTE.
blender::bke::tests::TEST_F | ( | BPathTest | , |
convert_to_relative | |||
) |
Definition at line 108 of file bpath_test.cc.
References BASE_DIR, BKE_bpath_relative_convert(), BLI_strdup(), BLI_strncpy(), MovieClip::filepath, Text::filepath, MOVIECLIP_PATH_ABSOLUTE, MOVIECLIP_PATH_ABSOLUTE_MADE_RELATIVE, and TEXT_PATH_RELATIVE.
blender::bke::tests::TEST_F | ( | BPathTest | , |
list_backup_restore | |||
) |
Definition at line 140 of file bpath_test.cc.
References BKE_bpath_list_backup(), BKE_bpath_list_free(), BKE_bpath_list_restore(), BLI_listbase_count(), BLI_strdup(), BLI_strncpy(), EXPECT_EQ(), MovieClip::filepath, Text::filepath, MEM_freeN, MOVIECLIP_PATH_ABSOLUTE, MOVIECLIP_PATH_RELATIVE, TEXT_PATH_ABSOLUTE, and TEXT_PATH_RELATIVE.
blender::bke::tests::TEST_F | ( | BPathTest | , |
rebase_on_absolute | |||
) |
Definition at line 93 of file bpath_test.cc.
References BASE_DIR, BKE_bpath_relative_rebase(), BLI_strdup(), BLI_strncpy(), MovieClip::filepath, Text::filepath, MOVIECLIP_PATH_ABSOLUTE, REBASE_DIR, and TEXT_PATH_ABSOLUTE.
blender::bke::tests::TEST_F | ( | BPathTest | , |
rebase_on_relative | |||
) |
Definition at line 78 of file bpath_test.cc.
References BASE_DIR, BKE_bpath_relative_rebase(), BLI_strdup(), BLI_strncpy(), MovieClip::filepath, Text::filepath, MOVIECLIP_PATH_ITEM, MOVIECLIP_PATH_RELATIVE, REBASE_DIR, RELATIVE_ROOT, SEP_STR, TEXT_PATH_ITEM, and TEXT_PATH_RELATIVE.
|
static |
Definition at line 51 of file lattice_deform_test.cc.
References BKE_lattice_deform_data_eval_co(), blender::bke::tests::LatticeDeformTestContext::coords, and blender::bke::tests::LatticeDeformTestContext::ldd.
Referenced by TEST().
|
static |
Definition at line 59 of file lattice_deform_test.cc.
References BKE_lattice_deform_data_destroy(), blender::bke::tests::LatticeDeformTestContext::coords, IDTypeInfo::free_data, Lattice::id, Mesh::id, Object::id, IDType_ID_LT, IDType_ID_ME, IDType_ID_OB, blender::bke::tests::LatticeDeformTestContext::lattice, blender::bke::tests::LatticeDeformTestContext::ldd, MEM_freeN, blender::bke::tests::LatticeDeformTestContext::mesh, blender::bke::tests::LatticeDeformTestContext::ob_lattice, and blender::bke::tests::LatticeDeformTestContext::ob_mesh.
Referenced by TEST().
|
static |
Definition at line 27 of file lattice_deform_test.cc.
References BKE_lattice_deform_data_create(), blender::bke::tests::LatticeDeformTestContext::coords, Object::data, float(), blender::RandomNumberGenerator::get_float(), Lattice::id, Mesh::id, Object::id, IDType_ID_LT, IDType_ID_ME, IDType_ID_OB, IDTypeInfo::init_data, blender::bke::tests::LatticeDeformTestContext::lattice, blender::bke::tests::LatticeDeformTestContext::ldd, MEM_malloc_arrayN, blender::bke::tests::LatticeDeformTestContext::mesh, ID::name, blender::bke::tests::LatticeDeformTestContext::ob_lattice, OB_LATTICE, blender::bke::tests::LatticeDeformTestContext::ob_mesh, OB_MESH, and Object::type.
Referenced by TEST().
|
static |
Definition at line 35 of file lib_id_test.cc.
References EXPECT_EQ(), id, ID::next, and ID::prev.
Referenced by TEST().
|
static |
Definition at line 88 of file layer_test.cc.
References AOV_CONFLICT, BKE_view_layer_has_valid_aov(), BKE_view_layer_verify_aov(), BLI_strncpy(), ViewLayerAOV::flag, Scene::id, MAX_NAME, ViewLayerAOV::name, ptr, RNA_boolean_set(), RNA_pointer_create(), scene, and STREQ.
Referenced by TEST().
|
static |
Generic function to test vec_roll_to_mat3_normalized.
Definition at line 111 of file armature_test.cc.
References copy_v3_v3(), EXPECT_M3_ORTHOGONAL(), input, blender::math::normalize(), normalize_v3_v3(), ORTHO_EPSILON, SCALE_EPSILON, and vec_roll_to_mat3_normalized().
Referenced by TEST(), and test_vec_roll_to_mat3_orthogonal().
|
static |
Test that the matrix is orthogonal for an input close to -Y.
Definition at line 292 of file armature_test.cc.
References float(), input, sqrt(), test_vec_roll_to_mat3_normalized(), x, and z.
Referenced by test_vec_roll_to_mat3_orthogonal().
|
static |
Test that the matrix is orthogonal for a range of inputs close to -Y.
Definition at line 300 of file armature_test.cc.
References blender::math::abs(), count, double(), interpd(), t, test_vec_roll_to_mat3_orthogonal(), x2, and y1.
Definition at line 17 of file fcurve_test.cc.
Referenced by TEST().
Definition at line 15 of file armature_test.cc.
Referenced by TEST().
Definition at line 18 of file armature_test.cc.
Referenced by test_vec_roll_to_mat3_normalized().
Definition at line 17 of file armature_test.cc.
Referenced by test_vec_roll_to_mat3_normalized().
const bUUID blender::bke::tests::UUID_AGENT_47("c5744ba5-43f5-4f73-8e52-010ad4a61b34") | ( | "c5744ba5-43f5-4f73-8e52-010ad4a61b34" | ) |
Referenced by TEST_F().
const bUUID blender::bke::tests::UUID_ANOTHER_RUZENA("00000000-d9fa-4b91-b704-e6af1f1339ef") | ( | "00000000-d9fa-4b91-b704-e6af1f1339ef" | ) |
Referenced by TEST_F().
const bUUID blender::bke::tests::UUID_ID_WITHOUT_PATH("e34dd2c5-5d2e-4668-9794-1db5de2a4f71") | ( | "e34dd2c5-5d2e-4668-9794-1db5de2a4f71" | ) |
Referenced by TEST_F().
const bUUID blender::bke::tests::UUID_POSES_ELLIE | ( | "df60e1f6-2259-475b-93d9-69a1b4a8db78" | ) |
const bUUID blender::bke::tests::UUID_POSES_ELLIE_BACKSLASHES("a51e17ae-34fc-47d5-ba0f-64c2c9b771f7") | ( | "a51e17ae-34fc-47d5-ba0f-64c2c9b771f7" | ) |
Referenced by TEST_F().
const bUUID blender::bke::tests::UUID_POSES_ELLIE_TRAILING_SLASH("3376b94b-a28d-4d05-86c1-bf30b937130d") | ( | "3376b94b-a28d-4d05-86c1-bf30b937130d" | ) |
Referenced by TEST_F().
const bUUID blender::bke::tests::UUID_POSES_ELLIE_WHITESPACE("b06132f6-5687-4751-a6dd-392740eb3c46") | ( | "b06132f6-5687-4751-a6dd-392740eb3c46" | ) |
Referenced by TEST_F().
const bUUID blender::bke::tests::UUID_POSES_RUZENA("79a4f887-ab60-4bd4-94da-d572e27d6aed") | ( | "79a4f887-ab60-4bd4-94da-d572e27d6aed" | ) |
Referenced by TEST_F().
const bUUID blender::bke::tests::UUID_POSES_RUZENA_FACE("82162c1f-06cc-4d91-a9bf-4f72c104e348") | ( | "82162c1f-06cc-4d91-a9bf-4f72c104e348" | ) |
Referenced by TEST_F().
const bUUID blender::bke::tests::UUID_POSES_RUZENA_HAND("81811c31-1a88-4bd7-bb34-c6fc2607a12e") | ( | "81811c31-1a88-4bd7-bb34-c6fc2607a12e" | ) |
Referenced by TEST_F().