|
Blender V4.3
|
Classes | |
| class | BKE_armature_find_selected_bones_test |
| class | BMainMergeTest |
| class | BMainTest |
| class | BPathTest |
| class | CompositorTestData |
| class | Context |
| class | IDSubDataTestData |
| class | ImageTest |
| struct | LibIDMainSortTestContext |
| class | MeshObjectTestData |
| class | MeshTestData |
| class | SceneTestData |
| class | TestData |
| class | TwoMeshesTestData |
| class | WholeIDTestData |
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 (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 (BKE_fcurve, BKE_fcurve_keyframe_move_time_with_handles) | |
| TEST (BKE_fcurve, BKE_fcurve_calc_range) | |
| TEST (BKE_fcurve, BKE_fcurve_calc_bounds) | |
| static void | set_key (FCurve *fcu, const int index, const float x, const float y) |
| static FCurve * | testcurve_with_duplicates () |
| TEST (BKE_fcurve, sort_time_fcurve_stability) | |
| TEST (BKE_fcurve, BKE_fcurve_deduplicate_keys) | |
| TEST (BKE_fcurve, BKE_fcurve_deduplicate_keys_edge_cases) | |
| TEST (BKE_fcurve, BKE_fcurve_deduplicate_keys_prefer_whole_frames) | |
| static void | file_handler_add_test (const int test_number, const char *idname, const char *label, const char *file_extensions_str, blender::Vector< std::string > expected_file_extensions) |
| TEST (file_handler, add) | |
| TEST (file_handler, find) | |
| TEST (file_handler, remove) | |
| 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) | |
| TEST_F (ImageTest, multilayer) | |
| 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 IDNewNameResult | change_name (Main *bmain, ID *id, const char *name, const IDNewNameMode mode) |
| TEST (lib_id_main_sort, linked_ids_1) | |
| TEST (lib_id_main_unique_name, local_ids_rename_existing_never) | |
| TEST (lib_id_main_unique_name, local_ids_rename_existing_always) | |
| TEST (lib_id_main_unique_name, local_ids_rename_existing_same_root) | |
| TEST (lib_id_main_unique_name, linked_ids_1) | |
| static void | change_name_global (Main *bmain, ID *id, const char *name) |
| TEST (lib_id_main_global_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) | |
| TEST_F (BMainMergeTest, basics) | |
| TEST_F (BMainMergeTest, linked_data) | |
| TEST (nla_strip, BKE_nlastrip_recalculate_blend) | |
| TEST (nla_strip, BKE_nlastrips_add_strip) | |
| TEST (nla_strip, BKE_nla_clip_length_get_nonzero) | |
| TEST (nla_strip, BKE_nla_clip_length_ensure_nonzero) | |
| TEST (nla_track, BKE_nlatrack_remove_strip) | |
| TEST (nla_track, BKE_nlatrack_remove_and_free) | |
| TEST (nla_track, BKE_nlatrack_new_tail) | |
| TEST (nla_track, BKE_nlatrack_new_head) | |
| TEST (subdiv_ccg_coord, to_index) | |
| TEST (subdiv_ccg_coord, constructor) | |
Tests. | |
| TEST (lib_query, libquery_basic) | |
| TEST (lib_query, libquery_recursive) | |
| TEST (lib_query, libquery_subdata) | |
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_storage_requested_on_delete) | |
| TEST (lib_remap, never_null_usage_flag_not_requested_on_remap) | |
| TEST (lib_remap, never_null_usage_storage_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 |
| static const float | EPSILON = 1e-7f |
| static FileHandlerType * | test_file_handlers [MAX_FILE_HANDLERS_TEST_SIZE] |
|
static |
Definition at line 386 of file lib_id_test.cc.
References BKE_id_new(), change_lib(), ID_OB, id_sort_by_name(), lib, and Main::objects.
Referenced by TEST().
Definition at line 64 of file lib_id_test.cc.
References BKE_main_namemap_get_name(), BKE_main_namemap_remove_name(), and lib.
Referenced by add_id_in_library(), TEST(), TEST(), and TEST().
|
static |
Definition at line 74 of file lib_id_test.cc.
References BKE_libblock_rename().
|
static |
Definition at line 306 of file lib_id_test.cc.
References BKE_main_namemap_get_name(), BKE_main_namemap_remove_name(), BLI_strncpy(), id_sort_by_name(), MAX_NAME, and Main::objects.
Referenced by TEST().
|
static |
Definition at line 15 of file curves_geometry_test.cc.
References float.
|
static |
Test that the matrix is orthogonal, i.e. has no scale or shear within acceptable precision.
Definition at line 27 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().
|
static |
Definition at line 15 of file file_handler_test.cc.
References EXPECT_EQ(), blender::bke::file_handler_add(), blender::bke::file_handlers(), label, MAX_FILE_HANDLERS_TEST_SIZE, size(), STRNCPY, and test_file_handlers.
Referenced by TEST().
Binary search to test where the code switches to the most degenerate special case.
Definition at line 145 of file armature_test.cc.
References e, float, M_1_PI, normalize_v3(), sqrt(), vec_roll_to_mat3_normalized(), and z().
|
static |
Definition at line 634 of file fcurve_test.cc.
References FCurve::bezt, BezTriple::vec, x, and y.
Referenced by TEST(), TEST(), and testcurve_with_duplicates().
| blender::bke::tests::TEST | ( | action_assets | , |
| BKE_action_has_single_frame | ) |
Definition at line 166 of file blenkernel/intern/action_test.cc.
References FCurve::bezt, BLI_addtail(), bAction::curves, and BezTriple::vec.
| blender::bke::tests::TEST | ( | action_groups | , |
| ReconstructGroupsWithReordering | ) |
Definition at line 22 of file blenkernel/intern/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, FCurve::rna_path, and STRNCPY.
| blender::bke::tests::TEST | ( | AssetMetadataTest | , |
| set_catalog_id | ) |
Definition at line 15 of file asset_metadata_test.cc.
References BKE_asset_metadata_catalog_id_clear(), BKE_asset_metadata_catalog_id_set(), BLI_uuid_equal(), BLI_uuid_generate_random(), and BLI_uuid_is_nil().
| blender::bke::tests::TEST | ( | BKE_fcurve | , |
| BKE_fcurve_calc_bounds | ) |
Definition at line 485 of file fcurve_test.cc.
References FCurve::bezt, BKE_fcurve_calc_bounds(), BKE_fcurve_create(), BKE_fcurve_free(), BezTriple::f1, BezTriple::f2, BezTriple::f3, fcurve_samplingcb_evalcurve(), fcurve_store_samples(), blender::animrig::get_keyframe_settings(), blender::animrig::insert_vert_fcurve(), INSERTKEY_NOFLAGS, SELECT, FCurve::totvert, BezTriple::vec, rctf::xmax, rctf::xmin, rctf::ymax, and rctf::ymin.
| blender::bke::tests::TEST | ( | BKE_fcurve | , |
| BKE_fcurve_calc_range | ) |
Definition at line 432 of file fcurve_test.cc.
References FCurve::bezt, BKE_fcurve_calc_range(), BKE_fcurve_create(), BKE_fcurve_free(), BezTriple::f1, BezTriple::f2, BezTriple::f3, fcurve_samplingcb_evalcurve(), fcurve_store_samples(), blender::animrig::get_keyframe_settings(), blender::animrig::insert_vert_fcurve(), INSERTKEY_NOFLAGS, max, min, SELECT, FCurve::totvert, and BezTriple::vec.
| blender::bke::tests::TEST | ( | BKE_fcurve | , |
| BKE_fcurve_deduplicate_keys | ) |
Definition at line 688 of file fcurve_test.cc.
References FCurve::bezt, BKE_fcurve_deduplicate_keys(), BKE_fcurve_free(), e, EXPECT_EQ(), sort_time_fcurve(), testcurve_with_duplicates(), FCurve::totvert, and BezTriple::vec.
| blender::bke::tests::TEST | ( | BKE_fcurve | , |
| BKE_fcurve_deduplicate_keys_edge_cases | ) |
Definition at line 707 of file fcurve_test.cc.
References FCurve::bezt, BKE_fcurve_deduplicate_keys(), BKE_fcurve_free(), e, set_key(), sort_time_fcurve(), testcurve_with_duplicates(), FCurve::totvert, and BezTriple::vec.
| blender::bke::tests::TEST | ( | BKE_fcurve | , |
| BKE_fcurve_deduplicate_keys_prefer_whole_frames | ) |
Definition at line 730 of file fcurve_test.cc.
References FCurve::bezt, BEZT_BINARYSEARCH_THRESH, BKE_fcurve_deduplicate_keys(), BKE_fcurve_free(), e, set_key(), sort_time_fcurve(), testcurve_with_duplicates(), FCurve::totvert, and BezTriple::vec.
| blender::bke::tests::TEST | ( | BKE_fcurve | , |
| BKE_fcurve_keyframe_move_time_with_handles | ) |
Definition at line 400 of file fcurve_test.cc.
References FCurve::bezt, BKE_fcurve_create(), BKE_fcurve_free(), BKE_fcurve_keyframe_move_time_with_handles(), blender::animrig::get_keyframe_settings(), blender::animrig::insert_vert_fcurve(), INSERTKEY_NOFLAGS, and BezTriple::vec.
| blender::bke::tests::TEST | ( | BKE_fcurve | , |
| BKE_fcurve_keyframe_move_value_with_handles | ) |
Definition at line 368 of file fcurve_test.cc.
References FCurve::bezt, BKE_fcurve_create(), BKE_fcurve_free(), BKE_fcurve_keyframe_move_value_with_handles(), blender::animrig::get_keyframe_settings(), blender::animrig::insert_vert_fcurve(), INSERTKEY_NOFLAGS, and BezTriple::vec.
| blender::bke::tests::TEST | ( | BKE_fcurve | , |
| sort_time_fcurve_stability | ) |
Definition at line 664 of file fcurve_test.cc.
References FCurve::bezt, BEZT_BINARYSEARCH_THRESH, BKE_fcurve_free(), e, sort_time_fcurve(), testcurve_with_duplicates(), FCurve::totvert, and BezTriple::vec.
| blender::bke::tests::TEST | ( | curves_geometry | , |
| BezierGenericEvaluation | ) |
Definition at line 406 of file curves_geometry_test.cc.
References blender::Array< T, InlineBufferCapacity, Allocator >::as_mutable_span(), CURVE_TYPE_BEZIER, blender::MutableSpan< T >::first(), blender::Array< T, InlineBufferCapacity, Allocator >::index_range(), blender::Span< T >::index_range(), and blender::MutableSpan< T >::last().
| blender::bke::tests::TEST | ( | curves_geometry | , |
| BezierPositionEvaluation | ) |
Definition at line 232 of file curves_geometry_test.cc.
References CURVE_TYPE_BEZIER, EXPECT_EQ(), blender::MutableSpan< T >::first(), blender::Span< T >::index_range(), blender::MutableSpan< T >::last(), and blender::Span< T >::size().
| blender::bke::tests::TEST | ( | curves_geometry | , |
| CatmullRomEvaluation | ) |
Definition at line 87 of file curves_geometry_test.cc.
References CURVE_TYPE_CATMULL_ROM, blender::Span< T >::data(), EXPECT_EQ(), and blender::Span< T >::index_range().
| blender::bke::tests::TEST | ( | curves_geometry | , |
| CatmullRomTwoPointCyclic | ) |
Definition at line 220 of file curves_geometry_test.cc.
References CURVE_TYPE_CATMULL_ROM, and EXPECT_EQ().
| blender::bke::tests::TEST | ( | curves_geometry | , |
| Empty | ) |
Definition at line 32 of file curves_geometry_test.cc.
References blender::bke::CurvesGeometry::bounds_min_max(), and blender::bke::CurvesGeometry::cyclic().
| blender::bke::tests::TEST | ( | curves_geometry | , |
| Move | ) |
Definition at line 39 of file curves_geometry_test.cc.
References create_basic_curves(), blender::Span< T >::data(), EXPECT_EQ(), blender::bke::CurvesGeometry::offsets(), and blender::bke::CurvesGeometry::positions().
| blender::bke::tests::TEST | ( | curves_geometry | , |
| NURBSEvaluation | ) |
Definition at line 316 of file curves_geometry_test.cc.
References CURVE_TYPE_NURBS, and blender::Span< T >::index_range().
| blender::bke::tests::TEST | ( | curves_geometry | , |
| TypeCount | ) |
Definition at line 64 of file curves_geometry_test.cc.
References create_basic_curves(), CURVE_TYPE_BEZIER, CURVE_TYPE_CATMULL_ROM, CURVE_TYPE_NURBS, CURVE_TYPE_POLY, and EXPECT_EQ().
| blender::bke::tests::TEST | ( | evaluate_fcurve | , |
| EmptyFCurve | ) |
Definition at line 24 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 196 of file fcurve_test.cc.
References FCurve::bezt, BKE_fcurve_create(), BKE_fcurve_free(), EPSILON, evaluate_fcurve(), EXPECT_EQ(), FCurve::extend, FCURVE_EXTRAPOLATE_CONSTANT, FCURVE_EXTRAPOLATE_LINEAR, blender::animrig::get_keyframe_settings(), blender::animrig::insert_vert_fcurve(), INSERTKEY_NOFLAGS, and BezTriple::vec.
| blender::bke::tests::TEST | ( | evaluate_fcurve | , |
| ExtrapolationLinearKeys | ) |
Definition at line 161 of file fcurve_test.cc.
References FCurve::bezt, BEZT_IPO_LIN, BKE_fcurve_create(), BKE_fcurve_free(), EPSILON, evaluate_fcurve(), EXPECT_EQ(), FCurve::extend, FCURVE_EXTRAPOLATE_CONSTANT, FCURVE_EXTRAPOLATE_LINEAR, blender::animrig::get_keyframe_settings(), blender::animrig::insert_vert_fcurve(), INSERTKEY_NOFLAGS, BezTriple::ipo, and BezTriple::vec.
| blender::bke::tests::TEST | ( | evaluate_fcurve | , |
| InterpolationBezier | ) |
Definition at line 98 of file fcurve_test.cc.
References FCurve::bezt, BEZT_IPO_BEZ, BKE_fcurve_create(), BKE_fcurve_free(), EPSILON, evaluate_fcurve(), EXPECT_EQ(), blender::animrig::get_keyframe_settings(), blender::animrig::insert_vert_fcurve(), INSERTKEY_NOFLAGS, BezTriple::ipo, and BezTriple::vec.
| blender::bke::tests::TEST | ( | evaluate_fcurve | , |
| InterpolationBounce | ) |
Definition at line 136 of file fcurve_test.cc.
References FCurve::bezt, BEZT_IPO_BOUNCE, BEZT_IPO_EASE_AUTO, BEZT_IPO_EASE_IN, BKE_fcurve_create(), BKE_fcurve_free(), BezTriple::easing, EPSILON, evaluate_fcurve(), EXPECT_EQ(), blender::animrig::get_keyframe_settings(), blender::animrig::insert_vert_fcurve(), INSERTKEY_NOFLAGS, BezTriple::ipo, and BezTriple::vec.
| blender::bke::tests::TEST | ( | evaluate_fcurve | , |
| InterpolationConstant | ) |
Definition at line 55 of file fcurve_test.cc.
References FCurve::bezt, BEZT_IPO_CONST, BKE_fcurve_create(), BKE_fcurve_free(), EPSILON, evaluate_fcurve(), EXPECT_EQ(), blender::animrig::get_keyframe_settings(), blender::animrig::insert_vert_fcurve(), INSERTKEY_NOFLAGS, BezTriple::ipo, and BezTriple::vec.
| blender::bke::tests::TEST | ( | evaluate_fcurve | , |
| InterpolationLinear | ) |
Definition at line 76 of file fcurve_test.cc.
References FCurve::bezt, BEZT_IPO_LIN, BKE_fcurve_create(), BKE_fcurve_free(), EPSILON, evaluate_fcurve(), EXPECT_EQ(), blender::animrig::get_keyframe_settings(), blender::animrig::insert_vert_fcurve(), INSERTKEY_NOFLAGS, BezTriple::ipo, and BezTriple::vec.
| blender::bke::tests::TEST | ( | evaluate_fcurve | , |
| OnKeys | ) |
Definition at line 31 of file fcurve_test.cc.
References BKE_fcurve_create(), BKE_fcurve_free(), EPSILON, evaluate_fcurve(), blender::animrig::get_keyframe_settings(), blender::animrig::insert_vert_fcurve(), and INSERTKEY_NOFLAGS.
| blender::bke::tests::TEST | ( | fcurve_active_keyframe | , |
| ActiveKeyframe | ) |
Definition at line 305 of file fcurve_test.cc.
References FCurve::active_keyframe_index, FCurve::bezt, 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, blender::animrig::get_keyframe_settings(), blender::animrig::insert_vert_fcurve(), INSERTKEY_NOFLAGS, SELECT, FCurve::totvert, and BezTriple::vec.
| blender::bke::tests::TEST | ( | fcurve_subdivide | , |
| BKE_fcurve_bezt_subdivide_handles | ) |
Definition at line 237 of file fcurve_test.cc.
References FCurve::bezt, BEZT_IPO_BEZ, BKE_fcurve_bezt_subdivide_handles(), BKE_fcurve_create(), BKE_fcurve_free(), EXPECT_EQ(), blender::animrig::get_keyframe_settings(), BezTriple::h1, BezTriple::h2, HD_AUTO_ANIM, HD_FREE, blender::animrig::insert_vert_fcurve(), INSERTKEY_NOFLAGS, BezTriple::ipo, BezTriple::vec, x, and y.
| blender::bke::tests::TEST | ( | file_handler | , |
| add | ) |
Definition at line 39 of file file_handler_test.cc.
References file_handler_add_test().
| blender::bke::tests::TEST | ( | file_handler | , |
| find | ) |
Definition at line 55 of file file_handler_test.cc.
References EXPECT_EQ(), blender::bke::file_handler_find(), blender::bke::file_handlers(), MAX_FILE_HANDLERS_TEST_SIZE, size(), and test_file_handlers.
| blender::bke::tests::TEST | ( | file_handler | , |
| remove | ) |
FileHandlerType pointer in test_file_handlers[1] is not longer valid.
FileHandlerType pointer in test_file_handlers[7] is not longer valid.
Definition at line 70 of file file_handler_test.cc.
References EXPECT_EQ(), blender::bke::file_handler_find(), blender::bke::file_handler_remove(), blender::bke::file_handlers(), MAX_FILE_HANDLERS_TEST_SIZE, size(), and test_file_handlers.
| blender::bke::tests::TEST | ( | lib_id_main_global_unique_name | , |
| linked_ids_1 | ) |
Definition at line 316 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(), change_name_global(), ListBase::first, ID_LI, ID_OB, id_sort_by_name(), ListBase::last, Main::libraries, ID::name, Main::name_map_global, Main::objects, RenameExistingNever, and test_lib_id_main_sort_check_order().
| blender::bke::tests::TEST | ( | lib_id_main_sort | , |
| linked_ids_1 | ) |
Definition at line 79 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(), EXPECT_EQ(), ListBase::first, ID_LI, ID_OB, id_sort_by_name(), ListBase::last, Main::libraries, Main::name_map_global, Main::objects, and test_lib_id_main_sort_check_order().
| blender::bke::tests::TEST | ( | lib_id_main_sort | , |
| local_ids_1 | ) |
Definition at line 49 of file lib_id_test.cc.
References BKE_id_new(), BLI_listbase_is_empty(), blender::bke::tests::LibIDMainSortTestContext::bmain, EXPECT_EQ(), ListBase::first, ID_OB, ListBase::last, Main::libraries, Main::name_map_global, 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 438 of file lib_id_test.cc.
References BKE_id_new(), BKE_main_namemap_validate(), blender::bke::tests::LibIDMainSortTestContext::bmain, EXPECT_EQ(), ID_OB, ID::name, and Main::name_map_global.
| blender::bke::tests::TEST | ( | lib_id_main_unique_name | , |
| ids_sorted_by_default | ) |
Definition at line 371 of file lib_id_test.cc.
References BKE_id_new(), BKE_main_namemap_validate(), blender::bke::tests::LibIDMainSortTestContext::bmain, EXPECT_EQ(), ID_OB, Main::name_map_global, 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 394 of file lib_id_test.cc.
References add_id_in_library(), BKE_id_new(), BKE_main_namemap_validate(), blender::bke::tests::LibIDMainSortTestContext::bmain, EXPECT_EQ(), ID_LI, ID_OB, Main::name_map_global, and test_lib_id_main_sort_check_order().
| blender::bke::tests::TEST | ( | lib_id_main_unique_name | , |
| linked_ids_1 | ) |
Definition at line 265 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(), EXPECT_EQ(), ListBase::first, ID_LI, ID_OB, id_sort_by_name(), ListBase::last, Main::libraries, ID::name, Main::name_map_global, Main::objects, RenameExistingNever, and test_lib_id_main_sort_check_order().
| blender::bke::tests::TEST | ( | lib_id_main_unique_name | , |
| local_ids_rename_existing_always | ) |
Definition at line 178 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(), EXPECT_EQ(), ListBase::first, ID_OB, ListBase::last, Main::libraries, ID::name, Main::name_map_global, Main::objects, IDNewNameResult::RENAMED_COLLISION_FORCED, RenameExistingAlways, result, and test_lib_id_main_sort_check_order().
| blender::bke::tests::TEST | ( | lib_id_main_unique_name | , |
| local_ids_rename_existing_never | ) |
Definition at line 115 of file lib_id_test.cc.
References BKE_id_new(), BKE_main_namemap_get_name(), BKE_main_namemap_validate(), BLI_listbase_is_empty(), blender::bke::tests::LibIDMainSortTestContext::bmain, change_name(), EXPECT_EQ(), ListBase::first, ID_OB, ListBase::last, Main::libraries, MAX_ID_NAME, ID::name, Main::name_map_global, Main::objects, IDNewNameResult::RENAMED_COLLISION_ADJUSTED, RenameExistingNever, result, STRNCPY, test_lib_id_main_sort_check_order(), and IDNewNameResult::UNCHANGED_COLLISION.
| blender::bke::tests::TEST | ( | lib_id_main_unique_name | , |
| local_ids_rename_existing_same_root | ) |
Definition at line 221 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(), EXPECT_EQ(), ListBase::first, ID_OB, ListBase::last, Main::libraries, ID::name, Main::name_map_global, Main::objects, IDNewNameResult::RENAMED_COLLISION_ADJUSTED, IDNewNameResult::RENAMED_COLLISION_FORCED, RenameExistingSameRoot, result, and test_lib_id_main_sort_check_order().
| blender::bke::tests::TEST | ( | lib_id_main_unique_name | , |
| name_huge_number_suffix | ) |
Definition at line 658 of file lib_id_test.cc.
References BKE_id_new(), BKE_main_namemap_validate(), blender::bke::tests::LibIDMainSortTestContext::bmain, EXPECT_EQ(), ID_OB, ID::name, and Main::name_map_global.
| blender::bke::tests::TEST | ( | lib_id_main_unique_name | , |
| name_number_suffix_assignment | ) |
Definition at line 541 of file lib_id_test.cc.
References BKE_id_free(), BKE_id_new(), BKE_main_namemap_validate(), blender::bke::tests::LibIDMainSortTestContext::bmain, EXPECT_EQ(), ID_OB, ID::name, and Main::name_map_global.
| blender::bke::tests::TEST | ( | lib_id_main_unique_name | , |
| name_too_long_handling | ) |
Definition at line 418 of file lib_id_test.cc.
References BKE_id_new(), BKE_main_namemap_validate(), blender::bke::tests::LibIDMainSortTestContext::bmain, EXPECT_EQ(), ID_OB, ID::name, and Main::name_map_global.
| blender::bke::tests::TEST | ( | lib_id_main_unique_name | , |
| names_are_unique_per_id_type | ) |
Definition at line 641 of file lib_id_test.cc.
References BKE_id_new(), BKE_main_namemap_validate(), blender::bke::tests::LibIDMainSortTestContext::bmain, EXPECT_EQ(), ID_CA, ID_OB, ID::name, and Main::name_map_global.
| blender::bke::tests::TEST | ( | lib_id_main_unique_name | , |
| remove_after_dup_get_original_name | ) |
Definition at line 520 of file lib_id_test.cc.
References BKE_id_free(), BKE_id_new(), BKE_main_namemap_validate(), blender::bke::tests::LibIDMainSortTestContext::bmain, EXPECT_EQ(), ID_OB, ID::name, and Main::name_map_global.
| blender::bke::tests::TEST | ( | lib_id_main_unique_name | , |
| renames_with_duplicates | ) |
Definition at line 613 of file lib_id_test.cc.
References BKE_id_new(), BKE_libblock_rename(), BKE_main_namemap_validate(), blender::bke::tests::LibIDMainSortTestContext::bmain, EXPECT_EQ(), ID_OB, ID::name, and Main::name_map_global.
| blender::bke::tests::TEST | ( | lib_id_main_unique_name | , |
| zero_suffix_is_never_assigned | ) |
Definition at line 501 of file lib_id_test.cc.
References BKE_id_new(), BKE_main_namemap_validate(), blender::bke::tests::LibIDMainSortTestContext::bmain, EXPECT_EQ(), ID_OB, ID::name, and Main::name_map_global.
| blender::bke::tests::TEST | ( | lib_query | , |
| libquery_basic | ) |
Definition at line 155 of file lib_query_test.cc.
References BKE_library_foreach_ID_link(), EXPECT_EQ(), FOREACH_MAIN_ID_BEGIN, FOREACH_MAIN_ID_END, Mesh::id, IDWALK_NOP, IDWALK_READONLY, IDWALK_RET_NOP, blender::bke::tests::WholeIDTestData::mesh, and ID::us.
| blender::bke::tests::TEST | ( | lib_query | , |
| libquery_recursive | ) |
Definition at line 214 of file lib_query_test.cc.
References BKE_library_foreach_ID_link(), EXPECT_EQ(), FOREACH_MAIN_ID_BEGIN, FOREACH_MAIN_ID_END, IDWALK_CB_USER, IDWALK_RECURSE, IDWALK_RET_NOP, and ID::us.
| blender::bke::tests::TEST | ( | lib_query | , |
| libquery_subdata | ) |
Definition at line 273 of file lib_query_test.cc.
References BKE_library_foreach_subdata_id(), data, EXPECT_EQ(), FOREACH_MAIN_ID_BEGIN, FOREACH_MAIN_ID_END, IDWALK_NOP, IDWALK_RET_NOP, blender::bke::node_foreach_id(), blender::bke::node_node_foreach_id(), and ID::us.
| blender::bke::tests::TEST | ( | lib_remap | , |
| delete_when_remap_to_self_not_allowed | ) |
Definition at line 204 of file lib_remap_test.cc.
References BKE_libblock_remap(), and EXPECT_EQ().
| blender::bke::tests::TEST | ( | lib_remap | , |
| do_not_delete_when_cannot_unset | ) |
Definition at line 265 of file lib_remap_test.cc.
References BKE_libblock_remap(), EXPECT_EQ(), and ID_REMAP_SKIP_NEVER_NULL_USAGE.
| blender::bke::tests::TEST | ( | lib_remap | , |
| embedded_ids_can_not_be_deleted | ) |
Definition at line 181 of file lib_remap_test.cc.
References BKE_libblock_remap(), EXPECT_EQ(), and ID_REMAP_SKIP_NEVER_NULL_USAGE.
| blender::bke::tests::TEST | ( | lib_remap | , |
| embedded_ids_can_not_be_remapped | ) |
Definition at line 163 of file lib_remap_test.cc.
References BKE_id_free(), BKE_id_new_nomain(), BKE_libblock_remap(), EXPECT_EQ(), and ID_NT.
| blender::bke::tests::TEST | ( | lib_remap | , |
| force_never_null_usage | ) |
Definition at line 278 of file lib_remap_test.cc.
References BKE_libblock_remap(), 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 290 of file lib_remap_test.cc.
References BKE_libblock_remap(), EXPECT_EQ(), ID_REMAP_SKIP_NEVER_NULL_USAGE, and ID_TAG_DOIT.
| blender::bke::tests::TEST | ( | lib_remap | , |
| never_null_usage_flag_not_requested_on_remap | ) |
Definition at line 329 of file lib_remap_test.cc.
References BKE_libblock_remap(), BKE_mesh_add(), EXPECT_EQ(), ID_REMAP_SKIP_NEVER_NULL_USAGE, and ID_TAG_DOIT.
| blender::bke::tests::TEST | ( | lib_remap | , |
| never_null_usage_storage_requested_on_delete | ) |
Definition at line 306 of file lib_remap_test.cc.
References blender::bke::id::IDRemapper::add(), BKE_libblock_remap_multiple_locked(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), EXPECT_EQ(), ID_REMAP_SKIP_NEVER_NULL_USAGE, ID_REMAP_STORE_NEVER_NULL_USAGE, ID_TAG_DOIT, and blender::bke::id::IDRemapper::never_null_users().
| blender::bke::tests::TEST | ( | lib_remap | , |
| never_null_usage_storage_requested_on_remap | ) |
Definition at line 345 of file lib_remap_test.cc.
References blender::bke::id::IDRemapper::add(), BKE_libblock_remap_multiple_locked(), BKE_mesh_add(), EXPECT_EQ(), Mesh::id, ID_REMAP_SKIP_NEVER_NULL_USAGE, ID_REMAP_STORE_NEVER_NULL_USAGE, ID_TAG_DOIT, blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::is_empty(), and blender::bke::id::IDRemapper::never_null_users().
| blender::bke::tests::TEST | ( | lib_remap | , |
| users_are_decreased_when_not_skipping_never_null | ) |
Definition at line 224 of file lib_remap_test.cc.
References BKE_libblock_remap(), EXPECT_EQ(), and ID_TAG_DOIT.
| blender::bke::tests::TEST | ( | lib_remap | , |
| users_are_same_when_skipping_never_null | ) |
Definition at line 242 of file lib_remap_test.cc.
References BKE_libblock_remap(), EXPECT_EQ(), ID_REMAP_SKIP_NEVER_NULL_USAGE, and ID_TAG_DOIT.
| blender::bke::tests::TEST | ( | mat3_vec_to_roll | , |
| Rotationmatrix | ) |
Definition at line 83 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 53 of file armature_test.cc.
References FLOAT_EPSILON, mat3_vec_to_roll(), normalize_v3(), and unit_m3().
| blender::bke::tests::TEST | ( | nla_strip | , |
| BKE_nla_clip_length_ensure_nonzero | ) |
Definition at line 90 of file blenkernel/intern/nla_test.cc.
References BKE_nla_clip_length_ensure_nonzero().
| blender::bke::tests::TEST | ( | nla_strip | , |
| BKE_nla_clip_length_get_nonzero | ) |
Definition at line 69 of file blenkernel/intern/nla_test.cc.
References NlaStrip::actstart, and BKE_nla_clip_length_get_nonzero().
| blender::bke::tests::TEST | ( | nla_strip | , |
| BKE_nlastrip_recalculate_blend | ) |
Definition at line 18 of file blenkernel/intern/nla_test.cc.
References BKE_nlastrip_recalculate_blend(), and NlaStrip::blendin.
| blender::bke::tests::TEST | ( | nla_strip | , |
| BKE_nlastrips_add_strip | ) |
Definition at line 45 of file blenkernel/intern/nla_test.cc.
References BKE_nlastrips_add_strip(), and NlaStrip::start.
| blender::bke::tests::TEST | ( | nla_track | , |
| BKE_nlatrack_new_head | ) |
Definition at line 179 of file blenkernel/intern/nla_test.cc.
References BKE_nlatrack_new_head(), BKE_nlatrack_remove_and_free(), BLI_findindex(), and EXPECT_EQ().
| blender::bke::tests::TEST | ( | nla_track | , |
| BKE_nlatrack_new_tail | ) |
Definition at line 164 of file blenkernel/intern/nla_test.cc.
References BKE_nlatrack_new_tail(), BKE_nlatrack_remove_and_free(), BLI_findindex(), and EXPECT_EQ().
| blender::bke::tests::TEST | ( | nla_track | , |
| BKE_nlatrack_remove_and_free | ) |
Definition at line 141 of file blenkernel/intern/nla_test.cc.
References BKE_nlatrack_new_tail(), BKE_nlatrack_remove_and_free(), BLI_findindex(), BLI_listbase_count(), and EXPECT_EQ().
| blender::bke::tests::TEST | ( | nla_track | , |
| BKE_nlatrack_remove_strip | ) |
Definition at line 115 of file blenkernel/intern/nla_test.cc.
References BKE_nlastrips_add_strip(), BKE_nlatrack_remove_strip(), BLI_findindex(), BLI_listbase_count(), EXPECT_EQ(), and NlaStrip::start.
| blender::bke::tests::TEST | ( | subdiv_ccg_coord | , |
| constructor | ) |
Definition at line 37 of file subdiv_ccg_test.cc.
References BKE_ccg_gridsize(), CCGKey::elem_size, EXPECT_EQ(), float, SubdivCCGCoord::from_index(), CCGKey::grid_area, CCGKey::grid_bytes, SubdivCCGCoord::grid_index, CCGKey::grid_size, CCGKey::has_mask, CCGKey::has_normals, CCGKey::level, CCGKey::mask_offset, CCGKey::normal_offset, SubdivCCGCoord::x, and SubdivCCGCoord::y.
| blender::bke::tests::TEST | ( | subdiv_ccg_coord | , |
| to_index | ) |
Definition at line 11 of file subdiv_ccg_test.cc.
References BKE_ccg_gridsize(), CCGKey::elem_size, EXPECT_EQ(), float, CCGKey::grid_area, CCGKey::grid_bytes, SubdivCCGCoord::grid_index, CCGKey::grid_size, CCGKey::has_mask, CCGKey::has_normals, CCGKey::level, CCGKey::mask_offset, CCGKey::normal_offset, SubdivCCGCoord::to_index(), SubdivCCGCoord::x, and SubdivCCGCoord::y.
| blender::bke::tests::TEST | ( | udim | , |
| image_ensure_tile_token | ) |
Definition at line 34 of file source/blender/blenkernel/intern/image_test.cc.
References BKE_image_ensure_tile_token_filename_only(), FILE_MAX, and STRNCPY.
| blender::bke::tests::TEST | ( | udim | , |
| image_get_tile_number_from_filepath | ) |
Definition at line 127 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 95 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 182 of file source/blender/blenkernel/intern/image_test.cc.
References BKE_image_get_tile_strformat(), BKE_image_set_filepath_from_tile_number(), EXPECT_EQ(), FILE_MAX, MEM_freeN(), STRNCPY, 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 187 of file armature_test.cc.
References test_vec_roll_to_mat3_normalized().
| blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
| Flipped2 | ) |
Definition at line 196 of file armature_test.cc.
References e, and test_vec_roll_to_mat3_normalized().
| blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
| Flipped3 | ) |
Definition at line 207 of file armature_test.cc.
References test_vec_roll_to_mat3_normalized().
| blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
| FlippedBoundary1 | ) |
Definition at line 176 of file armature_test.cc.
References find_flip_boundary().
| blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
| FlippedBoundary2 | ) |
Definition at line 181 of file armature_test.cc.
References find_flip_boundary().
| blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
| Generic1 | ) |
Definition at line 251 of file armature_test.cc.
References test_vec_roll_to_mat3_normalized().
| blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
| Generic2 | ) |
Definition at line 260 of file armature_test.cc.
References test_vec_roll_to_mat3_normalized().
| blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
| Generic3 | ) |
Definition at line 269 of file armature_test.cc.
References test_vec_roll_to_mat3_normalized().
| blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
| Generic4 | ) |
Definition at line 278 of file armature_test.cc.
References test_vec_roll_to_mat3_normalized().
| blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
| Roll1 | ) |
Definition at line 288 of file armature_test.cc.
References 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 242 of file armature_test.cc.
References test_vec_roll_to_mat3_normalized().
| blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
| Rotate90_X_CW | ) |
Definition at line 234 of file armature_test.cc.
References test_vec_roll_to_mat3_normalized().
| blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
| Rotate90_Z_CCW | ) |
Definition at line 226 of file armature_test.cc.
References test_vec_roll_to_mat3_normalized().
| blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
| Rotate90_Z_CW | ) |
Definition at line 218 of file armature_test.cc.
References test_vec_roll_to_mat3_normalized().
| blender::bke::tests::TEST | ( | view_layer | , |
| aov_conflict | ) |
Definition at line 118 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(), EXPECT_EQ(), ViewLayerAOV::flag, IDTypeInfo::free_data, IDType_ID_SCE, IMB_exit(), IMB_init(), IDTypeInfo::init_data, RE_engine_create(), RE_engine_free(), RE_engines_exit(), RE_engines_find(), RE_engines_init(), and test_render_pass_conflict().
| blender::bke::tests::TEST | ( | view_layer | , |
| aov_unique_names | ) |
Definition at line 25 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(), CLG_exit(), CLG_init(), EXPECT_EQ(), ViewLayerAOV::flag, IDTypeInfo::free_data, IDType_ID_SCE, IMB_exit(), IMB_init(), IDTypeInfo::init_data, ViewLayerAOV::name, RE_engine_create(), RE_engine_free(), RE_engines_exit(), RE_engines_find(), RE_engines_init(), STREQ, and STRNCPY.
| blender::bke::tests::TEST_F | ( | BKE_armature_find_selected_bones_test | , |
| all_bones_selected | ) |
Definition at line 411 of file armature_test.cc.
References blender::bke::BKE_armature_find_selected_bones(), BONE_SELECTED, callback, and EXPECT_EQ().
| blender::bke::tests::TEST_F | ( | BKE_armature_find_selected_bones_test | , |
| no_bones_selected | ) |
Definition at line 397 of file armature_test.cc.
References blender::bke::BKE_armature_find_selected_bones(), and callback.
| blender::bke::tests::TEST_F | ( | BKE_armature_find_selected_bones_test | , |
| some_bones_selected | ) |
Definition at line 378 of file armature_test.cc.
References blender::bke::BKE_armature_find_selected_bones(), BONE_SELECTED, callback, and EXPECT_EQ().
| blender::bke::tests::TEST_F | ( | BMainMergeTest | , |
| basics | ) |
Definition at line 61 of file main_test.cc.
References BKE_collection_object_add(), BKE_id_new(), BKE_main_merge(), BKE_main_new(), BLI_listbase_count(), BLI_listbase_is_empty(), EXPECT_EQ(), ListBase::first, Collection::gobject, ID_GR, ID_OB, MainMergeReport::num_merged_ids, MainMergeReport::num_remapped_ids, MainMergeReport::num_remapped_libraries, MainMergeReport::num_unknown_ids, and CollectionObject::ob.
| blender::bke::tests::TEST_F | ( | BMainMergeTest | , |
| linked_data | ) |
Definition at line 121 of file main_test.cc.
References ABS_ROOT, BKE_collection_object_add(), BKE_id_new(), BKE_library_filepath_set(), BKE_main_merge(), BKE_main_new(), BLI_listbase_count(), BLI_listbase_is_empty(), EXPECT_EQ(), Library::filepath, Library_Runtime::filepath_abs, Collection::id, Object::id, ID_GR, ID_LI, ID_OB, ID::lib, MainMergeReport::num_merged_ids, MainMergeReport::num_remapped_ids, MainMergeReport::num_remapped_libraries, MainMergeReport::num_unknown_ids, Library::runtime, SEP_STR, STREQ, and STRNCPY.
| blender::bke::tests::TEST_F | ( | BPathTest | , |
| convert_to_absolute | ) |
Definition at line 125 of file bpath_test.cc.
References BASE_DIR, BKE_bpath_absolute_convert(), BLI_strdup(), MovieClip::filepath, Text::filepath, MOVIECLIP_PATH_ABSOLUTE, STRNCPY, TEXT_PATH_RELATIVE, and TEXT_PATH_RELATIVE_MADE_ABSOLUTE.
| blender::bke::tests::TEST_F | ( | BPathTest | , |
| convert_to_relative | ) |
Definition at line 109 of file bpath_test.cc.
References BASE_DIR, BKE_bpath_relative_convert(), BLI_strdup(), MovieClip::filepath, Text::filepath, MOVIECLIP_PATH_ABSOLUTE, MOVIECLIP_PATH_ABSOLUTE_MADE_RELATIVE, STRNCPY, and TEXT_PATH_RELATIVE.
| blender::bke::tests::TEST_F | ( | BPathTest | , |
| list_backup_restore | ) |
Definition at line 141 of file bpath_test.cc.
References BKE_bpath_list_backup(), BKE_bpath_list_free(), BKE_bpath_list_restore(), BLI_listbase_count(), BLI_strdup(), EXPECT_EQ(), MovieClip::filepath, Text::filepath, MEM_freeN(), MOVIECLIP_PATH_ABSOLUTE, MOVIECLIP_PATH_RELATIVE, STRNCPY, TEXT_PATH_ABSOLUTE, and TEXT_PATH_RELATIVE.
| blender::bke::tests::TEST_F | ( | BPathTest | , |
| rebase_on_absolute | ) |
Definition at line 94 of file bpath_test.cc.
References BASE_DIR, BKE_bpath_relative_rebase(), BLI_strdup(), MovieClip::filepath, Text::filepath, MOVIECLIP_PATH_ABSOLUTE, REBASE_DIR, STRNCPY, and TEXT_PATH_ABSOLUTE.
| blender::bke::tests::TEST_F | ( | BPathTest | , |
| rebase_on_relative | ) |
Definition at line 79 of file bpath_test.cc.
References BASE_DIR, BKE_bpath_relative_rebase(), BLI_strdup(), MovieClip::filepath, Text::filepath, MOVIECLIP_PATH_ITEM, MOVIECLIP_PATH_RELATIVE, REBASE_DIR, RELATIVE_ROOT, SEP_STR, STRNCPY, TEXT_PATH_ITEM, and TEXT_PATH_RELATIVE.
| blender::bke::tests::TEST_F | ( | ImageTest | , |
| multilayer | ) |
Definition at line 303 of file source/blender/blenkernel/intern/image_test.cc.
References SEP_STR.
|
static |
|
static |
Definition at line 86 of file layer_test.cc.
References AOV_CONFLICT, BKE_view_layer_has_valid_aov(), BKE_view_layer_verify_aov(), ViewLayerAOV::flag, ViewLayerAOV::name, ptr, RNA_boolean_set(), RNA_pointer_create(), STREQ, and STRNCPY.
Referenced by TEST().
|
static |
Generic function to test vec_roll_to_mat3_normalized.
Definition at line 117 of file armature_test.cc.
References copy_v3_v3(), EXPECT_M3_ORTHOGONAL(), normalize(), normalize_v3_v3(), ORTHO_EPSILON, SCALE_EPSILON, and vec_roll_to_mat3_normalized().
Referenced by TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), and test_vec_roll_to_mat3_orthogonal().
|
static |
Test that the matrix is orthogonal for an input close to -Y.
Definition at line 298 of file armature_test.cc.
References float, sqrt(), test_vec_roll_to_mat3_normalized(), 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 306 of file armature_test.cc.
References abs(), count, double(), interpd(), printf, and test_vec_roll_to_mat3_orthogonal().
|
static |
Definition at line 645 of file fcurve_test.cc.
References BEZT_BINARYSEARCH_THRESH, BKE_fcurve_create(), ED_keyframes_add(), and set_key().
Definition at line 21 of file armature_test.cc.
Definition at line 24 of file armature_test.cc.
Referenced by test_vec_roll_to_mat3_normalized().
Definition at line 23 of file armature_test.cc.
Referenced by test_vec_roll_to_mat3_normalized().
|
static |
Definition at line 13 of file file_handler_test.cc.
Referenced by file_handler_add_test(), TEST(), and TEST().