|
Blender V5.0
|
Classes | |
| class | ArmatureDeformTestBase |
| class | ArmatureDeformTest |
| class | BKE_armature_find_selected_bones_test |
| class | BPathTest |
| class | ImageTest |
| struct | LibIDMainSortTestContext |
| class | TestData |
| class | LibQueryTest |
| class | WholeIDTestData |
| class | IDSubDataTestData |
| class | LibRemapTest |
| class | MaterialTestData |
| class | MeshTestData |
| class | TwoMeshesTestData |
| class | MeshObjectTestData |
| class | BMainTest |
| class | BMainMergeTest |
| struct | PathTemplateTestCase |
| class | SceneTest |
| class | PaintBVHTest |
| class | GreasePencilInterpolate |
Enumerations | |
| enum class | TargetDataType { Mesh , EditMesh , Curves , GreasePencil } |
| enum class | InterpolationTest { Linear , DualQuaternion } |
| enum class | OutputValueTest { Position , PositionAndDeformMatrix } |
| enum class | WeightingTest { None , Envelope , VertexGroups , EnvelopeAndVertexGroups } |
| enum class | MaskingTest { All , VertexGroup } |
| enum class | VertexWeightSource { TargetObject , SeparateMesh } |
Functions | |
| TEST (action_groups, ReconstructGroupsWithReordering) | |
| TEST (action_assets, BKE_action_has_single_frame) | |
| TEST (anim_data, BKE_fcurves_id_cb_test) | |
| TEST_F (ArmatureDeformTest, MeshDeform) | |
| TEST_F (ArmatureDeformTest, EditMeshDeform) | |
| TEST_F (ArmatureDeformTest, CurvesDeform) | |
| TEST_F (ArmatureDeformTest, GreasePencilDeform) | |
| 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 (attribute_storage, Empty) | |
| TEST (attribute_storage, Single) | |
| TEST (attribute_storage, GetForWrite) | |
| TEST (attribute_storage, MultipleShared) | |
| TEST (attribute_storage, CopyConstruct) | |
| TEST (attribute_storage, MoveConstruct) | |
| TEST (attribute_storage, UniqueNames) | |
| 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, CyclicOffsets) | |
| TEST (curves_geometry, InvalidResolution) | |
| TEST (curves_geometry, CatmullRomEvaluation) | |
| TEST (curves_geometry, CatmullRomTwoPointCyclic) | |
| TEST (curves_geometry, BezierPositionEvaluation) | |
| TEST (curves_geometry, NURBSEvaluation) | |
| TEST (curves_geometry, BezierGenericEvaluation) | |
| TEST (knot_vector, KnotVectorUniform) | |
| TEST (knot_vector, KnotVectorUniformClamped) | |
| TEST (vertex_weights_normalize, EmptyWeights) | |
| TEST (vertex_weights_normalize, SingleWeight) | |
| TEST (vertex_weights_normalize, TwoWeights) | |
| TEST (vertex_weights_normalize, FourWeights) | |
| 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 (idproperties, CreateGroup) | |
| TEST (idproperties, AddToGroup) | |
| TEST (idproperties, ReplaceInGroup) | |
| TEST (idproperties, RemoveFromGroup) | |
| TEST (idproperties, ReplaceGroupInGroup) | |
| TEST (idproperties, SyncGroupValues) | |
| TEST (idproperties, ReprGroup) | |
| 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, re_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 (lib_id_make_local, brush) | |
| 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) | |
| static std::string | error_to_string (const Error &error) |
| static std::string | errors_to_string (Span< Error > errors) |
| TEST (path_templates, VariableMap) | |
| TEST (path_templates, VariableMap_add_filename_only) | |
| TEST (path_templates, VariableMap_add_path_up_to_file) | |
| TEST (path_templates, validate_and_apply_template) | |
| TEST (scene, frame_snap_by_seconds) | |
| TEST_F (SceneTest, linked_copy_id_remapping) | |
| TEST (subdiv_ccg_coord, to_index) | |
| TEST (subdiv_ccg_coord, constructor) | |
| TEST_F (PaintBVHTest, from_mesh) | |
| TEST_F (GreasePencilInterpolate, sample_curve_empty_output) | |
| TEST_F (GreasePencilInterpolate, sample_curve_same_length) | |
| TEST_F (GreasePencilInterpolate, sample_curve_shorter) | |
| TEST_F (GreasePencilInterpolate, sample_curve_longer) | |
| TEST_F (GreasePencilInterpolate, sample_zero_length_curve) | |
NURBS: Basis Cache Calculation | |
| TEST (curves_geometry, BasisCacheBezierSegmentDeg2) | |
| TEST (curves_geometry, BasisCacheNonUniformDeg2) | |
Knot vector: KnotMode::NURBS_KNOT_MODE_ENDPOINT_BEZIER | |
| TEST (knot_vector, KnotVectorBezierClampedSegmentDeg2) | |
| TEST (knot_vector, KnotVectorBezierClampedSegmentDeg4) | |
| TEST (knot_vector, KnotVectorBezierClampedDeg2) | |
| TEST (knot_vector, KnotVectorBezierClampedUnevenDeg2) | |
| TEST (knot_vector, KnotVectorBezierClampedDeg4) | |
| TEST (knot_vector, KnotVectorBezierClampedUnevenDeg4) | |
| TEST (knot_vector, KnotVectorCircleCyclicUnevenDeg2) | |
| TEST (knot_vector, KnotVectorBezierClampedCyclicUnevenDeg4) | |
Knot vector: KnotMode::NURBS_KNOT_MODE_BEZIER | |
| TEST (knot_vector, KnotVectorBezierSegmentDeg2) | |
| TEST (knot_vector, KnotVectorBezierUnevenDeg2) | |
| TEST (knot_vector, KnotVectorBezierUnevenDeg4) | |
| TEST (knot_vector, KnotVectorBezierCyclicUnevenDeg4) | |
Query Tests | |
| TEST_F (LibQueryTest, libquery_basic) | |
| TEST_F (LibQueryTest, libquery_recursive) | |
| TEST_F (LibQueryTest, libquery_subdata) | |
Embedded IDs | |
| TEST_F (LibRemapTest, embedded_ids_can_not_be_remapped) | |
| TEST_F (LibRemapTest, embedded_ids_can_not_be_deleted) | |
Remap to self | |
| TEST_F (LibRemapTest, delete_when_remap_to_self_not_allowed) | |
User Reference Counting | |
| TEST_F (LibRemapTest, users_are_decreased_when_not_skipping_never_null) | |
| TEST_F (LibRemapTest, users_are_same_when_skipping_never_null) | |
Never Null | |
| TEST_F (LibRemapTest, do_not_delete_when_cannot_unset) | |
| TEST_F (LibRemapTest, force_never_null_usage) | |
| TEST_F (LibRemapTest, never_null_usage_flag_not_requested_on_delete) | |
| TEST_F (LibRemapTest, never_null_usage_storage_requested_on_delete) | |
| TEST_F (LibRemapTest, never_null_usage_flag_not_requested_on_remap) | |
| TEST_F (LibRemapTest, 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] |
|
strong |
| Enumerator | |
|---|---|
| Linear | |
| DualQuaternion | |
Definition at line 51 of file armature_deform_test.cc.
|
strong |
| Enumerator | |
|---|---|
| All | |
| VertexGroup | |
Definition at line 76 of file armature_deform_test.cc.
|
strong |
| Enumerator | |
|---|---|
| Position | |
| PositionAndDeformMatrix | |
Definition at line 58 of file armature_deform_test.cc.
|
strong |
| Enumerator | |
|---|---|
| Mesh | |
| EditMesh | |
| Curves | |
| GreasePencil | |
Definition at line 44 of file armature_deform_test.cc.
|
strong |
| Enumerator | |
|---|---|
| TargetObject | |
| SeparateMesh | |
Definition at line 84 of file armature_deform_test.cc.
|
strong |
| Enumerator | |
|---|---|
| None | |
| Envelope | |
| VertexGroups | |
| EnvelopeAndVertexGroups | |
Definition at line 65 of file armature_deform_test.cc.
|
static |
Definition at line 399 of file lib_id_test.cc.
References BKE_id_new(), change_lib(), ID_OB, id_sort_by_name(), lib, name, and Main::objects.
Referenced by TEST().
Definition at line 63 of file lib_id_test.cc.
References BKE_main_namemap_get_unique_name(), BKE_main_namemap_remove_id(), and lib.
Referenced by add_id_in_library(), TEST(), TEST(), TEST(), and TEST().
|
static |
Definition at line 73 of file lib_id_test.cc.
References BKE_libblock_rename(), and name.
Definition at line 319 of file lib_id_test.cc.
References BKE_main_global_namemap_get_unique_name(), BKE_main_namemap_remove_id(), BLI_strncpy(), id_sort_by_name(), MAX_ID_NAME, name, and Main::objects.
Referenced by TEST().
|
static |
|
static |
Definition at line 15 of file path_templates_test.cc.
References error(), blender::bke::path_templates::FORMAT_SPECIFIER, blender::bke::path_templates::UNESCAPED_CURLY_BRACE, blender::bke::path_templates::UNKNOWN_VARIABLE, and blender::bke::path_templates::VARIABLE_SYNTAX.
Referenced by errors_to_string().
Definition at line 43 of file path_templates_test.cc.
References error(), and error_to_string().
Referenced by TEST().
|
static |
Test that the matrix is orthogonal, i.e. has no scale or shear within acceptable precision.
Definition at line 26 of file armature_test.cc.
References copy_m3d_m3(), blender::math::determinant(), determinant(), dot_v3v3_db(), blender::math::length(), and blender::MatBase< T, NumCol, NumRow, Alignment >::ptr().
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(), MAX_FILE_HANDLERS_TEST_SIZE, size(), STRNCPY(), and test_file_handlers.
Referenced by TEST().
|
static |
Binary search to test where the code switches to the most degenerate special case.
Definition at line 144 of file armature_test.cc.
References e, float, input, M_1_PI, normalize_v3(), sqrt, vec_roll_to_mat3_normalized(), x, and z().
|
static |
Definition at line 632 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 163 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 20 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_UTF8.
| blender::bke::tests::TEST | ( | anim_data | , |
| BKE_fcurves_id_cb_test | ) |
Definition at line 18 of file anim_data_test.cc.
References blender::animrig::action_fcurve_ensure(), blender::animrig::assign_action(), BKE_fcurves_id_cb(), BKE_id_new(), BKE_idtype_init(), BKE_main_free(), BKE_main_new(), BKE_object_add_only_object(), blender::Vector< T, InlineBufferCapacity, Allocator >::clear(), CLG_exit(), CLG_init(), EXPECT_EQ(), Object::id, OB_EMPTY, and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
| 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(), BLI_uuid_is_nil(), AssetMetaData::catalog_id, and AssetMetaData::catalog_simple_name.
| blender::bke::tests::TEST | ( | attribute_storage | , |
| CopyConstruct | ) |
Definition at line 112 of file attribute_storage_test.cc.
References blender::bke::AttributeStorage::add(), copy(), blender::bke::Corner, data, EXPECT_EQ(), and blender::bke::Float.
| blender::bke::tests::TEST | ( | attribute_storage | , |
| Empty | ) |
Definition at line 12 of file attribute_storage_test.cc.
References count, EXPECT_EQ(), and blender::bke::AttributeStorage::foreach().
| blender::bke::tests::TEST | ( | attribute_storage | , |
| GetForWrite | ) |
Definition at line 44 of file attribute_storage_test.cc.
References blender::bke::AttributeStorage::add(), blender::bke::Corner, data, blender::bke::Attribute::data_for_write(), EXPECT_EQ(), blender::bke::Float, and blender::bke::AttributeStorage::lookup().
| blender::bke::tests::TEST | ( | attribute_storage | , |
| MoveConstruct | ) |
Definition at line 135 of file attribute_storage_test.cc.
References blender::bke::AttributeStorage::add(), copy(), blender::bke::Corner, data, EXPECT_EQ(), and blender::bke::Float.
| blender::bke::tests::TEST | ( | attribute_storage | , |
| MultipleShared | ) |
Definition at line 79 of file attribute_storage_test.cc.
References blender::bke::AttributeStorage::add(), blender::bke::Corner, count, data, blender::bke::Attribute::data_for_write(), blender::bke::Edge, EXPECT_EQ(), blender::bke::Face, blender::bke::Float, blender::bke::AttributeStorage::foreach(), blender::bke::AttributeStorage::lookup(), and blender::bke::Point.
| blender::bke::tests::TEST | ( | attribute_storage | , |
| Single | ) |
Definition at line 20 of file attribute_storage_test.cc.
References blender::bke::AttributeStorage::add(), blender::bke::Corner, count, blender::bke::Attribute::data(), data, blender::bke::Attribute::data_type(), blender::bke::Attribute::domain(), EXPECT_EQ(), blender::bke::Float, blender::bke::AttributeStorage::foreach(), and blender::bke::AttributeStorage::lookup().
| blender::bke::tests::TEST | ( | attribute_storage | , |
| UniqueNames | ) |
Definition at line 158 of file attribute_storage_test.cc.
References blender::bke::AttributeStorage::add(), blender::bke::Corner, count, data, blender::bke::Edge, EXPECT_EQ(), blender::bke::Face, blender::bke::Float, blender::bke::AttributeStorage::foreach(), blender::bke::Point, and blender::bke::AttributeStorage::unique_name_calc().
| blender::bke::tests::TEST | ( | BKE_fcurve | , |
| BKE_fcurve_calc_bounds | ) |
Definition at line 483 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(), i, blender::animrig::insert_vert_fcurve(), INSERTKEY_NOFLAGS, SELECT, FCurve::totvert, and BezTriple::vec.
| blender::bke::tests::TEST | ( | BKE_fcurve | , |
| BKE_fcurve_calc_range | ) |
Definition at line 430 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(), i, 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 686 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 705 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 728 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 398 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 366 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 662 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 | , |
| BasisCacheBezierSegmentDeg2 | ) |
| blender::bke::tests::TEST | ( | curves_geometry | , |
| BasisCacheNonUniformDeg2 | ) |
Definition at line 575 of file curves_geometry_test.cc.
References blender::bke::curves::nurbs::calculate_basis_cache(), blender::bke::curves::nurbs::calculate_evaluated_num(), EXPECT_EQ(), i, is_cyclic(), blender::MutableSpan< T >::slice(), square_f(), step, and blender::bke::curves::nurbs::BasisCache::weights.
| blender::bke::tests::TEST | ( | curves_geometry | , |
| BezierGenericEvaluation | ) |
Definition at line 456 of file curves_geometry_test.cc.
References blender::Array< T, InlineBufferCapacity, Allocator >::as_mutable_span(), blender::Array< T, InlineBufferCapacity, Allocator >::as_span(), CURVE_TYPE_BEZIER, blender::MutableSpan< T >::first(), i, 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 281 of file curves_geometry_test.cc.
References CURVE_TYPE_BEZIER, EXPECT_EQ(), blender::MutableSpan< T >::first(), i, blender::Span< T >::index_range(), blender::MutableSpan< T >::last(), and blender::Span< T >::size().
| blender::bke::tests::TEST | ( | curves_geometry | , |
| CatmullRomEvaluation | ) |
Definition at line 136 of file curves_geometry_test.cc.
References CURVE_TYPE_CATMULL_ROM, blender::Span< T >::data(), EXPECT_EQ(), i, blender::Span< T >::index_range(), x, and y.
| blender::bke::tests::TEST | ( | curves_geometry | , |
| CatmullRomTwoPointCyclic | ) |
Definition at line 269 of file curves_geometry_test.cc.
References CURVE_TYPE_CATMULL_ROM, and EXPECT_EQ().
| blender::bke::tests::TEST | ( | curves_geometry | , |
| CyclicOffsets | ) |
Definition at line 88 of file curves_geometry_test.cc.
References create_basic_curves().
| blender::bke::tests::TEST | ( | curves_geometry | , |
| Empty | ) |
Definition at line 32 of file curves_geometry_test.cc.
References blender::bke::CurvesGeometry::bounds_min_max(), blender::bke::CurvesGeometry::cyclic(), and blender::bke::CurvesGeometry::is_empty().
| blender::bke::tests::TEST | ( | curves_geometry | , |
| InvalidResolution | ) |
Definition at line 116 of file curves_geometry_test.cc.
References create_basic_curves(), CURVE_TYPE_BEZIER, CURVE_TYPE_CATMULL_ROM, CURVE_TYPE_NURBS, CURVE_TYPE_POLY, blender::offset_indices::OffsetIndices< T >::data(), EXPECT_EQ(), i, and blender::offset_indices::OffsetIndices< T >::index_range().
| blender::bke::tests::TEST | ( | curves_geometry | , |
| Move | ) |
Definition at line 40 of file curves_geometry_test.cc.
References blender::bke::CurvesGeometry::bounds_min_max(), create_basic_curves(), Span< T >::data(), EXPECT_EQ(), blender::bke::CurvesGeometry::offsets(), and blender::bke::CurvesGeometry::positions().
| blender::bke::tests::TEST | ( | curves_geometry | , |
| NURBSEvaluation | ) |
Definition at line 365 of file curves_geometry_test.cc.
References CURVE_TYPE_NURBS, i, and blender::Span< T >::index_range().
| blender::bke::tests::TEST | ( | curves_geometry | , |
| TypeCount | ) |
Definition at line 65 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 22 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 194 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 159 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 96 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 134 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 53 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 74 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 29 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 303 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 235 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 add(), and 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 | ( | idproperties | , |
| AddToGroup | ) |
Definition at line 16 of file idprop_test.cc.
References blender::bke::idprop::create(), blender::bke::idprop::create_group(), EXPECT_EQ(), IDP_AddToGroup(), IDP_float_get, IDP_FreeProperty(), IDP_GetPropertyFromGroup(), and IDP_int_get.
| blender::bke::tests::TEST | ( | idproperties | , |
| CreateGroup | ) |
Definition at line 10 of file idprop_test.cc.
References blender::bke::idprop::create_group(), and IDP_FreeProperty().
| blender::bke::tests::TEST | ( | idproperties | , |
| RemoveFromGroup | ) |
Definition at line 44 of file idprop_test.cc.
References blender::bke::idprop::create(), blender::bke::idprop::create_group(), EXPECT_EQ(), IDP_AddToGroup(), IDP_float_get, IDP_FreeProperty(), IDP_GetPropertyFromGroup(), and IDP_RemoveFromGroup().
| blender::bke::tests::TEST | ( | idproperties | , |
| ReplaceGroupInGroup | ) |
Definition at line 57 of file idprop_test.cc.
References blender::bke::idprop::create(), blender::bke::idprop::create_group(), EXPECT_EQ(), IDP_AddToGroup(), IDP_FreeProperty(), IDP_GetPropertyFromGroup(), IDP_int_get, and IDP_ReplaceGroupInGroup().
| blender::bke::tests::TEST | ( | idproperties | , |
| ReplaceInGroup | ) |
Definition at line 32 of file idprop_test.cc.
References blender::bke::idprop::create(), blender::bke::idprop::create_group(), EXPECT_EQ(), IDP_AddToGroup(), IDP_float_get, IDP_FreeProperty(), IDP_GetPropertyFromGroup(), IDP_int_get, and IDP_ReplaceInGroup().
| blender::bke::tests::TEST | ( | idproperties | , |
| ReprGroup | ) |
Definition at line 96 of file idprop_test.cc.
References blender::bke::idprop::create(), blender::bke::idprop::create_bool(), blender::bke::idprop::create_group(), EXPECT_EQ(), IDP_AddToGroup(), IDP_FreeProperty(), IDP_reprN(), MEM_freeN(), and result.
| blender::bke::tests::TEST | ( | idproperties | , |
| SyncGroupValues | ) |
Definition at line 75 of file idprop_test.cc.
References blender::bke::idprop::create(), blender::bke::idprop::create_group(), EXPECT_EQ(), IDP_AddToGroup(), IDP_FreeProperty(), IDP_GetPropertyFromGroup(), IDP_int_get, and IDP_SyncGroupValues().
| blender::bke::tests::TEST | ( | knot_vector | , |
| KnotVectorBezierClampedCyclicUnevenDeg4 | ) |
Definition at line 772 of file curves_geometry_test.cc.
References blender::bke::curves::nurbs::calculate_knots(), blender::bke::curves::nurbs::calculate_multiplicity_sequence(), i, and blender::bke::curves::nurbs::knots_num().
| blender::bke::tests::TEST | ( | knot_vector | , |
| KnotVectorBezierClampedDeg2 | ) |
Definition at line 701 of file curves_geometry_test.cc.
References blender::bke::curves::nurbs::calculate_knots(), blender::bke::curves::nurbs::calculate_multiplicity_sequence(), and blender::bke::curves::nurbs::knots_num().
| blender::bke::tests::TEST | ( | knot_vector | , |
| KnotVectorBezierClampedDeg4 | ) |
Definition at line 727 of file curves_geometry_test.cc.
References blender::bke::curves::nurbs::calculate_knots(), blender::bke::curves::nurbs::calculate_multiplicity_sequence(), and blender::bke::curves::nurbs::knots_num().
| blender::bke::tests::TEST | ( | knot_vector | , |
| KnotVectorBezierClampedSegmentDeg2 | ) |
Definition at line 675 of file curves_geometry_test.cc.
References blender::bke::curves::nurbs::calculate_knots(), blender::bke::curves::nurbs::calculate_multiplicity_sequence(), and blender::bke::curves::nurbs::knots_num().
| blender::bke::tests::TEST | ( | knot_vector | , |
| KnotVectorBezierClampedSegmentDeg4 | ) |
Definition at line 688 of file curves_geometry_test.cc.
References blender::bke::curves::nurbs::calculate_knots(), blender::bke::curves::nurbs::calculate_multiplicity_sequence(), and blender::bke::curves::nurbs::knots_num().
| blender::bke::tests::TEST | ( | knot_vector | , |
| KnotVectorBezierClampedUnevenDeg2 | ) |
Definition at line 714 of file curves_geometry_test.cc.
References blender::bke::curves::nurbs::calculate_knots(), blender::bke::curves::nurbs::calculate_multiplicity_sequence(), and blender::bke::curves::nurbs::knots_num().
| blender::bke::tests::TEST | ( | knot_vector | , |
| KnotVectorBezierClampedUnevenDeg4 | ) |
Definition at line 740 of file curves_geometry_test.cc.
References blender::bke::curves::nurbs::calculate_knots(), blender::bke::curves::nurbs::calculate_multiplicity_sequence(), i, and blender::bke::curves::nurbs::knots_num().
| blender::bke::tests::TEST | ( | knot_vector | , |
| KnotVectorBezierCyclicUnevenDeg4 | ) |
| blender::bke::tests::TEST | ( | knot_vector | , |
| KnotVectorBezierSegmentDeg2 | ) |
Definition at line 797 of file curves_geometry_test.cc.
References blender::bke::curves::nurbs::calculate_knots(), blender::bke::curves::nurbs::calculate_multiplicity_sequence(), and blender::bke::curves::nurbs::knots_num().
| blender::bke::tests::TEST | ( | knot_vector | , |
| KnotVectorBezierUnevenDeg2 | ) |
| blender::bke::tests::TEST | ( | knot_vector | , |
| KnotVectorBezierUnevenDeg4 | ) |
| blender::bke::tests::TEST | ( | knot_vector | , |
| KnotVectorCircleCyclicUnevenDeg2 | ) |
Definition at line 759 of file curves_geometry_test.cc.
References blender::bke::curves::nurbs::calculate_knots(), blender::bke::curves::nurbs::calculate_multiplicity_sequence(), and blender::bke::curves::nurbs::knots_num().
| blender::bke::tests::TEST | ( | knot_vector | , |
| KnotVectorUniform | ) |
Definition at line 645 of file curves_geometry_test.cc.
References blender::bke::curves::nurbs::calculate_knots(), blender::bke::curves::nurbs::calculate_multiplicity_sequence(), and blender::bke::curves::nurbs::knots_num().
| blender::bke::tests::TEST | ( | knot_vector | , |
| KnotVectorUniformClamped | ) |
Definition at line 658 of file curves_geometry_test.cc.
References blender::bke::curves::nurbs::calculate_knots(), blender::bke::curves::nurbs::calculate_multiplicity_sequence(), and blender::bke::curves::nurbs::knots_num().
| blender::bke::tests::TEST | ( | lib_id_main_global_unique_name | , |
| linked_ids_1 | ) |
Definition at line 329 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 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(), 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 48 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 479 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 384 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 407 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 278 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 191 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 114 of file lib_id_test.cc.
References BKE_id_new(), BKE_main_namemap_get_unique_name(), BKE_main_namemap_validate(), BLI_listbase_is_empty(), BLI_STATIC_ASSERT, 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 234 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 765 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 631 of file lib_id_test.cc.
References BKE_id_free(), BKE_id_name(), BKE_id_new(), BKE_main_namemap_validate(), blender::bke::tests::LibIDMainSortTestContext::bmain, EXPECT_EQ(), i, ID_OB, ID::name, name, and Main::name_map_global.
| blender::bke::tests::TEST | ( | lib_id_main_unique_name | , |
| name_too_long_handling | ) |
Definition at line 431 of file lib_id_test.cc.
References BKE_id_name(), BKE_id_new(), BKE_main_namemap_validate(), BLI_STATIC_ASSERT, blender::bke::tests::LibIDMainSortTestContext::bmain, EXPECT_EQ(), ID_OB, MAX_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 748 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 | , |
| re_create_equivalent_numeric_suffixes | ) |
Definition at line 542 of file lib_id_test.cc.
References BKE_id_delete(), BKE_id_name(), BKE_id_new(), BKE_main_namemap_validate(), blender::bke::tests::LibIDMainSortTestContext::bmain, EXPECT_EQ(), ID_OB, and Main::name_map_global.
| blender::bke::tests::TEST | ( | lib_id_main_unique_name | , |
| remove_after_dup_get_original_name | ) |
Definition at line 610 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 720 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 591 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_make_local | , |
| brush | ) |
Definition at line 782 of file lib_id_test.cc.
References BKE_id_new(), BKE_lib_id_make_local(), blender::bke::tests::LibIDMainSortTestContext::bmain, change_lib(), EXPECT_EQ(), ID::flag, ID_BR, ID_FLAG_FAKEUSER, ID_LI, LIB_ID_MAKELOCAL_FORCE_COPY, ID::newid, and ID::us.
| blender::bke::tests::TEST | ( | mat3_vec_to_roll | , |
| Rotationmatrix | ) |
Definition at line 82 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 52 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 87 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 66 of file blenkernel/intern/nla_test.cc.
References NlaStrip::actend, NlaStrip::actstart, and BKE_nla_clip_length_get_nonzero().
| blender::bke::tests::TEST | ( | nla_strip | , |
| BKE_nlastrip_recalculate_blend | ) |
Definition at line 15 of file blenkernel/intern/nla_test.cc.
References BKE_nlastrip_recalculate_blend(), NlaStrip::blendin, NlaStrip::blendout, NlaStrip::end, and NlaStrip::start.
| blender::bke::tests::TEST | ( | nla_strip | , |
| BKE_nlastrips_add_strip | ) |
Definition at line 42 of file blenkernel/intern/nla_test.cc.
References BKE_nlastrips_add_strip(), NlaStrip::end, ListBase::first, and NlaStrip::start.
| blender::bke::tests::TEST | ( | nla_track | , |
| BKE_nlatrack_new_head | ) |
Definition at line 176 of file blenkernel/intern/nla_test.cc.
References BKE_nlatrack_new_head(), BKE_nlatrack_remove_and_free(), BLI_findindex(), EXPECT_EQ(), and AnimData::nla_tracks.
| blender::bke::tests::TEST | ( | nla_track | , |
| BKE_nlatrack_new_tail | ) |
Definition at line 161 of file blenkernel/intern/nla_test.cc.
References BKE_nlatrack_new_tail(), BKE_nlatrack_remove_and_free(), BLI_findindex(), EXPECT_EQ(), and AnimData::nla_tracks.
| blender::bke::tests::TEST | ( | nla_track | , |
| BKE_nlatrack_remove_and_free | ) |
Definition at line 138 of file blenkernel/intern/nla_test.cc.
References BKE_nlatrack_new_tail(), BKE_nlatrack_remove_and_free(), BLI_findindex(), BLI_listbase_count(), EXPECT_EQ(), and AnimData::nla_tracks.
| blender::bke::tests::TEST | ( | nla_track | , |
| BKE_nlatrack_remove_strip | ) |
Definition at line 112 of file blenkernel/intern/nla_test.cc.
References BKE_nlastrips_add_strip(), BKE_nlatrack_remove_strip(), BLI_findindex(), BLI_listbase_count(), NlaStrip::end, EXPECT_EQ(), NlaStrip::start, and NlaTrack::strips.
| blender::bke::tests::TEST | ( | path_templates | , |
| validate_and_apply_template | ) |
Definition at line 224 of file path_templates_test.cc.
References blender::bke::path_templates::VariableMap::add_filepath(), blender::bke::path_templates::VariableMap::add_float(), blender::bke::path_templates::VariableMap::add_integer(), blender::bke::path_templates::VariableMap::add_string(), BKE_path_apply_template(), BKE_path_validate_template(), errors_to_string(), EXPECT_EQ(), FILE_MAX, blender::bke::path_templates::FORMAT_SPECIFIER, STRNCPY(), blender::bke::path_templates::UNKNOWN_VARIABLE, and blender::bke::path_templates::VARIABLE_SYNTAX.
| blender::bke::tests::TEST | ( | path_templates | , |
| VariableMap | ) |
Definition at line 63 of file path_templates_test.cc.
References blender::bke::path_templates::VariableMap::add_filepath(), blender::bke::path_templates::VariableMap::add_float(), blender::bke::path_templates::VariableMap::add_integer(), blender::bke::path_templates::VariableMap::add_string(), blender::bke::path_templates::VariableMap::contains(), EXPECT_EQ(), blender::bke::path_templates::VariableMap::get_filepath(), blender::bke::path_templates::VariableMap::get_float(), blender::bke::path_templates::VariableMap::get_integer(), blender::bke::path_templates::VariableMap::get_string(), and blender::bke::path_templates::VariableMap::remove().
| blender::bke::tests::TEST | ( | path_templates | , |
| VariableMap_add_filename_only | ) |
Definition at line 149 of file path_templates_test.cc.
References blender::bke::path_templates::VariableMap::add_filename_only(), EXPECT_EQ(), and blender::bke::path_templates::VariableMap::get_filepath().
| blender::bke::tests::TEST | ( | path_templates | , |
| VariableMap_add_path_up_to_file | ) |
| blender::bke::tests::TEST | ( | scene | , |
| frame_snap_by_seconds | ) |
Definition at line 28 of file scene_test.cc.
References BKE_scene_frame_snap_by_seconds(), RenderData::frs_sec, RenderData::frs_sec_base, and Scene::r.
| blender::bke::tests::TEST | ( | subdiv_ccg_coord | , |
| constructor | ) |
Definition at line 37 of file subdiv_ccg_test.cc.
References CCG_grid_size(), 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 CCG_grid_size(), 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 36 of file source/blender/blenkernel/intern/image_test.cc.
References BKE_image_ensure_tile_token_filename_only(), FILE_MAX, result, and STRNCPY().
| blender::bke::tests::TEST | ( | udim | , |
| image_get_tile_number_from_filepath | ) |
Definition at line 129 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 97 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 184 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 186 of file armature_test.cc.
References input, test_vec_roll_to_mat3_normalized(), and vec_roll_to_mat3_normalized().
| blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
| Flipped2 | ) |
Definition at line 195 of file armature_test.cc.
References e, input, test_vec_roll_to_mat3_normalized(), and vec_roll_to_mat3_normalized().
| blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
| Flipped3 | ) |
Definition at line 206 of file armature_test.cc.
References input, test_vec_roll_to_mat3_normalized(), and vec_roll_to_mat3_normalized().
| blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
| FlippedBoundary1 | ) |
Definition at line 175 of file armature_test.cc.
References find_flip_boundary(), and vec_roll_to_mat3_normalized().
| blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
| FlippedBoundary2 | ) |
Definition at line 180 of file armature_test.cc.
References find_flip_boundary(), and vec_roll_to_mat3_normalized().
| blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
| Generic1 | ) |
Definition at line 250 of file armature_test.cc.
References input, test_vec_roll_to_mat3_normalized(), and vec_roll_to_mat3_normalized().
| blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
| Generic2 | ) |
Definition at line 259 of file armature_test.cc.
References input, test_vec_roll_to_mat3_normalized(), and vec_roll_to_mat3_normalized().
| blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
| Generic3 | ) |
Definition at line 268 of file armature_test.cc.
References input, test_vec_roll_to_mat3_normalized(), and vec_roll_to_mat3_normalized().
| blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
| Generic4 | ) |
Definition at line 277 of file armature_test.cc.
References input, test_vec_roll_to_mat3_normalized(), and vec_roll_to_mat3_normalized().
| blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
| Roll1 | ) |
Definition at line 287 of file armature_test.cc.
References input, M_PI_2, test_vec_roll_to_mat3_normalized(), and vec_roll_to_mat3_normalized().
| blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
| Rotate90_X_CCW | ) |
Definition at line 241 of file armature_test.cc.
References input, test_vec_roll_to_mat3_normalized(), and vec_roll_to_mat3_normalized().
| blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
| Rotate90_X_CW | ) |
Definition at line 233 of file armature_test.cc.
References input, test_vec_roll_to_mat3_normalized(), and vec_roll_to_mat3_normalized().
| blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
| Rotate90_Z_CCW | ) |
Definition at line 225 of file armature_test.cc.
References input, test_vec_roll_to_mat3_normalized(), and vec_roll_to_mat3_normalized().
| blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
| Rotate90_Z_CW | ) |
Definition at line 217 of file armature_test.cc.
References input, test_vec_roll_to_mat3_normalized(), and vec_roll_to_mat3_normalized().
| blender::bke::tests::TEST | ( | vertex_weights_normalize | , |
| EmptyWeights | ) |
Definition at line 13 of file deform_test.cc.
References BKE_defvert_normalize_ex().
| blender::bke::tests::TEST | ( | vertex_weights_normalize | , |
| FourWeights | ) |
Definition at line 168 of file deform_test.cc.
References BKE_defvert_normalize_ex(), MDeformWeight::def_nr, and MDeformWeight::weight.
| blender::bke::tests::TEST | ( | vertex_weights_normalize | , |
| SingleWeight | ) |
Definition at line 26 of file deform_test.cc.
References BKE_defvert_normalize_ex(), MDeformWeight::def_nr, and MDeformWeight::weight.
| blender::bke::tests::TEST | ( | vertex_weights_normalize | , |
| TwoWeights | ) |
Definition at line 79 of file deform_test.cc.
References BKE_defvert_normalize_ex(), MDeformWeight::def_nr, and MDeformWeight::weight.
| blender::bke::tests::TEST | ( | view_layer | , |
| aov_conflict | ) |
Definition at line 116 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, Scene::id, IDType_ID_SCE, IMB_exit(), IMB_init(), Scene::r, RE_engine_create(), RE_engine_free(), RE_engines_exit(), RE_engines_find(), RE_engines_init(), test_render_pass_conflict(), and Scene::view_layers.
| blender::bke::tests::TEST | ( | view_layer | , |
| aov_unique_names | ) |
Definition at line 23 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(), RenderData::engine, EXPECT_EQ(), ListBase::first, ViewLayerAOV::flag, Scene::id, IDType_ID_SCE, IMB_exit(), IMB_init(), ViewLayerAOV::name, Scene::r, RE_engine_create(), RE_engine_free(), RE_engines_exit(), RE_engines_find(), RE_engines_init(), STREQ, STRNCPY(), and Scene::view_layers.
| blender::bke::tests::TEST_F | ( | ArmatureDeformTest | , |
| CurvesDeform | ) |
Definition at line 832 of file armature_deform_test.cc.
References All, DualQuaternion, Envelope, EnvelopeAndVertexGroups, Linear, mask(), None, output, Position, PositionAndDeformMatrix, VertexGroup, and VertexGroups.
| blender::bke::tests::TEST_F | ( | ArmatureDeformTest | , |
| EditMeshDeform | ) |
Definition at line 813 of file armature_deform_test.cc.
References All, DualQuaternion, Envelope, EnvelopeAndVertexGroups, Linear, mask(), None, output, Position, PositionAndDeformMatrix, VertexGroup, and VertexGroups.
| blender::bke::tests::TEST_F | ( | ArmatureDeformTest | , |
| GreasePencilDeform | ) |
Definition at line 851 of file armature_deform_test.cc.
References All, DualQuaternion, Envelope, EnvelopeAndVertexGroups, Linear, mask(), None, output, Position, PositionAndDeformMatrix, VertexGroup, and VertexGroups.
| blender::bke::tests::TEST_F | ( | ArmatureDeformTest | , |
| MeshDeform | ) |
Definition at line 790 of file armature_deform_test.cc.
References All, DualQuaternion, Envelope, EnvelopeAndVertexGroups, Linear, mask(), None, output, Position, PositionAndDeformMatrix, SeparateMesh, TargetObject, VertexGroup, and VertexGroups.
| blender::bke::tests::TEST_F | ( | BKE_armature_find_selected_bones_test | , |
| all_bones_selected | ) |
Definition at line 405 of file armature_test.cc.
References blender::bke::BKE_armature_find_selected_bones(), BONE_SELECTED, EXPECT_EQ(), and result.
| blender::bke::tests::TEST_F | ( | BKE_armature_find_selected_bones_test | , |
| no_bones_selected | ) |
Definition at line 391 of file armature_test.cc.
References blender::bke::BKE_armature_find_selected_bones(), and result.
| blender::bke::tests::TEST_F | ( | BKE_armature_find_selected_bones_test | , |
| some_bones_selected | ) |
Definition at line 372 of file armature_test.cc.
References blender::bke::BKE_armature_find_selected_bones(), BONE_SELECTED, EXPECT_EQ(), and result.
| blender::bke::tests::TEST_F | ( | BMainMergeTest | , |
| basics | ) |
Definition at line 59 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, 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 119 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, Collection::id, Object::id, 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 124 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 108 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 140 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 93 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 78 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 | ( | GreasePencilInterpolate | , |
| sample_curve_empty_output | ) |
Definition at line 114 of file GEO_interpolate_curves_test.cc.
| blender::bke::tests::TEST_F | ( | GreasePencilInterpolate | , |
| sample_curve_longer | ) |
Definition at line 181 of file GEO_interpolate_curves_test.cc.
| blender::bke::tests::TEST_F | ( | GreasePencilInterpolate | , |
| sample_curve_same_length | ) |
Definition at line 123 of file GEO_interpolate_curves_test.cc.
| blender::bke::tests::TEST_F | ( | GreasePencilInterpolate | , |
| sample_curve_shorter | ) |
Definition at line 163 of file GEO_interpolate_curves_test.cc.
| blender::bke::tests::TEST_F | ( | GreasePencilInterpolate | , |
| sample_zero_length_curve | ) |
Definition at line 275 of file GEO_interpolate_curves_test.cc.
| blender::bke::tests::TEST_F | ( | ImageTest | , |
| multilayer | ) |
Definition at line 309 of file source/blender/blenkernel/intern/image_test.cc.
References SEP_STR.
| blender::bke::tests::TEST_F | ( | LibQueryTest | , |
| libquery_basic | ) |
Definition at line 151 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_F | ( | LibQueryTest | , |
| libquery_recursive | ) |
Definition at line 207 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_F | ( | LibQueryTest | , |
| libquery_subdata | ) |
Definition at line 262 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_F | ( | LibRemapTest | , |
| delete_when_remap_to_self_not_allowed | ) |
Definition at line 177 of file lib_remap_test.cc.
References BKE_libblock_remap(), and EXPECT_EQ().
| blender::bke::tests::TEST_F | ( | LibRemapTest | , |
| do_not_delete_when_cannot_unset | ) |
Definition at line 236 of file lib_remap_test.cc.
References BKE_libblock_remap(), EXPECT_EQ(), and ID_REMAP_SKIP_NEVER_NULL_USAGE.
| blender::bke::tests::TEST_F | ( | LibRemapTest | , |
| embedded_ids_can_not_be_deleted | ) |
Definition at line 157 of file lib_remap_test.cc.
References BKE_libblock_remap(), EXPECT_EQ(), and ID_REMAP_SKIP_NEVER_NULL_USAGE.
| blender::bke::tests::TEST_F | ( | LibRemapTest | , |
| embedded_ids_can_not_be_remapped | ) |
Definition at line 141 of file lib_remap_test.cc.
References BKE_id_free(), BKE_id_new_nomain(), BKE_libblock_remap(), and EXPECT_EQ().
| blender::bke::tests::TEST_F | ( | LibRemapTest | , |
| force_never_null_usage | ) |
Definition at line 248 of file lib_remap_test.cc.
References BKE_libblock_remap(), EXPECT_EQ(), and ID_REMAP_FORCE_NEVER_NULL_USAGE.
| blender::bke::tests::TEST_F | ( | LibRemapTest | , |
| never_null_usage_flag_not_requested_on_delete | ) |
Definition at line 259 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_F | ( | LibRemapTest | , |
| never_null_usage_flag_not_requested_on_remap | ) |
Definition at line 295 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_F | ( | LibRemapTest | , |
| never_null_usage_storage_requested_on_delete | ) |
Definition at line 274 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_F | ( | LibRemapTest | , |
| never_null_usage_storage_requested_on_remap | ) |
Definition at line 310 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_F | ( | LibRemapTest | , |
| users_are_decreased_when_not_skipping_never_null | ) |
Definition at line 196 of file lib_remap_test.cc.
References BKE_libblock_remap(), EXPECT_EQ(), and ID_TAG_DOIT.
| blender::bke::tests::TEST_F | ( | LibRemapTest | , |
| users_are_same_when_skipping_never_null | ) |
Definition at line 214 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_F | ( | PaintBVHTest | , |
| from_mesh | ) |
Definition at line 44 of file paint_test.cc.
References blender::bke::pbvh::Tree::from_mesh(), and tree.
| blender::bke::tests::TEST_F | ( | SceneTest | , |
| linked_copy_id_remapping | ) |
Definition at line 91 of file scene_test.cc.
References AnimData::action, BKE_animdata_from_id(), BKE_animdata_set_action(), BKE_id_new(), BKE_scene_duplicate(), blender::bke::idprop::create(), EXPECT_EQ(), bAction::id, Scene::id, IDP_AddToGroup(), IDP_EnsureProperties(), IDP_GetProperties(), IDP_GetPropertyFromGroup(), IDP_ID_get, LIB_ID_DUPLICATE_IS_ROOT_ID, SCE_COPY_LINK_COLLECTION, U, and USER_DUP_OBJECT.
|
static |
|
static |
Definition at line 84 of file layer_test.cc.
References AOV_CONFLICT, BKE_view_layer_has_valid_aov(), BKE_view_layer_verify_aov(), ViewLayerAOV::flag, Scene::id, ViewLayerAOV::name, ptr, RNA_boolean_set(), RNA_pointer_create_discrete(), STREQ, and STRNCPY().
Referenced by TEST().
|
static |
Generic function to test vec_roll_to_mat3_normalized.
Definition at line 116 of file armature_test.cc.
References copy_v3_v3(), EXPECT_M3_ORTHOGONAL(), input, 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 297 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 305 of file armature_test.cc.
References abs, count, i, interpd(), printf, and test_vec_roll_to_mat3_orthogonal().
|
static |
Definition at line 643 of file fcurve_test.cc.
References BEZT_BINARYSEARCH_THRESH, BKE_fcurve_create(), ED_keyframes_add(), and set_key().
Definition at line 20 of file armature_test.cc.
Definition at line 23 of file armature_test.cc.
Referenced by test_vec_roll_to_mat3_normalized().
Definition at line 22 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().