|
Blender V5.3
|
Typedefs | |
| using | TableArray = std::vector<std::map<std::string, std::string>> |
| using | BundlePtr |
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_F (AnimDataTest, 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_F (ArmatureBoneIndexTest, armature_init_data) | |
| TEST_F (ArmatureBoneIndexTest, armature_copy_data) | |
| TEST_F (PoseBoneIndexTest, pose_bone_get) | |
| TEST_F (PoseBoneIndexTest, reassign_armature_copy) | |
| TEST_F (PoseBoneIndexTest, pose_rebuild_test) | |
| TEST_F (AssetMetadataTest, set_catalog_id) | |
| TEST_F (AttributeStorageTest, Empty) | |
| TEST_F (AttributeStorageTest, Single) | |
| TEST_F (AttributeStorageTest, Iterator) | |
| TEST_F (AttributeStorageTest, GetForWrite) | |
| TEST_F (AttributeStorageTest, MultipleShared) | |
| TEST_F (AttributeStorageTest, CopyConstruct) | |
| TEST_F (AttributeStorageTest, MoveConstruct) | |
| TEST_F (AttributeStorageTest, UniqueNames) | |
| TEST_F (BlenderProjectTest, blender_project_init_clear_test) | |
| TEST_F (BlenderProjectTest, blender_project_replace_test) | |
| TEST_F (BlenderProjectTest, blender_project_name_and_path_test) | |
| TEST_F (BlenderProjectTest, blender_project_path_make_relative_test) | |
| TEST_F (BlenderProjectTest, blender_project_variable_new_test) | |
| TEST_F (BlenderProjectTest, blender_project_variable_new_names_test) | |
| TEST_F (BlenderProjectTest, blender_project_variable_rename_test) | |
| TEST_F (BlenderProjectTest, blender_project_variable_subtype_test) | |
| TEST_F (BlenderProjectTest, blender_project_variable_value_test) | |
| TEST_F (BlenderProjectTest, blender_project_variable_description_test) | |
| TEST_F (BlenderProjectTest, blender_project_variable_move_test) | |
| TEST_F (BlenderProjectTest, blender_project_variable_remove_test) | |
| 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_F (CurvesGeometryTest, Empty) | |
| TEST_F (CurvesGeometryTest, Move) | |
| TEST_F (CurvesGeometryTest, TypeCount) | |
| TEST_F (CurvesGeometryTest, CyclicOffsets) | |
| TEST_F (CurvesGeometryTest, InvalidResolution) | |
| TEST_F (CurvesGeometryTest, AlignedHandleWithCoincidentVectorHandle) | |
| TEST_F (CurvesGeometryTest, CatmullRomEvaluation) | |
| TEST_F (CurvesGeometryTest, CatmullRomTwoPointCyclic) | |
| TEST_F (CurvesGeometryTest, BezierPositionEvaluation) | |
| TEST_F (CurvesGeometryTest, BezierGenericEvaluation) | |
| TEST_F (KnotVectorTest, KnotVectorUniform) | |
| TEST_F (KnotVectorTest, KnotVectorUniformClamped) | |
| TEST_F (DeformWeightsNormalizeTest, EmptyWeights) | |
| TEST_F (DeformWeightsNormalizeTest, SingleWeight) | |
| TEST_F (DeformWeightsNormalizeTest, TwoWeights) | |
| TEST_F (DeformWeightsNormalizeTest, FourWeights) | |
| TEST_F (EvaluateFCurveTest, EmptyFCurve) | |
| TEST_F (EvaluateFCurveTest, OnKeys) | |
| TEST_F (EvaluateFCurveTest, InterpolationConstant) | |
| TEST_F (EvaluateFCurveTest, InterpolationLinear) | |
| TEST_F (EvaluateFCurveTest, InterpolationBezier) | |
| TEST_F (EvaluateFCurveTest, InterpolationBounce) | |
| TEST_F (EvaluateFCurveTest, ExtrapolationLinearKeys) | |
| TEST_F (EvaluateFCurveTest, ExtrapolationBezierKeys) | |
| TEST_F (FCurveSubdivideTest, BKE_fcurve_bezt_subdivide_handles) | |
| TEST_F (FCurveActiveKeyframeTest, ActiveKeyframe) | |
| TEST_F (BKE_FCurveTest, BKE_fcurve_keyframe_move_value_with_handles) | |
| TEST_F (BKE_FCurveTest, BKE_fcurve_keyframe_move_time_with_handles) | |
| TEST_F (BKE_FCurveTest, BKE_fcurve_calc_range) | |
| TEST_F (BKE_FCurveTest, 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_F (BKE_FCurveTest, sort_time_fcurve_stability) | |
| TEST_F (BKE_FCurveTest, BKE_fcurve_deduplicate_keys) | |
| TEST_F (BKE_FCurveTest, BKE_fcurve_deduplicate_keys_edge_cases) | |
| TEST_F (BKE_FCurveTest, 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, Vector< std::string > expected_file_extensions) |
| TEST_F (FileHandlerTest, add) | |
| TEST_F (FileHandlerTest, find) | |
| TEST_F (FileHandlerTest, remove) | |
| static void | expect_label_with_extensions (const char *label, Vector< std::string > file_extensions, const std::string &expected) |
| TEST_F (FileHandlerTest, label_with_extensions) | |
| static bool | idp_string_is_valid_utf8 (const IDProperty *prop) |
| TEST_F (IDPropertyTest, NewStringMaxSizeUtf8Truncate) | |
| TEST_F (IDPropertyTest, AssignStringMaxSizeUtf8Truncate) | |
| TEST_F (IDPropertyTest, AssignStringMaxSizeBytesIgnoreUtf8) | |
| TEST_F (IDPropertyTest, CreateGroup) | |
| TEST_F (IDPropertyTest, AddToGroup) | |
| TEST_F (IDPropertyTest, ReplaceInGroup) | |
| TEST_F (IDPropertyTest, RemoveFromGroup) | |
| TEST_F (IDPropertyTest, ReplaceGroupInGroup) | |
| TEST_F (IDPropertyTest, SyncGroupValues) | |
| TEST_F (IDPropertyTest, GroupLookupFloatArray) | |
| TEST_F (IDPropertyTest, ReprGroup) | |
| TEST_F (UdimTest, image_ensure_tile_token) | |
| TEST_F (UdimTest, image_get_tile_strformat) | |
| TEST_F (UdimTest, image_get_tile_number_from_filepath) | |
| TEST_F (UdimTest, image_set_filepath_from_tile_number) | |
| TEST_F (ImageTest, multilayer) | |
| TEST_F (ShapekeyTest, mesh_key_creation) | |
| TEST_F (ShapekeyTest, mesh_key_evaluation_relative) | |
| TEST_F (ShapekeyTest, mesh_key_evaluation_absolute) | |
| TEST_F (ShapekeyTest, mesh_key_evaluation_relative_uneqal_element_count) | |
| TEST_F (ShapekeyTest, mesh_key_evaluation_absolute_uneqal_element_count) | |
| TEST_F (ViewLayerTest, 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_F (ViewLayerTest, aov_conflict) | |
| static void | test_lib_id_main_sort_check_order (std::initializer_list< ID * > list) |
| TEST_F (LibIDMainSortTest, 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_F (LibIDMainSortTest, linked_ids_1) | |
| TEST_F (LibIDMainUniqueNameTest, local_ids_rename_existing_never) | |
| TEST_F (LibIDMainUniqueNameTest, local_ids_rename_existing_always) | |
| TEST_F (LibIDMainUniqueNameTest, local_ids_rename_existing_same_root) | |
| TEST_F (LibIDMainUniqueNameTest, linked_ids_1) | |
| static void | change_name_global (Main *bmain, ID *id, const char *name) |
| TEST_F (LibIDMainGlobalUniqueNameTest, linked_ids_1) | |
| TEST_F (LibIDMainUniqueNameTest, ids_sorted_by_default) | |
| static ID * | add_id_in_library (Main *bmain, const char *name, Library *lib) |
| TEST_F (LibIDMainUniqueNameTest, ids_sorted_by_default_with_libraries) | |
| TEST_F (LibIDMainUniqueNameTest, name_too_long_handling) | |
| TEST_F (LibIDMainUniqueNameTest, create_equivalent_numeric_suffixes) | |
| TEST_F (LibIDMainUniqueNameTest, re_create_equivalent_numeric_suffixes) | |
| TEST_F (LibIDMainUniqueNameTest, zero_suffix_is_never_assigned) | |
| TEST_F (LibIDMainUniqueNameTest, remove_after_dup_get_original_name) | |
| TEST_F (LibIDMainUniqueNameTest, name_number_suffix_assignment) | |
| TEST_F (LibIDMainUniqueNameTest, renames_with_duplicates) | |
| TEST_F (LibIDMainUniqueNameTest, names_are_unique_per_id_type) | |
| TEST_F (LibIDMainUniqueNameTest, name_huge_number_suffix) | |
| TEST_F (LibIDMakeLocalTest, brush) | |
| TEST_F (BMainNameMapTest, global_map_uniqueness) | |
| TEST_F (BMainAllIDsIteratorTest, basics) | |
| TEST_F (BMainMergeTest, basics) | |
| TEST_F (BMainMergeTest, linked_data) | |
| TEST_F (BMainMergeTest, link_lib_packed) | |
| TEST_F (NlaStripTest, BKE_nlastrip_recalculate_blend) | |
| TEST_F (NlaStripTest, BKE_nlastrips_add_strip) | |
| TEST_F (NlaStripTest, BKE_nla_clip_length_get_nonzero) | |
| TEST_F (NlaStripTest, BKE_nla_clip_length_ensure_nonzero) | |
| TEST_F (NlaTrackTest, BKE_nlatrack_remove_strip) | |
| TEST_F (NlaTrackTest, BKE_nlatrack_remove_and_free) | |
| TEST_F (NlaTrackTest, BKE_nlatrack_new_tail) | |
| TEST_F (NlaTrackTest, BKE_nlatrack_new_head) | |
| TEST_F (SocketValueVariantTest, SimpleInt) | |
| TEST_F (SocketValueVariantTest, IntToFloat) | |
| TEST_F (SocketValueVariantTest, IntToIntField) | |
| TEST_F (SocketValueVariantTest, IntToFloatField) | |
| TEST_F (SocketValueVariantTest, IntToGField) | |
| TEST_F (SocketValueVariantTest, ConstantIntFieldToInt) | |
| TEST_F (SocketValueVariantTest, ConstantIntFieldToFloat) | |
| TEST_F (SocketValueVariantTest, ConstIntFieldToFloatField) | |
| TEST_F (SocketValueVariantTest, IndexFieldToFloatField) | |
| TEST_F (SocketValueVariantTest, SimpleList) | |
| TEST_F (SocketValueVariantTest, IntListToFloatList) | |
| TEST_F (SocketValueVariantTest, IntToIntList) | |
| TEST_F (SocketValueVariantTest, SimpleString) | |
| TEST_F (SocketValueVariantTest, SimpleBundle) | |
| static std::string | error_to_string (const Error &error) |
| static std::string | errors_to_string (Span< Error > errors) |
| TEST_F (PathTemplatesTest, VariableMap) | |
| TEST_F (PathTemplatesTest, VariableMap_add_filename_only) | |
| TEST_F (PathTemplatesTest, VariableMap_add_path_up_to_file) | |
| TEST_F (PathTemplatesTest, validate_and_apply_template) | |
| TEST_F (PathTemplatesTest, escape_template) | |
| TEST_F (PathTemplatesTest, apply_template_alloc) | |
| TEST_F (RecentsTest, GetUnsetValueReturnsTypeDefault) | |
| TEST_F (RecentsTest, SetThenGetRoundTrip) | |
| TEST_F (RecentsTest, RootSectionStoresAtTopLevel) | |
| TEST_F (RecentsTest, SetInSectionThatIsNotATable) | |
| TEST_F (RecentsTest, GetWrongTypeReturnsTypeDefault) | |
| TEST_F (RecentsTest, ArrayOfTablesRoundTrip) | |
| TEST_F (RecentsTest, BuiltinRootDefaultsAreReadable) | |
| TEST_F (RecentsTest, SectionsAreIsolated) | |
| TEST_F (RecentsTest, RemoveItemFallsBackToDefault) | |
| TEST_F (RecentsTest, RemoveSectionClearsAllItems) | |
| TEST_F (RecentsTest, BuiltinSectionLevelDefault) | |
| TEST_F (RecentsTest, PerKeyDefaultOverridesSectionLevelDefault) | |
| TEST_F (RecentsTest, UserValueOverridesBuiltinDefault) | |
| TEST_F (RecentsTest, UserSectionDefaultOverridesBuiltinSectionDefault) | |
| TEST_F (RecentsTest, SaveIsNoOpInBackgroundMode) | |
| TEST_F (RecentsTest, SaveStampsBlenderVersion) | |
| TEST_F (RecentsTest, ExplicitInitIsSafeToCallAgain) | |
| TEST_F (SceneTest, frame_snap_by_seconds) | |
| TEST_F (SceneTest, linked_copy_id_remapping) | |
| TEST_F (SubdivCcgCoordTest, to_index) | |
| TEST_F (SubdivCcgCoordTest, constructor) | |
| TEST_F (MeshPaintBVHTest, from_mesh) | |
| TEST_F (GridsBVHTest, from_grids) | |
| TEST_F (BMeshPaintBVHTest, from_bmesh) | |
| 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: Evaluation | |
| static CurvesGeometry | create_single_nurbs (const int num_points) |
| TEST_F (CurvesGeometryTest, NURBSEvaluation) | |
| TEST_F (CurvesGeometryTest, NURBSEvaluateZeroOrderBezierDeg3) | |
| TEST_F (CurvesGeometryTest, NURBSEvaluateZeroOrderClampedDeg3) | |
NURBS: Basis Cache Calculation | |
| TEST_F (CurvesGeometryTest, BasisCacheBezierSegmentDeg2) | |
| TEST_F (CurvesGeometryTest, BasisCacheNonUniformDeg2) | |
Knot vector: KnotMode::NURBS_KNOT_MODE_ENDPOINT_BEZIER | |
| TEST_F (KnotVectorTest, KnotVectorBezierClampedSegmentDeg2) | |
| TEST_F (KnotVectorTest, KnotVectorBezierClampedSegmentDeg4) | |
| TEST_F (KnotVectorTest, KnotVectorBezierClampedDeg2) | |
| TEST_F (KnotVectorTest, KnotVectorBezierClampedUnevenDeg2) | |
| TEST_F (KnotVectorTest, KnotVectorBezierClampedDeg4) | |
| TEST_F (KnotVectorTest, KnotVectorBezierClampedUnevenDeg4) | |
| TEST_F (KnotVectorTest, KnotVectorCircleCyclicUnevenDeg2) | |
| TEST_F (KnotVectorTest, KnotVectorBezierClampedCyclicUnevenDeg4) | |
Knot vector: KnotMode::NURBS_KNOT_MODE_BEZIER | |
| TEST_F (KnotVectorTest, KnotVectorBezierSegmentDeg2) | |
| TEST_F (KnotVectorTest, KnotVectorBezierUnevenDeg2) | |
| TEST_F (KnotVectorTest, KnotVectorBezierUnevenDeg4) | |
| TEST_F (KnotVectorTest, KnotVectorBezierCyclicUnevenDeg4) | |
Query Tests | |
| TEST_F (LibQueryTest, libquery_basic) | |
| TEST_F (LibQueryTest, libquery_recursive) | |
| TEST_F (LibQueryTest, libquery_subdata) | |
Unused IDs detection tests. | |
| TEST_F (LibQueryTest, libquery_unused_ids_direct) | |
| TEST_F (LibQueryTest, libquery_unused_ids_recursive) | |
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 |
| constexpr float | EPSILON_FLT32 = 1e-6f |
| static const float | EPSILON = 1e-7f |
| static FileHandlerType * | test_file_handlers [MAX_FILE_HANDLERS_TEST_SIZE] |
| static const char * | idp_utf8_4byte |
| typedef ImplicitSharingPtr< Bundle > blender::nodes::BundlePtr |
Definition at line 46 of file BKE_geometry_set.hh.
| using blender::bke::tests::TableArray = std::vector<std::map<std::string, std::string>> |
Definition at line 23 of file recents_test.cc.
|
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 405 of file lib_id_test.cc.
References add_id_in_library(), blender::BKE_id_new(), change_lib(), blender::ID_OB, blender::id_sort_by_name(), and blender::Main::objects.
Referenced by add_id_in_library(), and TEST_F().
Definition at line 65 of file lib_id_test.cc.
References blender::BKE_main_namemap_get_unique_name(), blender::BKE_main_namemap_remove_id(), and change_lib().
Referenced by add_id_in_library(), change_lib(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().
|
static |
Definition at line 75 of file lib_id_test.cc.
References blender::BKE_libblock_rename(), and change_name().
Referenced by change_name(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().
Definition at line 323 of file lib_id_test.cc.
References blender::BKE_main_global_namemap_get_unique_name(), blender::BKE_main_namemap_remove_id(), blender::BLI_strncpy(), change_name_global(), blender::id_sort_by_name(), MAX_ID_NAME, and blender::Main::objects.
Referenced by change_name_global(), and TEST_F().
|
static |
Definition at line 18 of file curves_geometry_test.cc.
References create_basic_curves(), and float.
Referenced by create_basic_curves(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().
|
static |
Definition at line 465 of file curves_geometry_test.cc.
References create_single_nurbs(), and blender::CURVE_TYPE_NURBS.
Referenced by create_single_nurbs(), TEST_F(), TEST_F(), and TEST_F().
|
static |
Definition at line 16 of file path_templates_test.cc.
References blender::bke::path_templates::Error::byte_range, error_to_string(), blender::bke::path_templates::FORMAT_SPECIFIER, blender::IndexRange::size(), blender::IndexRange::start(), blender::bke::path_templates::Error::type, blender::bke::path_templates::UNESCAPED_CURLY_BRACE, blender::bke::path_templates::UNKNOWN_VARIABLE, and blender::bke::path_templates::VARIABLE_SYNTAX.
Referenced by error_to_string(), and errors_to_string().
Definition at line 44 of file path_templates_test.cc.
References error_to_string(), and errors_to_string().
Referenced by errors_to_string(), TEST_F(), and TEST_F().
|
static |
Definition at line 120 of file file_handler_test.cc.
References blender::EXPECT_EQ(), expect_label_with_extensions(), blender::bke::FileHandlerType::file_extensions, blender::bke::FileHandlerType::label, blender::bke::FileHandlerType::label_with_extensions(), and blender::STRNCPY().
Referenced by expect_label_with_extensions(), and TEST_F().
|
static |
Test that the matrix is orthogonal, i.e. has no scale or shear within acceptable precision.
Definition at line 37 of file armature_test.cc.
References blender::copy_m3d_m3(), blender::math::determinant(), determinant(), blender::dot_v3v3_db(), EXPECT_M3_ORTHOGONAL(), EXPECT_NEAR, blender::math::length(), and blender::MatBase< T, NumCol, NumRow, Alignment >::ptr().
Referenced by EXPECT_M3_ORTHOGONAL(), and test_vec_roll_to_mat3_normalized().
|
static |
Definition at line 16 of file file_handler_test.cc.
References blender::EXPECT_EQ(), EXPECT_GE, EXPECT_LE, blender::bke::file_handler_add(), file_handler_add_test(), blender::bke::file_handlers(), MAX_FILE_HANDLERS_TEST_SIZE, blender::STRNCPY(), and test_file_handlers.
Referenced by file_handler_add_test(), and TEST_F().
|
static |
Binary search to test where the code switches to the most degenerate special case.
Definition at line 155 of file armature_test.cc.
References blender::e, find_flip_boundary(), float, FLT_EPSILON, M_1_PI, blender::normalize_v3(), scale(), blender::sqrt(), blender::vec_roll_to_mat3_normalized(), blender::x, and z().
Referenced by find_flip_boundary(), TEST(), and TEST().
|
static |
Definition at line 20 of file idprop_test.cc.
References blender::BLI_str_utf8_invalid_byte(), IDP_string_get, idp_string_is_valid_utf8(), and blender::IDProperty::len.
Referenced by idp_string_is_valid_utf8(), TEST_F(), and TEST_F().
|
static |
Definition at line 641 of file fcurve_test.cc.
References blender::FCurve::bezt, set_key(), blender::BezTriple::vec, blender::x, and y.
Referenced by set_key(), TEST_F(), TEST_F(), and testcurve_with_duplicates().
| blender::bke::tests::TEST | ( | mat3_vec_to_roll | , |
| Rotationmatrix | ) |
Definition at line 93 of file armature_test.cc.
References blender::eul_to_mat3(), EXPECT_NEAR, FLOAT_EPSILON, blender::mat3_vec_to_roll(), and TEST().
| blender::bke::tests::TEST | ( | mat3_vec_to_roll | , |
| UnitMatrix | ) |
Definition at line 63 of file armature_test.cc.
References EXPECT_NEAR, FLOAT_EPSILON, blender::mat3_vec_to_roll(), blender::normalize_v3(), TEST(), and blender::unit_m3().
Referenced by TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), and TEST().
| blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
| Flipped1 | ) |
Definition at line 197 of file armature_test.cc.
References TEST(), test_vec_roll_to_mat3_normalized(), and blender::vec_roll_to_mat3_normalized().
| blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
| Flipped2 | ) |
Definition at line 206 of file armature_test.cc.
References blender::e, TEST(), test_vec_roll_to_mat3_normalized(), and blender::vec_roll_to_mat3_normalized().
| blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
| Flipped3 | ) |
Definition at line 217 of file armature_test.cc.
References TEST(), test_vec_roll_to_mat3_normalized(), and blender::vec_roll_to_mat3_normalized().
| blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
| FlippedBoundary1 | ) |
Definition at line 186 of file armature_test.cc.
References EXPECT_NEAR, find_flip_boundary(), TEST(), and blender::vec_roll_to_mat3_normalized().
| blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
| FlippedBoundary2 | ) |
Definition at line 191 of file armature_test.cc.
References EXPECT_NEAR, find_flip_boundary(), TEST(), and blender::vec_roll_to_mat3_normalized().
| blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
| Generic1 | ) |
Definition at line 261 of file armature_test.cc.
References TEST(), test_vec_roll_to_mat3_normalized(), and blender::vec_roll_to_mat3_normalized().
| blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
| Generic2 | ) |
Definition at line 270 of file armature_test.cc.
References TEST(), test_vec_roll_to_mat3_normalized(), and blender::vec_roll_to_mat3_normalized().
| blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
| Generic3 | ) |
Definition at line 279 of file armature_test.cc.
References TEST(), test_vec_roll_to_mat3_normalized(), and blender::vec_roll_to_mat3_normalized().
| blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
| Generic4 | ) |
Definition at line 288 of file armature_test.cc.
References TEST(), test_vec_roll_to_mat3_normalized(), and blender::vec_roll_to_mat3_normalized().
| blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
| Roll1 | ) |
Definition at line 298 of file armature_test.cc.
References M_PI_2, TEST(), test_vec_roll_to_mat3_normalized(), and blender::vec_roll_to_mat3_normalized().
| blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
| Rotate90_X_CCW | ) |
Definition at line 252 of file armature_test.cc.
References TEST(), test_vec_roll_to_mat3_normalized(), and blender::vec_roll_to_mat3_normalized().
| blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
| Rotate90_X_CW | ) |
Definition at line 244 of file armature_test.cc.
References TEST(), test_vec_roll_to_mat3_normalized(), and blender::vec_roll_to_mat3_normalized().
| blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
| Rotate90_Z_CCW | ) |
Definition at line 236 of file armature_test.cc.
References TEST(), test_vec_roll_to_mat3_normalized(), and blender::vec_roll_to_mat3_normalized().
| blender::bke::tests::TEST | ( | vec_roll_to_mat3_normalized | , |
| Rotate90_Z_CW | ) |
Definition at line 228 of file armature_test.cc.
References TEST(), test_vec_roll_to_mat3_normalized(), and blender::vec_roll_to_mat3_normalized().
| blender::bke::tests::TEST_F | ( | AnimDataTest | , |
| BKE_fcurves_id_cb_test | ) |
Definition at line 27 of file anim_data_test.cc.
References blender::animrig::action_fcurve_ensure(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::animrig::assign_action(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::begin(), blender::BKE_fcurves_id_cb(), blender::BKE_id_new(), blender::BKE_main_free(), blender::BKE_main_new(), blender::BKE_object_add_only_object(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::clear(), blender::Vector< T, InlineBufferCapacity, Allocator >::clear(), blender::EXPECT_EQ(), blender::Object::id, blender::OB_EMPTY, blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size(), blender::Vector< T, InlineBufferCapacity, Allocator >::size(), and TEST_F().
Referenced by TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().
| blender::bke::tests::TEST_F | ( | ArmatureBoneIndexTest | , |
| armature_copy_data | ) |
Definition at line 497 of file armature_test.cc.
References blender::BKE_id_copy(), blender::BKE_id_copy_in_lib(), blender::bke::bArmature_Runtime::bones, blender::bke::bArmature_Runtime::bones_generation_count, blender::EXPECT_EQ(), EXPECT_NE, blender::LIB_ID_COPY_DEFAULT, blender::LIB_ID_COPY_SET_COPIED_ON_WRITE, blender::bArmature::runtime, blender::bMotionPath::runtime, and TEST_F().
| blender::bke::tests::TEST_F | ( | ArmatureBoneIndexTest | , |
| armature_init_data | ) |
Definition at line 476 of file armature_test.cc.
References blender::EXPECT_EQ(), and TEST_F().
| blender::bke::tests::TEST_F | ( | ArmatureDeformTest | , |
| CurvesDeform | ) |
Definition at line 833 of file armature_deform_test.cc.
References All, DualQuaternion, Envelope, EnvelopeAndVertexGroups, Linear, None, output, Position, PositionAndDeformMatrix, TEST_F(), VertexGroup, and VertexGroups.
| blender::bke::tests::TEST_F | ( | ArmatureDeformTest | , |
| EditMeshDeform | ) |
Definition at line 814 of file armature_deform_test.cc.
References All, DualQuaternion, Envelope, EnvelopeAndVertexGroups, Linear, None, output, Position, PositionAndDeformMatrix, TEST_F(), VertexGroup, and VertexGroups.
| blender::bke::tests::TEST_F | ( | ArmatureDeformTest | , |
| GreasePencilDeform | ) |
Definition at line 852 of file armature_deform_test.cc.
References All, DualQuaternion, Envelope, EnvelopeAndVertexGroups, Linear, None, output, Position, PositionAndDeformMatrix, TEST_F(), VertexGroup, and VertexGroups.
| blender::bke::tests::TEST_F | ( | ArmatureDeformTest | , |
| MeshDeform | ) |
Definition at line 791 of file armature_deform_test.cc.
References All, DualQuaternion, Envelope, EnvelopeAndVertexGroups, Linear, None, output, Position, PositionAndDeformMatrix, SeparateMesh, TargetObject, TEST_F(), VertexGroup, and VertexGroups.
| blender::bke::tests::TEST_F | ( | AssetMetadataTest | , |
| set_catalog_id | ) |
Definition at line 18 of file asset_metadata_test.cc.
References blender::BKE_asset_metadata_catalog_id_clear(), blender::BKE_asset_metadata_catalog_id_set(), blender::BLI_uuid_equal(), blender::BLI_uuid_generate_random(), blender::BLI_uuid_is_nil(), blender::AssetMetaData::catalog_id, blender::AssetMetaData::catalog_simple_name, EXPECT_TRUE, and TEST_F().
| blender::bke::tests::TEST_F | ( | AttributeStorageTest | , |
| CopyConstruct | ) |
Definition at line 141 of file attribute_storage_test.cc.
References blender::bke::Corner, blender::data, blender::EXPECT_EQ(), EXPECT_TRUE, blender::bke::Float, blender::ImplicitSharingPtr< T, IsStrong >::ImplicitSharingPtr, storage, and TEST_F().
| blender::bke::tests::TEST_F | ( | AttributeStorageTest | , |
| Empty | ) |
Definition at line 15 of file attribute_storage_test.cc.
References blender::EXPECT_EQ(), storage, and TEST_F().
| blender::bke::tests::TEST_F | ( | AttributeStorageTest | , |
| GetForWrite | ) |
Definition at line 74 of file attribute_storage_test.cc.
References blender::bke::Corner, blender::data, blender::EXPECT_EQ(), EXPECT_NE, blender::bke::Float, blender::ImplicitSharingPtr< T, IsStrong >::ImplicitSharingPtr, storage, and TEST_F().
| blender::bke::tests::TEST_F | ( | AttributeStorageTest | , |
| Iterator | ) |
Definition at line 45 of file attribute_storage_test.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::EXPECT_EQ(), blender::bke::Float, blender::bke::Attribute::SingleData::from_default_value(), blender::CPPType::get(), blender::bke::Point, storage, and TEST_F().
| blender::bke::tests::TEST_F | ( | AttributeStorageTest | , |
| MoveConstruct | ) |
Definition at line 164 of file attribute_storage_test.cc.
References blender::bke::Corner, blender::data, blender::EXPECT_EQ(), EXPECT_TRUE, blender::bke::Float, blender::ImplicitSharingPtr< T, IsStrong >::ImplicitSharingPtr, storage, and TEST_F().
| blender::bke::tests::TEST_F | ( | AttributeStorageTest | , |
| MultipleShared | ) |
Definition at line 109 of file attribute_storage_test.cc.
References blender::bke::Corner, blender::data, blender::bke::Edge, blender::EXPECT_EQ(), blender::bke::Face, blender::bke::Float, blender::ImplicitSharingPtr< T, IsStrong >::ImplicitSharingPtr, blender::bke::Point, storage, and TEST_F().
| blender::bke::tests::TEST_F | ( | AttributeStorageTest | , |
| Single | ) |
Definition at line 22 of file attribute_storage_test.cc.
References blender::bke::Corner, blender::data, blender::EXPECT_EQ(), EXPECT_TRUE, blender::bke::Float, blender::ImplicitSharingPtr< T, IsStrong >::ImplicitSharingPtr, storage, and TEST_F().
| blender::bke::tests::TEST_F | ( | AttributeStorageTest | , |
| UniqueNames | ) |
Definition at line 187 of file attribute_storage_test.cc.
References blender::bke::Corner, blender::data, blender::bke::Edge, blender::EXPECT_EQ(), blender::bke::Face, blender::bke::Float, blender::ImplicitSharingPtr< T, IsStrong >::ImplicitSharingPtr, blender::bke::Point, storage, and TEST_F().
| blender::bke::tests::TEST_F | ( | BKE_armature_find_selected_bones_test | , |
| all_bones_selected | ) |
Definition at line 416 of file armature_test.cc.
References blender::bke::BKE_armature_find_selected_bones(), blender::BONE_SELECTED, blender::EXPECT_EQ(), EXPECT_FALSE, EXPECT_TRUE, blender::result, and TEST_F().
| blender::bke::tests::TEST_F | ( | BKE_armature_find_selected_bones_test | , |
| no_bones_selected | ) |
Definition at line 402 of file armature_test.cc.
References blender::bke::BKE_armature_find_selected_bones(), EXPECT_FALSE, EXPECT_TRUE, blender::result, and TEST_F().
| blender::bke::tests::TEST_F | ( | BKE_armature_find_selected_bones_test | , |
| some_bones_selected | ) |
Definition at line 383 of file armature_test.cc.
References blender::bke::BKE_armature_find_selected_bones(), blender::BONE_SELECTED, blender::EXPECT_EQ(), EXPECT_FALSE, blender::result, and TEST_F().
| blender::bke::tests::TEST_F | ( | BKE_FCurveTest | , |
| BKE_fcurve_calc_bounds | ) |
Definition at line 492 of file fcurve_test.cc.
References blender::FCurve::bezt, blender::BEZT_FLAG_SELECT, blender::BKE_fcurve_calc_bounds(), blender::BKE_fcurve_create(), blender::BKE_fcurve_free(), EXPECT_FALSE, EXPECT_TRUE, blender::BezTriple::f1, blender::BezTriple::f2, blender::BezTriple::f3, blender::fcurve_samplingcb_evalcurve(), blender::fcurve_store_samples(), blender::animrig::get_keyframe_settings(), blender::animrig::insert_vert_fcurve(), blender::INSERTKEY_NOFLAGS, TEST_F(), blender::FCurve::totvert, and blender::BezTriple::vec.
| blender::bke::tests::TEST_F | ( | BKE_FCurveTest | , |
| BKE_fcurve_calc_range | ) |
Definition at line 439 of file fcurve_test.cc.
References blender::FCurve::bezt, blender::BEZT_FLAG_SELECT, blender::BKE_fcurve_calc_range(), blender::BKE_fcurve_create(), blender::BKE_fcurve_free(), EXPECT_FALSE, EXPECT_TRUE, blender::BezTriple::f1, blender::BezTriple::f2, blender::BezTriple::f3, blender::fcurve_samplingcb_evalcurve(), blender::fcurve_store_samples(), blender::animrig::get_keyframe_settings(), blender::animrig::insert_vert_fcurve(), blender::INSERTKEY_NOFLAGS, max, min, TEST_F(), blender::FCurve::totvert, and blender::BezTriple::vec.
| blender::bke::tests::TEST_F | ( | BKE_FCurveTest | , |
| BKE_fcurve_deduplicate_keys | ) |
Definition at line 695 of file fcurve_test.cc.
References blender::FCurve::bezt, blender::BKE_fcurve_deduplicate_keys(), blender::BKE_fcurve_free(), blender::e, blender::EXPECT_EQ(), blender::sort_time_fcurve(), TEST_F(), testcurve_with_duplicates(), blender::FCurve::totvert, and blender::BezTriple::vec.
| blender::bke::tests::TEST_F | ( | BKE_FCurveTest | , |
| BKE_fcurve_deduplicate_keys_edge_cases | ) |
Definition at line 714 of file fcurve_test.cc.
References blender::FCurve::bezt, blender::BKE_fcurve_deduplicate_keys(), blender::BKE_fcurve_free(), blender::e, set_key(), blender::sort_time_fcurve(), TEST_F(), testcurve_with_duplicates(), blender::FCurve::totvert, and blender::BezTriple::vec.
| blender::bke::tests::TEST_F | ( | BKE_FCurveTest | , |
| BKE_fcurve_deduplicate_keys_prefer_whole_frames | ) |
Definition at line 737 of file fcurve_test.cc.
References blender::FCurve::bezt, BEZT_BINARYSEARCH_THRESH, blender::BKE_fcurve_deduplicate_keys(), blender::BKE_fcurve_free(), blender::e, set_key(), blender::sort_time_fcurve(), TEST_F(), testcurve_with_duplicates(), blender::FCurve::totvert, and blender::BezTriple::vec.
| blender::bke::tests::TEST_F | ( | BKE_FCurveTest | , |
| BKE_fcurve_keyframe_move_time_with_handles | ) |
Definition at line 407 of file fcurve_test.cc.
References blender::FCurve::bezt, blender::BKE_fcurve_create(), blender::BKE_fcurve_free(), blender::BKE_fcurve_keyframe_move_time_with_handles(), blender::animrig::get_keyframe_settings(), blender::animrig::insert_vert_fcurve(), blender::INSERTKEY_NOFLAGS, TEST_F(), and blender::BezTriple::vec.
| blender::bke::tests::TEST_F | ( | BKE_FCurveTest | , |
| BKE_fcurve_keyframe_move_value_with_handles | ) |
Definition at line 375 of file fcurve_test.cc.
References blender::FCurve::bezt, blender::BKE_fcurve_create(), blender::BKE_fcurve_free(), blender::BKE_fcurve_keyframe_move_value_with_handles(), blender::animrig::get_keyframe_settings(), blender::animrig::insert_vert_fcurve(), blender::INSERTKEY_NOFLAGS, TEST_F(), and blender::BezTriple::vec.
| blender::bke::tests::TEST_F | ( | BKE_FCurveTest | , |
| sort_time_fcurve_stability | ) |
Definition at line 671 of file fcurve_test.cc.
References blender::FCurve::bezt, BEZT_BINARYSEARCH_THRESH, blender::BKE_fcurve_free(), blender::e, blender::sort_time_fcurve(), TEST_F(), testcurve_with_duplicates(), blender::FCurve::totvert, and blender::BezTriple::vec.
| blender::bke::tests::TEST_F | ( | BlenderProjectTest | , |
| blender_project_init_clear_test | ) |
Definition at line 30 of file blender_project_test.cc.
References blender::BKE_blender_project_clear(), blender::BKE_blender_project_init(), blender::BKE_blender_project_read_callback(), blender::EXPECT_EQ(), and TEST_F().
| blender::bke::tests::TEST_F | ( | BlenderProjectTest | , |
| blender_project_name_and_path_test | ) |
Definition at line 85 of file blender_project_test.cc.
References blender::BKE_blender_project_init(), blender::BKE_blender_project_write_callback(), blender::EXPECT_EQ(), and TEST_F().
| blender::bke::tests::TEST_F | ( | BlenderProjectTest | , |
| blender_project_path_make_relative_test | ) |
Definition at line 103 of file blender_project_test.cc.
References blender::BKE_blender_project_clear(), blender::BKE_blender_project_init(), blender::BKE_blender_project_path_make_relative(), blender::BKE_blender_project_read_callback(), blender::EXPECT_EQ(), SEP_STR, and TEST_F().
| blender::bke::tests::TEST_F | ( | BlenderProjectTest | , |
| blender_project_replace_test | ) |
Definition at line 46 of file blender_project_test.cc.
References blender::BKE_blender_project_init(), blender::BKE_blender_project_read_callback(), blender::EXPECT_EQ(), and TEST_F().
| blender::bke::tests::TEST_F | ( | BlenderProjectTest | , |
| blender_project_variable_description_test | ) |
Definition at line 326 of file blender_project_test.cc.
References blender::BKE_blender_project_init(), blender::BKE_blender_project_write_callback(), blender::bke::ProjectVariable::description_get(), blender::bke::ProjectVariable::description_set(), blender::EXPECT_EQ(), blender::bke::STRING, and TEST_F().
| blender::bke::tests::TEST_F | ( | BlenderProjectTest | , |
| blender_project_variable_move_test | ) |
Definition at line 346 of file blender_project_test.cc.
References blender::BKE_blender_project_init(), blender::BKE_blender_project_write_callback(), blender::EXPECT_EQ(), blender::bke::STRING, and TEST_F().
| blender::bke::tests::TEST_F | ( | BlenderProjectTest | , |
| blender_project_variable_new_names_test | ) |
Definition at line 178 of file blender_project_test.cc.
References blender::BKE_blender_project_init(), blender::BKE_blender_project_write_callback(), blender::EXPECT_EQ(), blender::bke::ProjectVariable::name_get(), blender::bke::STRING, and TEST_F().
| blender::bke::tests::TEST_F | ( | BlenderProjectTest | , |
| blender_project_variable_new_test | ) |
Definition at line 143 of file blender_project_test.cc.
References blender::BKE_blender_project_init(), blender::BKE_blender_project_write_callback(), blender::bke::ProjectVariable::description_get(), blender::EXPECT_EQ(), blender::bke::FLOAT, blender::bke::INT, blender::bke::ProjectVariable::name_get(), blender::bke::NONE, blender::bke::STRING, blender::bke::ProjectVariable::string_subtype_get(), TEST_F(), blender::bke::ProjectVariable::type_get(), blender::bke::ProjectVariable::value_float_get(), blender::bke::ProjectVariable::value_int_get(), and blender::bke::ProjectVariable::value_string_get().
| blender::bke::tests::TEST_F | ( | BlenderProjectTest | , |
| blender_project_variable_remove_test | ) |
Definition at line 394 of file blender_project_test.cc.
References blender::BKE_blender_project_init(), blender::BKE_blender_project_write_callback(), blender::EXPECT_EQ(), blender::bke::STRING, and TEST_F().
| blender::bke::tests::TEST_F | ( | BlenderProjectTest | , |
| blender_project_variable_rename_test | ) |
Definition at line 221 of file blender_project_test.cc.
References blender::BKE_blender_project_init(), blender::BKE_blender_project_write_callback(), blender::EXPECT_EQ(), blender::bke::ProjectVariable::name_get(), blender::bke::STRING, and TEST_F().
| blender::bke::tests::TEST_F | ( | BlenderProjectTest | , |
| blender_project_variable_subtype_test | ) |
Definition at line 272 of file blender_project_test.cc.
References blender::BKE_blender_project_init(), blender::BKE_blender_project_write_callback(), blender::EXPECT_EQ(), blender::bke::FILEPATH, blender::bke::NONE, blender::bke::STRING, blender::bke::ProjectVariable::string_subtype_get(), blender::bke::ProjectVariable::string_subtype_set(), and TEST_F().
| blender::bke::tests::TEST_F | ( | BlenderProjectTest | , |
| blender_project_variable_value_test | ) |
Definition at line 290 of file blender_project_test.cc.
References blender::BKE_blender_project_init(), blender::BKE_blender_project_write_callback(), blender::EXPECT_EQ(), blender::bke::FLOAT, blender::bke::INT, blender::bke::STRING, TEST_F(), blender::bke::ProjectVariable::value_float_get(), blender::bke::ProjectVariable::value_int_get(), blender::bke::ProjectVariable::value_set(), and blender::bke::ProjectVariable::value_string_get().
| blender::bke::tests::TEST_F | ( | BMainAllIDsIteratorTest | , |
| basics | ) |
Definition at line 47 of file main_test.cc.
References blender::MainAllIDsIterator::begin(), blender::BKE_collection_object_add(), blender::BKE_id_new(), blender::BKE_id_new_in_lib(), blender::MainAllIDsIterator::end(), blender::EXPECT_EQ(), EXPECT_TRUE, blender::Collection::id, blender::Library::id, blender::Object::id, blender::MainAllIDsIterator::size(), and TEST_F().
| blender::bke::tests::TEST_F | ( | BMainMergeTest | , |
| basics | ) |
Definition at line 141 of file main_test.cc.
References blender::BKE_collection_object_add(), blender::BKE_id_is_in_main(), blender::BKE_id_name(), blender::BKE_id_new(), blender::BKE_main_merge(), blender::BKE_main_new(), blender::Main::collections, blender::EXPECT_EQ(), EXPECT_TRUE, blender::Collection::gobject, blender::ID_GR, blender::MainMergeReport::num_merged_ids, blender::MainMergeReport::num_remapped_ids, blender::MainMergeReport::num_remapped_libraries, blender::MainMergeReport::num_unknown_ids, blender::Main::objects, and TEST_F().
| blender::bke::tests::TEST_F | ( | BMainMergeTest | , |
| link_lib_packed | ) |
Definition at line 402 of file main_test.cc.
References ABS_ROOT, blender::Library::archive_parent_library, blender::BKE_id_name(), blender::BKE_id_new(), blender::BKE_id_new_in_lib(), blender::BKE_library_filepath_set(), blender::BKE_main_merge(), blender::BKE_main_namemap_get_unique_name(), blender::BKE_main_namemap_remove_id(), blender::BLI_findlink(), blender::ID::deep_hash, blender::bke::library::ensure_archive_library(), blender::EXPECT_EQ(), EXPECT_FALSE, EXPECT_TRUE, blender::ID::flag, blender::Library::flag, blender::Object::id, blender::ID_FLAG_LINKED_AND_PACKED, ID_IS_PACKED, blender::ID::lib, blender::LIBRARY_FLAG_IS_ARCHIVE, SEP_STR, TEST_F(), and UNUSED_VARS.
| blender::bke::tests::TEST_F | ( | BMainMergeTest | , |
| linked_data | ) |
Definition at line 232 of file main_test.cc.
References ABS_ROOT, blender::BKE_collection_object_add(), blender::BKE_id_new(), blender::BKE_id_new_in_lib(), blender::BKE_library_filepath_set(), blender::BKE_main_merge(), blender::BKE_main_new(), blender::EXPECT_EQ(), EXPECT_FALSE, EXPECT_TRUE, blender::Library::filepath, blender::bke::library::LibraryRuntime::filepath_abs, blender::Object::id, blender::ID::lib, blender::MainMergeReport::num_merged_ids, blender::MainMergeReport::num_remapped_ids, blender::MainMergeReport::num_remapped_libraries, blender::MainMergeReport::num_unknown_ids, blender::Library::runtime, SEP_STR, STREQ, blender::STRNCPY(), and TEST_F().
| blender::bke::tests::TEST_F | ( | BMainNameMapTest | , |
| global_map_uniqueness | ) |
Definition at line 48 of file main_namemap_test.cc.
References blender::BKE_id_name(), blender::BKE_id_new(), blender::BKE_id_new_in_lib(), blender::BKE_main_global_namemap_get_unique_name(), blender::BKE_main_namemap_remove_id(), EXPECT_TRUE, blender::GS(), blender::Collection::id, blender::Library::id, blender::Object::id, blender::id_sort_by_name(), blender::ID::name, TEST_F(), and blender::which_libbase().
| blender::bke::tests::TEST_F | ( | BMeshPaintBVHTest | , |
| from_bmesh | ) |
Definition at line 121 of file paint_test.cc.
References blender::bm, EXPECT_GT, blender::bke::pbvh::Tree::from_bmesh(), blender::bke::pbvh::Tree::nodes(), and TEST_F().
| blender::bke::tests::TEST_F | ( | BPathTest | , |
| convert_to_absolute | ) |
Definition at line 117 of file bpath_test.cc.
References BASE_DIR, blender::BKE_bpath_absolute_convert(), blender::BLI_strdup(), blender::MovieClip::filepath, MOVIECLIP_PATH_ABSOLUTE, blender::STRNCPY(), TEST_F(), TEXT_PATH_RELATIVE, and TEXT_PATH_RELATIVE_MADE_ABSOLUTE.
| blender::bke::tests::TEST_F | ( | BPathTest | , |
| convert_to_relative | ) |
Definition at line 101 of file bpath_test.cc.
References BASE_DIR, blender::BKE_bpath_relative_convert(), blender::BLI_strdup(), blender::MovieClip::filepath, MOVIECLIP_PATH_ABSOLUTE, MOVIECLIP_PATH_ABSOLUTE_MADE_RELATIVE, blender::STRNCPY(), TEST_F(), and TEXT_PATH_RELATIVE.
| blender::bke::tests::TEST_F | ( | BPathTest | , |
| list_backup_restore | ) |
Definition at line 133 of file bpath_test.cc.
References blender::BKE_bpath_list_backup(), blender::BKE_bpath_list_free(), blender::BKE_bpath_list_restore(), blender::BLI_strdup(), blender::EXPECT_EQ(), blender::MovieClip::filepath, MOVIECLIP_PATH_ABSOLUTE, MOVIECLIP_PATH_RELATIVE, blender::STRNCPY(), TEST_F(), TEXT_PATH_ABSOLUTE, and TEXT_PATH_RELATIVE.
| blender::bke::tests::TEST_F | ( | BPathTest | , |
| rebase_on_absolute | ) |
Definition at line 86 of file bpath_test.cc.
References BASE_DIR, blender::BKE_bpath_relative_rebase(), blender::BLI_strdup(), blender::MovieClip::filepath, MOVIECLIP_PATH_ABSOLUTE, REBASE_DIR, blender::STRNCPY(), TEST_F(), and TEXT_PATH_ABSOLUTE.
| blender::bke::tests::TEST_F | ( | BPathTest | , |
| rebase_on_relative | ) |
Definition at line 71 of file bpath_test.cc.
References BASE_DIR, blender::BKE_bpath_relative_rebase(), blender::BLI_strdup(), blender::MovieClip::filepath, MOVIECLIP_PATH_ITEM, MOVIECLIP_PATH_RELATIVE, REBASE_DIR, RELATIVE_ROOT, SEP_STR, blender::STRNCPY(), TEST_F(), TEXT_PATH_ITEM, and TEXT_PATH_RELATIVE.
| blender::bke::tests::TEST_F | ( | CurvesGeometryTest | , |
| AlignedHandleWithCoincidentVectorHandle | ) |
Definition at line 141 of file curves_geometry_test.cc.
References blender::BEZIER_HANDLE_ALIGN, blender::BEZIER_HANDLE_FREE, blender::BEZIER_HANDLE_VECTOR, blender::bke::curves::bezier::calculate_auto_handles(), EPSILON_FLT32, and TEST_F().
| blender::bke::tests::TEST_F | ( | CurvesGeometryTest | , |
| BasisCacheBezierSegmentDeg2 | ) |
Definition at line 607 of file curves_geometry_test.cc.
References blender::bke::curves::nurbs::calculate_basis_cache(), blender::bke::curves::nurbs::calculate_evaluated_num(), blender::EXPECT_EQ(), blender::NURBS_KNOT_MODE_CUSTOM, blender::MutableSpan< T >::slice(), TEST_F(), and blender::bke::curves::nurbs::BasisCache::weights.
| blender::bke::tests::TEST_F | ( | CurvesGeometryTest | , |
| BasisCacheNonUniformDeg2 | ) |
Definition at line 649 of file curves_geometry_test.cc.
References blender::bke::curves::nurbs::calculate_basis_cache(), blender::bke::curves::nurbs::calculate_evaluated_num(), EPSILON_FLT32, blender::EXPECT_EQ(), blender::NURBS_KNOT_MODE_CUSTOM, blender::MutableSpan< T >::slice(), blender::square_f(), step, TEST_F(), and blender::bke::curves::nurbs::BasisCache::weights.
| blender::bke::tests::TEST_F | ( | CurvesGeometryTest | , |
| BezierGenericEvaluation | ) |
Definition at line 388 of file curves_geometry_test.cc.
References blender::Array< T, InlineBufferCapacity, Allocator >::as_mutable_span(), blender::Array< T, InlineBufferCapacity, Allocator >::as_span(), blender::CURVE_TYPE_BEZIER, EXPECT_NEAR, blender::MutableSpan< T >::first(), blender::Array< T, InlineBufferCapacity, Allocator >::index_range(), blender::Span< T >::index_range(), blender::MutableSpan< T >::last(), and TEST_F().
| blender::bke::tests::TEST_F | ( | CurvesGeometryTest | , |
| BezierPositionEvaluation | ) |
Definition at line 304 of file curves_geometry_test.cc.
References blender::CURVE_TYPE_BEZIER, blender::EXPECT_EQ(), blender::MutableSpan< T >::first(), blender::Span< T >::index_range(), blender::MutableSpan< T >::last(), blender::Span< T >::size(), and TEST_F().
| blender::bke::tests::TEST_F | ( | CurvesGeometryTest | , |
| CatmullRomEvaluation | ) |
Definition at line 159 of file curves_geometry_test.cc.
References blender::CURVE_TYPE_CATMULL_ROM, blender::Span< T >::data(), blender::EXPECT_EQ(), blender::Span< T >::index_range(), TEST_F(), blender::x, and y.
| blender::bke::tests::TEST_F | ( | CurvesGeometryTest | , |
| CatmullRomTwoPointCyclic | ) |
Definition at line 292 of file curves_geometry_test.cc.
References blender::CURVE_TYPE_CATMULL_ROM, blender::EXPECT_EQ(), and TEST_F().
| blender::bke::tests::TEST_F | ( | CurvesGeometryTest | , |
| CyclicOffsets | ) |
Definition at line 93 of file curves_geometry_test.cc.
References create_basic_curves(), EXPECT_FALSE, EXPECT_TRUE, and TEST_F().
| blender::bke::tests::TEST_F | ( | CurvesGeometryTest | , |
| Empty | ) |
Definition at line 37 of file curves_geometry_test.cc.
References blender::bke::CurvesGeometry::bounds_min_max(), blender::bke::CurvesGeometry::cyclic(), EXPECT_FALSE, EXPECT_TRUE, blender::bke::CurvesGeometry::is_empty(), and TEST_F().
| blender::bke::tests::TEST_F | ( | CurvesGeometryTest | , |
| InvalidResolution | ) |
Definition at line 121 of file curves_geometry_test.cc.
References create_basic_curves(), blender::CURVE_TYPE_BEZIER, blender::CURVE_TYPE_CATMULL_ROM, blender::CURVE_TYPE_NURBS, blender::CURVE_TYPE_POLY, blender::offset_indices::OffsetIndices< T >::data(), blender::EXPECT_EQ(), blender::offset_indices::OffsetIndices< T >::index_range(), and TEST_F().
| blender::bke::tests::TEST_F | ( | CurvesGeometryTest | , |
| Move | ) |
Definition at line 45 of file curves_geometry_test.cc.
References blender::bke::CurvesGeometry::bounds_min_max(), create_basic_curves(), blender::EXPECT_EQ(), EXPECT_TRUE, blender::bke::CurvesGeometry::offsets(), blender::bke::CurvesGeometry::positions(), and TEST_F().
| blender::bke::tests::TEST_F | ( | CurvesGeometryTest | , |
| NURBSEvaluateZeroOrderBezierDeg3 | ) |
Definition at line 561 of file curves_geometry_test.cc.
References blender::MutableSpan< T >::as_span(), blender::Span< T >::cast(), create_single_nurbs(), EPSILON_FLT32, blender::NURBS_KNOT_MODE_ENDPOINT_BEZIER, and TEST_F().
| blender::bke::tests::TEST_F | ( | CurvesGeometryTest | , |
| NURBSEvaluateZeroOrderClampedDeg3 | ) |
Definition at line 581 of file curves_geometry_test.cc.
References blender::MutableSpan< T >::as_span(), blender::Span< T >::cast(), create_single_nurbs(), EPSILON_FLT32, blender::NURBS_KNOT_MODE_ENDPOINT, and TEST_F().
| blender::bke::tests::TEST_F | ( | CurvesGeometryTest | , |
| NURBSEvaluation | ) |
Definition at line 474 of file curves_geometry_test.cc.
References create_single_nurbs(), blender::Span< T >::index_range(), and TEST_F().
| blender::bke::tests::TEST_F | ( | CurvesGeometryTest | , |
| TypeCount | ) |
Definition at line 70 of file curves_geometry_test.cc.
References create_basic_curves(), blender::CURVE_TYPE_BEZIER, blender::CURVE_TYPE_CATMULL_ROM, blender::CURVE_TYPE_NURBS, blender::CURVE_TYPE_POLY, blender::EXPECT_EQ(), and TEST_F().
| blender::bke::tests::TEST_F | ( | DeformWeightsNormalizeTest | , |
| EmptyWeights | ) |
Definition at line 16 of file deform_test.cc.
References blender::BKE_defvert_normalize_ex(), and TEST_F().
| blender::bke::tests::TEST_F | ( | DeformWeightsNormalizeTest | , |
| FourWeights | ) |
Definition at line 171 of file deform_test.cc.
References blender::BKE_defvert_normalize_ex(), blender::MDeformWeight::def_nr, TEST_F(), and blender::MDeformWeight::weight.
| blender::bke::tests::TEST_F | ( | DeformWeightsNormalizeTest | , |
| SingleWeight | ) |
Definition at line 29 of file deform_test.cc.
References blender::BKE_defvert_normalize_ex(), blender::MDeformWeight::def_nr, TEST_F(), and blender::MDeformWeight::weight.
| blender::bke::tests::TEST_F | ( | DeformWeightsNormalizeTest | , |
| TwoWeights | ) |
Definition at line 82 of file deform_test.cc.
References blender::BKE_defvert_normalize_ex(), blender::MDeformWeight::def_nr, TEST_F(), and blender::MDeformWeight::weight.
| blender::bke::tests::TEST_F | ( | EvaluateFCurveTest | , |
| EmptyFCurve | ) |
Definition at line 25 of file fcurve_test.cc.
References blender::BKE_fcurve_create(), blender::BKE_fcurve_free(), blender::evaluate_fcurve(), blender::EXPECT_EQ(), and TEST_F().
| blender::bke::tests::TEST_F | ( | EvaluateFCurveTest | , |
| ExtrapolationBezierKeys | ) |
Definition at line 197 of file fcurve_test.cc.
References blender::FCurve::bezt, blender::BKE_fcurve_create(), blender::BKE_fcurve_free(), EPSILON, blender::evaluate_fcurve(), blender::EXPECT_EQ(), EXPECT_NEAR, blender::FCurve::extend, blender::FCURVE_EXTRAPOLATE_CONSTANT, blender::FCURVE_EXTRAPOLATE_LINEAR, blender::animrig::get_keyframe_settings(), blender::animrig::insert_vert_fcurve(), blender::INSERTKEY_NOFLAGS, TEST_F(), and blender::BezTriple::vec.
| blender::bke::tests::TEST_F | ( | EvaluateFCurveTest | , |
| ExtrapolationLinearKeys | ) |
Definition at line 162 of file fcurve_test.cc.
References blender::FCurve::bezt, blender::BEZT_IPO_LIN, blender::BKE_fcurve_create(), blender::BKE_fcurve_free(), EPSILON, blender::evaluate_fcurve(), blender::EXPECT_EQ(), EXPECT_NEAR, blender::FCurve::extend, blender::FCURVE_EXTRAPOLATE_CONSTANT, blender::FCURVE_EXTRAPOLATE_LINEAR, blender::animrig::get_keyframe_settings(), blender::animrig::insert_vert_fcurve(), blender::INSERTKEY_NOFLAGS, blender::BezTriple::ipo, TEST_F(), and blender::BezTriple::vec.
| blender::bke::tests::TEST_F | ( | EvaluateFCurveTest | , |
| InterpolationBezier | ) |
Definition at line 99 of file fcurve_test.cc.
References blender::FCurve::bezt, blender::BEZT_IPO_BEZ, blender::BKE_fcurve_create(), blender::BKE_fcurve_free(), EPSILON, blender::evaluate_fcurve(), blender::EXPECT_EQ(), EXPECT_NEAR, blender::animrig::get_keyframe_settings(), blender::animrig::insert_vert_fcurve(), blender::INSERTKEY_NOFLAGS, blender::BezTriple::ipo, TEST_F(), and blender::BezTriple::vec.
| blender::bke::tests::TEST_F | ( | EvaluateFCurveTest | , |
| InterpolationBounce | ) |
Definition at line 137 of file fcurve_test.cc.
References blender::FCurve::bezt, blender::BEZT_IPO_BOUNCE, blender::BEZT_IPO_EASE_AUTO, blender::BEZT_IPO_EASE_IN, blender::BKE_fcurve_create(), blender::BKE_fcurve_free(), blender::BezTriple::easing, EPSILON, blender::evaluate_fcurve(), blender::EXPECT_EQ(), EXPECT_NEAR, blender::animrig::get_keyframe_settings(), blender::animrig::insert_vert_fcurve(), blender::INSERTKEY_NOFLAGS, blender::BezTriple::ipo, TEST_F(), and blender::BezTriple::vec.
| blender::bke::tests::TEST_F | ( | EvaluateFCurveTest | , |
| InterpolationConstant | ) |
Definition at line 56 of file fcurve_test.cc.
References blender::FCurve::bezt, blender::BEZT_IPO_CONST, blender::BKE_fcurve_create(), blender::BKE_fcurve_free(), EPSILON, blender::evaluate_fcurve(), blender::EXPECT_EQ(), EXPECT_NEAR, blender::animrig::get_keyframe_settings(), blender::animrig::insert_vert_fcurve(), blender::INSERTKEY_NOFLAGS, blender::BezTriple::ipo, TEST_F(), and blender::BezTriple::vec.
| blender::bke::tests::TEST_F | ( | EvaluateFCurveTest | , |
| InterpolationLinear | ) |
Definition at line 77 of file fcurve_test.cc.
References blender::FCurve::bezt, blender::BEZT_IPO_LIN, blender::BKE_fcurve_create(), blender::BKE_fcurve_free(), EPSILON, blender::evaluate_fcurve(), blender::EXPECT_EQ(), EXPECT_NEAR, blender::animrig::get_keyframe_settings(), blender::animrig::insert_vert_fcurve(), blender::INSERTKEY_NOFLAGS, blender::BezTriple::ipo, TEST_F(), and blender::BezTriple::vec.
| blender::bke::tests::TEST_F | ( | EvaluateFCurveTest | , |
| OnKeys | ) |
Definition at line 32 of file fcurve_test.cc.
References blender::BKE_fcurve_create(), blender::BKE_fcurve_free(), EPSILON, blender::evaluate_fcurve(), EXPECT_NEAR, blender::animrig::get_keyframe_settings(), blender::animrig::insert_vert_fcurve(), blender::INSERTKEY_NOFLAGS, and TEST_F().
| blender::bke::tests::TEST_F | ( | FCurveActiveKeyframeTest | , |
| ActiveKeyframe | ) |
Definition at line 310 of file fcurve_test.cc.
References blender::FCurve::active_keyframe_index, blender::FCurve::bezt, blender::BEZT_FLAG_SELECT, blender::BKE_fcurve_active_keyframe_index(), blender::BKE_fcurve_active_keyframe_set(), blender::BKE_fcurve_create(), blender::BKE_fcurve_free(), blender::EXPECT_EQ(), blender::BezTriple::f1, blender::BezTriple::f2, blender::BezTriple::f3, FCURVE_ACTIVE_KEYFRAME_NONE, blender::animrig::get_keyframe_settings(), blender::animrig::insert_vert_fcurve(), blender::INSERTKEY_NOFLAGS, TEST_F(), blender::FCurve::totvert, and blender::BezTriple::vec.
| blender::bke::tests::TEST_F | ( | FCurveSubdivideTest | , |
| BKE_fcurve_bezt_subdivide_handles | ) |
Definition at line 240 of file fcurve_test.cc.
References blender::FCurve::bezt, blender::BEZT_IPO_BEZ, blender::BKE_fcurve_bezt_subdivide_handles(), blender::BKE_fcurve_create(), blender::BKE_fcurve_free(), blender::EXPECT_EQ(), blender::animrig::get_keyframe_settings(), blender::BezTriple::h1, blender::BezTriple::h2, blender::HD_AUTO_ANIM, blender::HD_FREE, blender::animrig::insert_vert_fcurve(), blender::INSERTKEY_NOFLAGS, blender::BezTriple::ipo, TEST_F(), blender::BezTriple::vec, blender::x, and y.
| blender::bke::tests::TEST_F | ( | FileHandlerTest | , |
| add | ) |
Definition at line 42 of file file_handler_test.cc.
References file_handler_add_test(), and TEST_F().
| blender::bke::tests::TEST_F | ( | FileHandlerTest | , |
| find | ) |
Definition at line 58 of file file_handler_test.cc.
References blender::EXPECT_EQ(), blender::bke::file_handler_find(), blender::bke::file_handlers(), MAX_FILE_HANDLERS_TEST_SIZE, TEST_F(), and test_file_handlers.
| blender::bke::tests::TEST_F | ( | FileHandlerTest | , |
| label_with_extensions | ) |
Definition at line 130 of file file_handler_test.cc.
References expect_label_with_extensions(), and TEST_F().
| blender::bke::tests::TEST_F | ( | FileHandlerTest | , |
| 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 73 of file file_handler_test.cc.
References blender::EXPECT_EQ(), blender::bke::file_handler_find(), blender::bke::file_handler_remove(), blender::bke::file_handlers(), MAX_FILE_HANDLERS_TEST_SIZE, TEST_F(), and test_file_handlers.
| blender::bke::tests::TEST_F | ( | GreasePencilInterpolate | , |
| sample_curve_empty_output | ) |
Definition at line 113 of file GEO_interpolate_curves_test.cc.
References TEST_F().
| blender::bke::tests::TEST_F | ( | GreasePencilInterpolate | , |
| sample_curve_longer | ) |
Definition at line 180 of file GEO_interpolate_curves_test.cc.
References TEST_F().
| blender::bke::tests::TEST_F | ( | GreasePencilInterpolate | , |
| sample_curve_same_length | ) |
Definition at line 122 of file GEO_interpolate_curves_test.cc.
References TEST_F().
| blender::bke::tests::TEST_F | ( | GreasePencilInterpolate | , |
| sample_curve_shorter | ) |
Definition at line 162 of file GEO_interpolate_curves_test.cc.
References TEST_F().
| blender::bke::tests::TEST_F | ( | GreasePencilInterpolate | , |
| sample_zero_length_curve | ) |
Definition at line 274 of file GEO_interpolate_curves_test.cc.
References TEST_F().
| blender::bke::tests::TEST_F | ( | GridsBVHTest | , |
| from_grids | ) |
Definition at line 80 of file paint_test.cc.
References EXPECT_GT, blender::bke::pbvh::Tree::from_grids(), blender::bke::pbvh::Tree::nodes(), and TEST_F().
| blender::bke::tests::TEST_F | ( | IDPropertyTest | , |
| AddToGroup | ) |
Definition at line 75 of file idprop_test.cc.
References blender::bke::idprop::create(), blender::bke::idprop::create_group(), blender::EXPECT_EQ(), EXPECT_FALSE, EXPECT_TRUE, blender::IDP_AddToGroup(), IDP_float_get, blender::IDP_FreeProperty(), blender::IDP_GetPropertyFromGroup(), IDP_int_get, and TEST_F().
| blender::bke::tests::TEST_F | ( | IDPropertyTest | , |
| AssignStringMaxSizeBytesIgnoreUtf8 | ) |
Definition at line 54 of file idprop_test.cc.
References blender::BLI_str_utf8_invalid_byte(), blender::EXPECT_EQ(), EXPECT_NE, blender::IDP_AssignStringMaxSize(), blender::IDP_FreeProperty(), blender::IDP_New(), blender::IDP_STRING, IDP_string_get, blender::IDP_STRING_SUB_BYTE, idp_utf8_4byte, blender::IDProperty::len, blender::IDPropertyTemplate::string, blender::IDProperty::subtype, and TEST_F().
| blender::bke::tests::TEST_F | ( | IDPropertyTest | , |
| AssignStringMaxSizeUtf8Truncate | ) |
Definition at line 43 of file idprop_test.cc.
References blender::EXPECT_EQ(), EXPECT_TRUE, blender::IDP_AssignStringMaxSize(), blender::IDP_FreeProperty(), blender::IDP_NewString(), IDP_string_get, idp_string_is_valid_utf8(), idp_utf8_4byte, blender::IDProperty::len, and TEST_F().
| blender::bke::tests::TEST_F | ( | IDPropertyTest | , |
| CreateGroup | ) |
Definition at line 69 of file idprop_test.cc.
References blender::bke::idprop::create_group(), blender::IDP_FreeProperty(), and TEST_F().
| blender::bke::tests::TEST_F | ( | IDPropertyTest | , |
| GroupLookupFloatArray | ) |
Definition at line 155 of file idprop_test.cc.
References blender::bke::idprop::create(), blender::bke::idprop::create_group(), blender::EXPECT_EQ(), EXPECT_FALSE, blender::IDP_AddToGroup(), blender::IDP_FreeProperty(), blender::IDP_group_lookup_float_array(), and TEST_F().
| blender::bke::tests::TEST_F | ( | IDPropertyTest | , |
| NewStringMaxSizeUtf8Truncate | ) |
Definition at line 25 of file idprop_test.cc.
References blender::EXPECT_EQ(), EXPECT_TRUE, blender::IDP_FreeProperty(), blender::IDP_NewStringMaxSize(), IDP_string_get, idp_string_is_valid_utf8(), idp_utf8_4byte, blender::IDProperty::len, and TEST_F().
| blender::bke::tests::TEST_F | ( | IDPropertyTest | , |
| RemoveFromGroup | ) |
Definition at line 103 of file idprop_test.cc.
References blender::bke::idprop::create(), blender::bke::idprop::create_group(), blender::EXPECT_EQ(), EXPECT_TRUE, blender::IDP_AddToGroup(), IDP_float_get, blender::IDP_FreeProperty(), blender::IDP_GetPropertyFromGroup(), blender::IDP_RemoveFromGroup(), and TEST_F().
| blender::bke::tests::TEST_F | ( | IDPropertyTest | , |
| ReplaceGroupInGroup | ) |
Definition at line 116 of file idprop_test.cc.
References blender::bke::idprop::create(), blender::bke::idprop::create_group(), blender::EXPECT_EQ(), blender::IDP_AddToGroup(), blender::IDP_FreeProperty(), blender::IDP_GetPropertyFromGroup(), IDP_int_get, blender::IDP_ReplaceGroupInGroup(), and TEST_F().
| blender::bke::tests::TEST_F | ( | IDPropertyTest | , |
| ReplaceInGroup | ) |
Definition at line 91 of file idprop_test.cc.
References blender::bke::idprop::create(), blender::bke::idprop::create_group(), blender::EXPECT_EQ(), EXPECT_TRUE, blender::IDP_AddToGroup(), IDP_float_get, blender::IDP_FreeProperty(), blender::IDP_GetPropertyFromGroup(), IDP_int_get, blender::IDP_ReplaceInGroup(), and TEST_F().
| blender::bke::tests::TEST_F | ( | IDPropertyTest | , |
| ReprGroup | ) |
Definition at line 183 of file idprop_test.cc.
References blender::bke::idprop::create(), blender::bke::idprop::create_bool(), blender::bke::idprop::create_group(), blender::EXPECT_EQ(), blender::IDP_AddToGroup(), blender::IDP_FreeProperty(), blender::IDP_reprN(), blender::result, and TEST_F().
| blender::bke::tests::TEST_F | ( | IDPropertyTest | , |
| SyncGroupValues | ) |
Definition at line 134 of file idprop_test.cc.
References blender::bke::idprop::create(), blender::bke::idprop::create_group(), blender::EXPECT_EQ(), blender::IDP_AddToGroup(), blender::IDP_FreeProperty(), blender::IDP_GetPropertyFromGroup(), IDP_int_get, blender::IDP_SyncGroupValues(), and TEST_F().
| blender::bke::tests::TEST_F | ( | ImageTest | , |
| multilayer | ) |
Definition at line 291 of file source/blender/blenkernel/intern/image_test.cc.
| blender::bke::tests::TEST_F | ( | KnotVectorTest | , |
| KnotVectorBezierClampedCyclicUnevenDeg4 | ) |
Definition at line 848 of file curves_geometry_test.cc.
References blender::bke::curves::nurbs::calculate_knots(), blender::bke::curves::nurbs::calculate_multiplicity_sequence(), blender::bke::curves::nurbs::knots_num(), blender::NURBS_KNOT_MODE_ENDPOINT_BEZIER, blender::Span< T >::Span(), and TEST_F().
| blender::bke::tests::TEST_F | ( | KnotVectorTest | , |
| KnotVectorBezierClampedDeg2 | ) |
Definition at line 777 of file curves_geometry_test.cc.
References blender::bke::curves::nurbs::calculate_knots(), blender::bke::curves::nurbs::calculate_multiplicity_sequence(), blender::bke::curves::nurbs::knots_num(), blender::NURBS_KNOT_MODE_ENDPOINT_BEZIER, blender::Span< T >::Span(), and TEST_F().
| blender::bke::tests::TEST_F | ( | KnotVectorTest | , |
| KnotVectorBezierClampedDeg4 | ) |
Definition at line 803 of file curves_geometry_test.cc.
References blender::bke::curves::nurbs::calculate_knots(), blender::bke::curves::nurbs::calculate_multiplicity_sequence(), blender::bke::curves::nurbs::knots_num(), blender::NURBS_KNOT_MODE_ENDPOINT_BEZIER, blender::Span< T >::Span(), and TEST_F().
| blender::bke::tests::TEST_F | ( | KnotVectorTest | , |
| KnotVectorBezierClampedSegmentDeg2 | ) |
Definition at line 751 of file curves_geometry_test.cc.
References blender::bke::curves::nurbs::calculate_knots(), blender::bke::curves::nurbs::calculate_multiplicity_sequence(), blender::bke::curves::nurbs::knots_num(), blender::NURBS_KNOT_MODE_ENDPOINT_BEZIER, blender::Span< T >::Span(), and TEST_F().
| blender::bke::tests::TEST_F | ( | KnotVectorTest | , |
| KnotVectorBezierClampedSegmentDeg4 | ) |
Definition at line 764 of file curves_geometry_test.cc.
References blender::bke::curves::nurbs::calculate_knots(), blender::bke::curves::nurbs::calculate_multiplicity_sequence(), blender::bke::curves::nurbs::knots_num(), blender::NURBS_KNOT_MODE_ENDPOINT_BEZIER, blender::Span< T >::Span(), and TEST_F().
| blender::bke::tests::TEST_F | ( | KnotVectorTest | , |
| KnotVectorBezierClampedUnevenDeg2 | ) |
Definition at line 790 of file curves_geometry_test.cc.
References blender::bke::curves::nurbs::calculate_knots(), blender::bke::curves::nurbs::calculate_multiplicity_sequence(), blender::bke::curves::nurbs::knots_num(), blender::NURBS_KNOT_MODE_ENDPOINT_BEZIER, blender::Span< T >::Span(), and TEST_F().
| blender::bke::tests::TEST_F | ( | KnotVectorTest | , |
| KnotVectorBezierClampedUnevenDeg4 | ) |
Definition at line 816 of file curves_geometry_test.cc.
References blender::bke::curves::nurbs::calculate_knots(), blender::bke::curves::nurbs::calculate_multiplicity_sequence(), blender::bke::curves::nurbs::knots_num(), blender::NURBS_KNOT_MODE_ENDPOINT_BEZIER, blender::Span< T >::Span(), and TEST_F().
| blender::bke::tests::TEST_F | ( | KnotVectorTest | , |
| KnotVectorBezierCyclicUnevenDeg4 | ) |
Definition at line 926 of file curves_geometry_test.cc.
References blender::bke::curves::nurbs::calculate_knots(), blender::bke::curves::nurbs::calculate_multiplicity_sequence(), blender::data, blender::bke::curves::nurbs::knots_num(), blender::NURBS_KNOT_MODE_BEZIER, blender::Vector< T, InlineBufferCapacity, Allocator >::size(), blender::Span< T >::Span(), and TEST_F().
| blender::bke::tests::TEST_F | ( | KnotVectorTest | , |
| KnotVectorBezierSegmentDeg2 | ) |
| blender::bke::tests::TEST_F | ( | KnotVectorTest | , |
| KnotVectorBezierUnevenDeg2 | ) |
Definition at line 886 of file curves_geometry_test.cc.
References blender::bke::curves::nurbs::calculate_knots(), blender::bke::curves::nurbs::calculate_multiplicity_sequence(), blender::data, blender::bke::curves::nurbs::knots_num(), blender::NURBS_KNOT_MODE_BEZIER, blender::Vector< T, InlineBufferCapacity, Allocator >::size(), blender::Span< T >::Span(), and TEST_F().
| blender::bke::tests::TEST_F | ( | KnotVectorTest | , |
| KnotVectorBezierUnevenDeg4 | ) |
Definition at line 905 of file curves_geometry_test.cc.
References blender::bke::curves::nurbs::calculate_knots(), blender::bke::curves::nurbs::calculate_multiplicity_sequence(), blender::data, blender::bke::curves::nurbs::knots_num(), blender::NURBS_KNOT_MODE_BEZIER, blender::Vector< T, InlineBufferCapacity, Allocator >::size(), blender::Span< T >::Span(), and TEST_F().
| blender::bke::tests::TEST_F | ( | KnotVectorTest | , |
| KnotVectorCircleCyclicUnevenDeg2 | ) |
Definition at line 835 of file curves_geometry_test.cc.
References blender::bke::curves::nurbs::calculate_knots(), blender::bke::curves::nurbs::calculate_multiplicity_sequence(), blender::bke::curves::nurbs::knots_num(), blender::NURBS_KNOT_MODE_ENDPOINT_BEZIER, blender::Span< T >::Span(), and TEST_F().
| blender::bke::tests::TEST_F | ( | KnotVectorTest | , |
| KnotVectorUniform | ) |
| blender::bke::tests::TEST_F | ( | KnotVectorTest | , |
| KnotVectorUniformClamped | ) |
| blender::bke::tests::TEST_F | ( | LibIDMainGlobalUniqueNameTest | , |
| linked_ids_1 | ) |
Definition at line 335 of file lib_id_test.cc.
References blender::BKE_id_new(), blender::BKE_main_namemap_validate(), blender::bke::tests::LibIDMainSortTestContext::bmain, change_lib(), change_name(), change_name_global(), EXPECT_NE, EXPECT_TRUE, blender::ID_LI, blender::ID_OB, blender::id_sort_by_name(), blender::Main::libraries, blender::ID::name, blender::Main::name_map_global, blender::Main::objects, blender::RenameExistingNever, TEST_F(), and test_lib_id_main_sort_check_order().
| blender::bke::tests::TEST_F | ( | LibIDMainSortTest | , |
| linked_ids_1 | ) |
Definition at line 80 of file lib_id_test.cc.
References blender::BKE_id_new(), blender::BKE_main_namemap_validate(), blender::bke::tests::LibIDMainSortTestContext::bmain, change_lib(), blender::EXPECT_EQ(), EXPECT_TRUE, blender::ID_LI, blender::ID_OB, blender::id_sort_by_name(), blender::Main::libraries, blender::Main::name_map_global, blender::Main::objects, TEST_F(), and test_lib_id_main_sort_check_order().
| blender::bke::tests::TEST_F | ( | LibIDMainSortTest | , |
| local_ids_1 | ) |
Definition at line 50 of file lib_id_test.cc.
References blender::BKE_id_new(), blender::bke::tests::LibIDMainSortTestContext::bmain, blender::EXPECT_EQ(), EXPECT_TRUE, blender::ID_OB, blender::Main::libraries, blender::Main::name_map_global, blender::Main::objects, TEST_F(), and test_lib_id_main_sort_check_order().
| blender::bke::tests::TEST_F | ( | LibIDMainUniqueNameTest | , |
| create_equivalent_numeric_suffixes | ) |
Definition at line 485 of file lib_id_test.cc.
References blender::BKE_id_new(), blender::BKE_main_namemap_validate(), blender::bke::tests::LibIDMainSortTestContext::bmain, blender::EXPECT_EQ(), EXPECT_TRUE, blender::ID_OB, blender::ID::name, blender::Main::name_map_global, and TEST_F().
| blender::bke::tests::TEST_F | ( | LibIDMainUniqueNameTest | , |
| ids_sorted_by_default | ) |
Definition at line 390 of file lib_id_test.cc.
References blender::BKE_id_new(), blender::BKE_main_namemap_validate(), blender::bke::tests::LibIDMainSortTestContext::bmain, blender::EXPECT_EQ(), EXPECT_TRUE, blender::ID_OB, blender::Main::name_map_global, TEST_F(), and test_lib_id_main_sort_check_order().
| blender::bke::tests::TEST_F | ( | LibIDMainUniqueNameTest | , |
| ids_sorted_by_default_with_libraries | ) |
Definition at line 413 of file lib_id_test.cc.
References add_id_in_library(), blender::BKE_id_new(), blender::BKE_main_namemap_validate(), blender::bke::tests::LibIDMainSortTestContext::bmain, blender::EXPECT_EQ(), EXPECT_TRUE, blender::ID_LI, blender::ID_OB, blender::Main::name_map_global, TEST_F(), and test_lib_id_main_sort_check_order().
| blender::bke::tests::TEST_F | ( | LibIDMainUniqueNameTest | , |
| linked_ids_1 | ) |
Definition at line 282 of file lib_id_test.cc.
References blender::BKE_id_new(), blender::BKE_main_namemap_validate(), blender::bke::tests::LibIDMainSortTestContext::bmain, change_lib(), change_name(), blender::EXPECT_EQ(), EXPECT_TRUE, blender::ID_LI, blender::ID_OB, blender::id_sort_by_name(), blender::Main::libraries, blender::ID::name, blender::Main::name_map_global, blender::Main::objects, blender::RenameExistingNever, TEST_F(), and test_lib_id_main_sort_check_order().
| blender::bke::tests::TEST_F | ( | LibIDMainUniqueNameTest | , |
| local_ids_rename_existing_always | ) |
Definition at line 195 of file lib_id_test.cc.
References blender::BKE_id_new(), blender::BKE_main_namemap_validate(), blender::bke::tests::LibIDMainSortTestContext::bmain, change_name(), blender::EXPECT_EQ(), EXPECT_TRUE, blender::ID_OB, blender::Main::libraries, blender::ID::name, blender::Main::name_map_global, blender::Main::objects, blender::IDNewNameResult::RENAMED_COLLISION_FORCED, blender::RenameExistingAlways, blender::result, TEST_F(), and test_lib_id_main_sort_check_order().
| blender::bke::tests::TEST_F | ( | LibIDMainUniqueNameTest | , |
| local_ids_rename_existing_never | ) |
Definition at line 118 of file lib_id_test.cc.
References blender::BKE_id_new(), blender::BKE_main_namemap_get_unique_name(), blender::BKE_main_namemap_validate(), blender::BLI_STATIC_ASSERT(), blender::bke::tests::LibIDMainSortTestContext::bmain, change_name(), blender::EXPECT_EQ(), EXPECT_FALSE, EXPECT_TRUE, blender::ID_OB, blender::Main::libraries, MAX_ID_NAME, blender::ID::name, blender::Main::name_map_global, blender::Main::objects, blender::IDNewNameResult::RENAMED_COLLISION_ADJUSTED, blender::RenameExistingNever, blender::result, blender::STRNCPY(), TEST_F(), test_lib_id_main_sort_check_order(), and blender::IDNewNameResult::UNCHANGED_COLLISION.
| blender::bke::tests::TEST_F | ( | LibIDMainUniqueNameTest | , |
| local_ids_rename_existing_same_root | ) |
Definition at line 238 of file lib_id_test.cc.
References blender::BKE_id_new(), blender::BKE_main_namemap_validate(), blender::bke::tests::LibIDMainSortTestContext::bmain, change_name(), blender::EXPECT_EQ(), EXPECT_TRUE, blender::ID_OB, blender::Main::libraries, blender::ID::name, blender::Main::name_map_global, blender::Main::objects, blender::IDNewNameResult::RENAMED_COLLISION_ADJUSTED, blender::IDNewNameResult::RENAMED_COLLISION_FORCED, blender::RenameExistingSameRoot, blender::result, TEST_F(), and test_lib_id_main_sort_check_order().
| blender::bke::tests::TEST_F | ( | LibIDMainUniqueNameTest | , |
| name_huge_number_suffix | ) |
Definition at line 771 of file lib_id_test.cc.
References blender::BKE_id_new(), blender::BKE_main_namemap_validate(), blender::bke::tests::LibIDMainSortTestContext::bmain, blender::EXPECT_EQ(), EXPECT_TRUE, blender::ID_OB, blender::ID::name, blender::Main::name_map_global, and TEST_F().
| blender::bke::tests::TEST_F | ( | LibIDMainUniqueNameTest | , |
| name_number_suffix_assignment | ) |
Definition at line 637 of file lib_id_test.cc.
References blender::BKE_id_free(), blender::BKE_id_name(), blender::BKE_id_new(), blender::BKE_main_namemap_validate(), blender::bke::tests::LibIDMainSortTestContext::bmain, blender::EXPECT_EQ(), EXPECT_TRUE, blender::ID_OB, blender::ID::name, blender::Main::name_map_global, and TEST_F().
| blender::bke::tests::TEST_F | ( | LibIDMainUniqueNameTest | , |
| name_too_long_handling | ) |
Definition at line 437 of file lib_id_test.cc.
References blender::BKE_id_name(), blender::BKE_id_new(), blender::BKE_main_namemap_validate(), blender::BLI_STATIC_ASSERT(), blender::bke::tests::LibIDMainSortTestContext::bmain, blender::EXPECT_EQ(), EXPECT_TRUE, blender::ID_OB, MAX_ID_NAME, blender::Main::name_map_global, and TEST_F().
| blender::bke::tests::TEST_F | ( | LibIDMainUniqueNameTest | , |
| names_are_unique_per_id_type | ) |
Definition at line 754 of file lib_id_test.cc.
References blender::BKE_id_new(), blender::BKE_main_namemap_validate(), blender::bke::tests::LibIDMainSortTestContext::bmain, blender::EXPECT_EQ(), EXPECT_TRUE, blender::ID_CA, blender::ID_OB, blender::ID::name, blender::Main::name_map_global, and TEST_F().
| blender::bke::tests::TEST_F | ( | LibIDMainUniqueNameTest | , |
| re_create_equivalent_numeric_suffixes | ) |
Definition at line 548 of file lib_id_test.cc.
References blender::BKE_id_delete(), blender::BKE_id_name(), blender::BKE_id_new(), blender::BKE_main_namemap_validate(), blender::bke::tests::LibIDMainSortTestContext::bmain, blender::EXPECT_EQ(), EXPECT_TRUE, blender::ID_OB, blender::Main::name_map_global, and TEST_F().
| blender::bke::tests::TEST_F | ( | LibIDMainUniqueNameTest | , |
| remove_after_dup_get_original_name | ) |
Definition at line 616 of file lib_id_test.cc.
References blender::BKE_id_free(), blender::BKE_id_new(), blender::BKE_main_namemap_validate(), blender::bke::tests::LibIDMainSortTestContext::bmain, blender::EXPECT_EQ(), EXPECT_TRUE, blender::ID_OB, blender::ID::name, blender::Main::name_map_global, and TEST_F().
| blender::bke::tests::TEST_F | ( | LibIDMainUniqueNameTest | , |
| renames_with_duplicates | ) |
Definition at line 726 of file lib_id_test.cc.
References blender::BKE_id_new(), blender::BKE_libblock_rename(), blender::BKE_main_namemap_validate(), blender::bke::tests::LibIDMainSortTestContext::bmain, blender::EXPECT_EQ(), EXPECT_TRUE, blender::ID_OB, blender::ID::name, blender::Main::name_map_global, and TEST_F().
| blender::bke::tests::TEST_F | ( | LibIDMainUniqueNameTest | , |
| zero_suffix_is_never_assigned | ) |
Definition at line 597 of file lib_id_test.cc.
References blender::BKE_id_new(), blender::BKE_main_namemap_validate(), blender::bke::tests::LibIDMainSortTestContext::bmain, blender::EXPECT_EQ(), EXPECT_TRUE, blender::ID_OB, blender::ID::name, blender::Main::name_map_global, and TEST_F().
| blender::bke::tests::TEST_F | ( | LibIDMakeLocalTest | , |
| brush | ) |
Definition at line 790 of file lib_id_test.cc.
References blender::BKE_id_new(), blender::BKE_lib_id_make_local(), blender::bke::tests::LibIDMainSortTestContext::bmain, change_lib(), blender::EXPECT_EQ(), EXPECT_NE, EXPECT_TRUE, blender::ID::flag, blender::ID_BR, blender::ID_FLAG_FAKEUSER, blender::ID_LI, blender::LIB_ID_MAKELOCAL_FORCE_COPY, blender::ID::newid, TEST_F(), and blender::ID::us.
| blender::bke::tests::TEST_F | ( | LibQueryTest | , |
| libquery_basic | ) |
Definition at line 135 of file lib_query_test.cc.
References blender::BKE_library_foreach_ID_link(), blender::EXPECT_EQ(), FOREACH_MAIN_ID_BEGIN, FOREACH_MAIN_ID_END, blender::IDWALK_NOP, blender::IDWALK_READONLY, blender::IDWALK_RET_NOP, TEST_F(), and blender::ID::us.
| blender::bke::tests::TEST_F | ( | LibQueryTest | , |
| libquery_recursive | ) |
Definition at line 197 of file lib_query_test.cc.
References blender::BKE_library_foreach_ID_link(), blender::EXPECT_EQ(), EXPECT_NE, FOREACH_MAIN_ID_BEGIN, FOREACH_MAIN_ID_END, blender::IDWALK_CB_USER, blender::IDWALK_RECURSE, blender::IDWALK_RET_NOP, TEST_F(), and blender::ID::us.
| blender::bke::tests::TEST_F | ( | LibQueryTest | , |
| libquery_subdata | ) |
Definition at line 260 of file lib_query_test.cc.
References blender::BKE_library_foreach_subdata_id(), blender::data, blender::EXPECT_EQ(), FOREACH_MAIN_ID_BEGIN, FOREACH_MAIN_ID_END, blender::IDWALK_NOP, blender::IDWALK_RET_NOP, blender::bke::node_node_foreach_id(), TEST_F(), and blender::ID::us.
| blender::bke::tests::TEST_F | ( | LibQueryTest | , |
| libquery_unused_ids_direct | ) |
Definition at line 412 of file lib_query_test.cc.
References blender::BKE_lib_query_unused_ids_tag(), blender::data, blender::EXPECT_EQ(), EXPECT_TRUE, FOREACH_MAIN_ID_BEGIN, FOREACH_MAIN_ID_END, ID_IS_LINKED, blender::ID_TAG_DOIT, INDEX_ID_MAX, blender::INDEX_ID_ME, blender::INDEX_ID_NULL, blender::INDEX_ID_WO, blender::IndexRange::IndexRange(), blender::ID::tag, and TEST_F().
| blender::bke::tests::TEST_F | ( | LibQueryTest | , |
| libquery_unused_ids_recursive | ) |
Definition at line 522 of file lib_query_test.cc.
References blender::BKE_lib_query_unused_ids_tag(), blender::data, blender::EXPECT_EQ(), EXPECT_TRUE, FOREACH_MAIN_ID_BEGIN, FOREACH_MAIN_ID_END, ID_IS_LINKED, blender::ID_TAG_DOIT, INDEX_ID_MAX, blender::INDEX_ID_ME, blender::INDEX_ID_NULL, blender::INDEX_ID_OB, blender::INDEX_ID_WO, blender::IndexRange::IndexRange(), blender::ID::tag, and TEST_F().
| blender::bke::tests::TEST_F | ( | LibRemapTest | , |
| delete_when_remap_to_self_not_allowed | ) |
Definition at line 148 of file lib_remap_test.cc.
References blender::BKE_libblock_remap(), blender::EXPECT_EQ(), and TEST_F().
| blender::bke::tests::TEST_F | ( | LibRemapTest | , |
| do_not_delete_when_cannot_unset | ) |
Definition at line 207 of file lib_remap_test.cc.
References blender::BKE_libblock_remap(), blender::EXPECT_EQ(), EXPECT_NE, blender::ID_REMAP_SKIP_NEVER_NULL_USAGE, and TEST_F().
| blender::bke::tests::TEST_F | ( | LibRemapTest | , |
| embedded_ids_can_not_be_deleted | ) |
Definition at line 128 of file lib_remap_test.cc.
References blender::BKE_libblock_remap(), blender::EXPECT_EQ(), EXPECT_NE, blender::ID_REMAP_SKIP_NEVER_NULL_USAGE, and TEST_F().
| blender::bke::tests::TEST_F | ( | LibRemapTest | , |
| embedded_ids_can_not_be_remapped | ) |
Definition at line 112 of file lib_remap_test.cc.
References blender::BKE_id_free(), blender::BKE_id_new_nomain(), blender::BKE_libblock_remap(), blender::EXPECT_EQ(), EXPECT_NE, and TEST_F().
| blender::bke::tests::TEST_F | ( | LibRemapTest | , |
| force_never_null_usage | ) |
Definition at line 219 of file lib_remap_test.cc.
References blender::BKE_libblock_remap(), blender::EXPECT_EQ(), blender::ID_REMAP_FORCE_NEVER_NULL_USAGE, and TEST_F().
| blender::bke::tests::TEST_F | ( | LibRemapTest | , |
| never_null_usage_flag_not_requested_on_delete | ) |
Definition at line 230 of file lib_remap_test.cc.
References blender::BKE_libblock_remap(), blender::EXPECT_EQ(), EXPECT_NE, blender::ID_REMAP_SKIP_NEVER_NULL_USAGE, blender::ID_TAG_DOIT, and TEST_F().
| blender::bke::tests::TEST_F | ( | LibRemapTest | , |
| never_null_usage_flag_not_requested_on_remap | ) |
Definition at line 266 of file lib_remap_test.cc.
References blender::BKE_libblock_remap(), blender::BKE_mesh_add(), blender::EXPECT_EQ(), blender::ID_REMAP_SKIP_NEVER_NULL_USAGE, blender::ID_TAG_DOIT, and TEST_F().
| blender::bke::tests::TEST_F | ( | LibRemapTest | , |
| never_null_usage_storage_requested_on_delete | ) |
Definition at line 245 of file lib_remap_test.cc.
References blender::bke::id::IDRemapper::add(), blender::BKE_libblock_remap_multiple_locked(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), blender::EXPECT_EQ(), EXPECT_NE, EXPECT_TRUE, blender::ID_REMAP_SKIP_NEVER_NULL_USAGE, blender::ID_REMAP_STORE_NEVER_NULL_USAGE, blender::ID_TAG_DOIT, blender::bke::id::IDRemapper::never_null_users(), and TEST_F().
| blender::bke::tests::TEST_F | ( | LibRemapTest | , |
| never_null_usage_storage_requested_on_remap | ) |
Definition at line 281 of file lib_remap_test.cc.
References blender::bke::id::IDRemapper::add(), blender::BKE_libblock_remap_multiple_locked(), blender::BKE_mesh_add(), blender::EXPECT_EQ(), EXPECT_TRUE, blender::Mesh::id, blender::ID_REMAP_SKIP_NEVER_NULL_USAGE, blender::ID_REMAP_STORE_NEVER_NULL_USAGE, blender::ID_TAG_DOIT, blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::is_empty(), blender::bke::id::IDRemapper::never_null_users(), and TEST_F().
| blender::bke::tests::TEST_F | ( | LibRemapTest | , |
| users_are_decreased_when_not_skipping_never_null | ) |
Definition at line 167 of file lib_remap_test.cc.
References blender::BKE_libblock_remap(), blender::EXPECT_EQ(), EXPECT_NE, blender::ID_TAG_DOIT, and TEST_F().
| blender::bke::tests::TEST_F | ( | LibRemapTest | , |
| users_are_same_when_skipping_never_null | ) |
Definition at line 185 of file lib_remap_test.cc.
References blender::BKE_libblock_remap(), blender::EXPECT_EQ(), EXPECT_NE, blender::ID_REMAP_SKIP_NEVER_NULL_USAGE, blender::ID_TAG_DOIT, and TEST_F().
| blender::bke::tests::TEST_F | ( | MeshPaintBVHTest | , |
| from_mesh | ) |
Definition at line 42 of file paint_test.cc.
References EXPECT_GT, blender::bke::pbvh::Tree::from_mesh(), blender::bke::pbvh::Tree::nodes(), and TEST_F().
| blender::bke::tests::TEST_F | ( | NlaStripTest | , |
| BKE_nla_clip_length_ensure_nonzero | ) |
Definition at line 90 of file blenkernel/intern/nla_test.cc.
References blender::BKE_nla_clip_length_ensure_nonzero(), and TEST_F().
| blender::bke::tests::TEST_F | ( | NlaStripTest | , |
| BKE_nla_clip_length_get_nonzero | ) |
Definition at line 69 of file blenkernel/intern/nla_test.cc.
References blender::NlaStrip::actend, blender::NlaStrip::actstart, blender::BKE_nla_clip_length_get_nonzero(), and TEST_F().
| blender::bke::tests::TEST_F | ( | NlaStripTest | , |
| BKE_nlastrip_recalculate_blend | ) |
Definition at line 18 of file blenkernel/intern/nla_test.cc.
References blender::BKE_nlastrip_recalculate_blend(), blender::NlaStrip::blendin, blender::NlaStrip::blendout, blender::NlaStrip::end, blender::NlaStrip::start, and TEST_F().
| blender::bke::tests::TEST_F | ( | NlaStripTest | , |
| BKE_nlastrips_add_strip | ) |
Definition at line 45 of file blenkernel/intern/nla_test.cc.
References blender::BKE_nlastrips_add_strip(), blender::NlaStrip::end, EXPECT_FALSE, EXPECT_TRUE, blender::NlaStrip::start, and TEST_F().
| blender::bke::tests::TEST_F | ( | NlaTrackTest | , |
| BKE_nlatrack_new_head | ) |
Definition at line 181 of file blenkernel/intern/nla_test.cc.
References blender::BKE_nlatrack_new_head(), blender::BKE_nlatrack_remove_and_free(), blender::BLI_findindex(), blender::EXPECT_EQ(), blender::AnimData::nla_tracks, and TEST_F().
| blender::bke::tests::TEST_F | ( | NlaTrackTest | , |
| BKE_nlatrack_new_tail | ) |
Definition at line 166 of file blenkernel/intern/nla_test.cc.
References blender::BKE_nlatrack_new_tail(), blender::BKE_nlatrack_remove_and_free(), blender::BLI_findindex(), blender::EXPECT_EQ(), blender::AnimData::nla_tracks, and TEST_F().
| blender::bke::tests::TEST_F | ( | NlaTrackTest | , |
| BKE_nlatrack_remove_and_free | ) |
Definition at line 143 of file blenkernel/intern/nla_test.cc.
References blender::BKE_nlatrack_new_tail(), blender::BKE_nlatrack_remove_and_free(), blender::BLI_findindex(), blender::EXPECT_EQ(), blender::AnimData::nla_tracks, and TEST_F().
| blender::bke::tests::TEST_F | ( | NlaTrackTest | , |
| BKE_nlatrack_remove_strip | ) |
Definition at line 117 of file blenkernel/intern/nla_test.cc.
References blender::BKE_nlastrips_add_strip(), blender::BKE_nlatrack_remove_strip(), blender::BLI_findindex(), blender::NlaStrip::end, blender::EXPECT_EQ(), blender::NlaStrip::start, blender::NlaTrack::strips, and TEST_F().
| blender::bke::tests::TEST_F | ( | PathTemplatesTest | , |
| apply_template_alloc | ) |
Definition at line 463 of file path_templates_test.cc.
References blender::bke::path_templates::VariableMap::add_integer(), blender::bke::path_templates::VariableMap::add_string(), blender::BKE_path_apply_template_alloc(), blender::BLI_strncpy(), errors_to_string(), blender::EXPECT_EQ(), blender::IndexRange::IndexRange(), blender::MEM_new_array_uninitialized(), TEST_F(), blender::bke::path_templates::UNKNOWN_VARIABLE, and blender::bke::path_templates::VARIABLE_SYNTAX.
| blender::bke::tests::TEST_F | ( | PathTemplatesTest | , |
| escape_template | ) |
Definition at line 453 of file path_templates_test.cc.
References blender::BKE_path_template_escape(), blender::EXPECT_EQ(), and TEST_F().
| blender::bke::tests::TEST_F | ( | PathTemplatesTest | , |
| validate_and_apply_template | ) |
Definition at line 227 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_apply_template(), blender::BKE_path_validate_template(), errors_to_string(), blender::EXPECT_EQ(), FILE_MAX, blender::bke::path_templates::FORMAT_SPECIFIER, blender::IndexRange::IndexRange(), blender::STRNCPY(), TEST_F(), blender::bke::path_templates::UNKNOWN_VARIABLE, and blender::bke::path_templates::VARIABLE_SYNTAX.
| blender::bke::tests::TEST_F | ( | PathTemplatesTest | , |
| VariableMap | ) |
Definition at line 66 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(), blender::EXPECT_EQ(), EXPECT_FALSE, EXPECT_TRUE, 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(), blender::bke::path_templates::VariableMap::remove(), and TEST_F().
| blender::bke::tests::TEST_F | ( | PathTemplatesTest | , |
| VariableMap_add_filename_only | ) |
Definition at line 152 of file path_templates_test.cc.
References blender::bke::path_templates::VariableMap::add_filename_only(), blender::EXPECT_EQ(), EXPECT_FALSE, EXPECT_TRUE, blender::bke::path_templates::VariableMap::get_filepath(), and TEST_F().
| blender::bke::tests::TEST_F | ( | PathTemplatesTest | , |
| VariableMap_add_path_up_to_file | ) |
Definition at line 189 of file path_templates_test.cc.
References blender::bke::path_templates::VariableMap::add_filename_only(), blender::bke::path_templates::VariableMap::add_path_up_to_file(), blender::EXPECT_EQ(), EXPECT_FALSE, EXPECT_TRUE, blender::bke::path_templates::VariableMap::get_filepath(), and TEST_F().
| blender::bke::tests::TEST_F | ( | PoseBoneIndexTest | , |
| pose_bone_get | ) |
Definition at line 549 of file armature_test.cc.
References blender::BKE_pose_channel_find_name(), blender::EXPECT_EQ(), and TEST_F().
| blender::bke::tests::TEST_F | ( | PoseBoneIndexTest | , |
| pose_rebuild_test | ) |
Definition at line 601 of file armature_test.cc.
References blender::BKE_pose_channel_find_name(), blender::BLI_remlink(), blender::EXPECT_EQ(), and TEST_F().
| blender::bke::tests::TEST_F | ( | PoseBoneIndexTest | , |
| reassign_armature_copy | ) |
Definition at line 561 of file armature_test.cc.
References blender::BKE_armature_find_bone_name(), blender::BKE_id_copy(), blender::BKE_pose_channel_find_name(), blender::EXPECT_EQ(), blender::id_us_min(), blender::id_us_plus(), blender::bMotionPath::runtime, and TEST_F().
| blender::bke::tests::TEST_F | ( | RecentsTest | , |
| ArrayOfTablesRoundTrip | ) |
Definition at line 109 of file recents_test.cc.
References blender::EXPECT_EQ(), blender::recents::Section::get(), blender::recents::Section::remove_section(), blender::recents::Section::set(), and TEST_F().
| blender::bke::tests::TEST_F | ( | RecentsTest | , |
| BuiltinRootDefaultsAreReadable | ) |
Definition at line 120 of file recents_test.cc.
References blender::EXPECT_EQ(), blender::recents::Section::get(), and TEST_F().
| blender::bke::tests::TEST_F | ( | RecentsTest | , |
| BuiltinSectionLevelDefault | ) |
Definition at line 166 of file recents_test.cc.
References blender::EXPECT_EQ(), blender::recents::Section::Section(), and TEST_F().
| blender::bke::tests::TEST_F | ( | RecentsTest | , |
| ExplicitInitIsSafeToCallAgain | ) |
Definition at line 233 of file recents_test.cc.
References blender::EXPECT_EQ(), blender::recents::Section::get(), blender::recents::init(), blender::recents::Section::remove_section(), blender::recents::Section::set(), and TEST_F().
| blender::bke::tests::TEST_F | ( | RecentsTest | , |
| GetUnsetValueReturnsTypeDefault | ) |
Definition at line 44 of file recents_test.cc.
References blender::EXPECT_EQ(), blender::recents::Section::get(), and TEST_F().
| blender::bke::tests::TEST_F | ( | RecentsTest | , |
| GetWrongTypeReturnsTypeDefault | ) |
Definition at line 99 of file recents_test.cc.
References blender::EXPECT_EQ(), EXPECT_TRUE, blender::recents::Section::get(), blender::recents::Section::remove_section(), blender::recents::Section::set(), and TEST_F().
| blender::bke::tests::TEST_F | ( | RecentsTest | , |
| PerKeyDefaultOverridesSectionLevelDefault | ) |
Definition at line 174 of file recents_test.cc.
References blender::recents::Section::get(), and TEST_F().
| blender::bke::tests::TEST_F | ( | RecentsTest | , |
| RemoveItemFallsBackToDefault | ) |
Definition at line 142 of file recents_test.cc.
References blender::EXPECT_EQ(), blender::recents::Section::get(), blender::recents::Section::remove(), blender::recents::Section::set(), and TEST_F().
| blender::bke::tests::TEST_F | ( | RecentsTest | , |
| RemoveSectionClearsAllItems | ) |
Definition at line 152 of file recents_test.cc.
References blender::EXPECT_EQ(), blender::recents::Section::get(), blender::recents::Section::remove_section(), blender::recents::Section::set(), and TEST_F().
| blender::bke::tests::TEST_F | ( | RecentsTest | , |
| RootSectionStoresAtTopLevel | ) |
Definition at line 75 of file recents_test.cc.
References blender::EXPECT_EQ(), blender::recents::Section::get(), blender::recents::Section::remove(), blender::recents::Section::set(), and TEST_F().
| blender::bke::tests::TEST_F | ( | RecentsTest | , |
| SaveIsNoOpInBackgroundMode | ) |
Definition at line 219 of file recents_test.cc.
References EXPECT_FALSE, blender::recents::save(), and TEST_F().
| blender::bke::tests::TEST_F | ( | RecentsTest | , |
| SaveStampsBlenderVersion | ) |
Definition at line 225 of file recents_test.cc.
References BLENDER_VERSION, blender::EXPECT_EQ(), blender::recents::save(), blender::recents::Section::Section(), and TEST_F().
| blender::bke::tests::TEST_F | ( | RecentsTest | , |
| SectionsAreIsolated | ) |
Definition at line 127 of file recents_test.cc.
References b, blender::EXPECT_EQ(), blender::recents::Section::get(), blender::recents::Section::remove_section(), blender::recents::Section::set(), and TEST_F().
| blender::bke::tests::TEST_F | ( | RecentsTest | , |
| SetInSectionThatIsNotATable | ) |
Definition at line 86 of file recents_test.cc.
References blender::EXPECT_EQ(), blender::recents::Section::set(), and TEST_F().
| blender::bke::tests::TEST_F | ( | RecentsTest | , |
| SetThenGetRoundTrip | ) |
Definition at line 53 of file recents_test.cc.
References blender::EXPECT_EQ(), blender::recents::Section::get(), blender::recents::Section::remove_section(), blender::recents::Section::set(), and TEST_F().
| blender::bke::tests::TEST_F | ( | RecentsTest | , |
| UserSectionDefaultOverridesBuiltinSectionDefault | ) |
Definition at line 206 of file recents_test.cc.
References blender::EXPECT_EQ(), blender::recents::Section::get(), blender::recents::Section::remove(), blender::recents::Section::set(), and TEST_F().
| blender::bke::tests::TEST_F | ( | RecentsTest | , |
| UserValueOverridesBuiltinDefault | ) |
Definition at line 187 of file recents_test.cc.
References blender::recents::Section::get(), blender::recents::Section::remove(), blender::recents::Section::set(), and TEST_F().
| blender::bke::tests::TEST_F | ( | SceneTest | , |
| frame_snap_by_seconds | ) |
Definition at line 50 of file scene_test.cc.
References blender::BKE_scene_frame_snap_by_seconds(), blender::RenderData::frs_sec, blender::RenderData::frs_sec_base, blender::Scene::r, and TEST_F().
| blender::bke::tests::TEST_F | ( | SceneTest | , |
| linked_copy_id_remapping | ) |
Definition at line 81 of file scene_test.cc.
References blender::AnimData::action, blender::BKE_animdata_from_id(), blender::BKE_animdata_set_action(), blender::BKE_id_new(), blender::BKE_scene_duplicate(), blender::bke::idprop::create(), blender::EXPECT_EQ(), EXPECT_NE, blender::bAction::id, blender::Scene::id, blender::IDP_AddToGroup(), blender::IDP_EnsureProperties(), blender::IDP_GetProperties(), blender::IDP_GetPropertyFromGroup(), IDP_ID_get, blender::LIB_ID_DUPLICATE_IS_ROOT_ID, blender::SCE_COPY_LINK_COLLECTION, TEST_F(), blender::U, and blender::USER_DUP_OBJECT.
| blender::bke::tests::TEST_F | ( | ShapekeyTest | , |
| mesh_key_creation | ) |
Definition at line 54 of file key_test.cc.
References blender::BKE_key_add(), blender::BKE_key_from_object(), blender::BKE_keyblock_add(), blender::BKE_keyblock_convert_from_mesh(), blender::Array< T, InlineBufferCapacity, Allocator >::data(), blender::data, blender::KeyBlock::data, blender::Key::elemsize, blender::EXPECT_EQ(), blender::Key::from, blender::Key::refkey, TEST_F(), and blender::KeyBlock::totelem.
| blender::bke::tests::TEST_F | ( | ShapekeyTest | , |
| mesh_key_evaluation_absolute | ) |
Definition at line 150 of file key_test.cc.
References blender::BKE_key_add(), blender::BKE_key_evaluate_object(), blender::BKE_keyblock_add(), blender::BKE_keyblock_convert_from_mesh(), blender::Key::ctime, blender::Array< T, InlineBufferCapacity, Allocator >::data(), blender::KeyBlock::data, EXPECT_NEAR, blender::KEY_NORMAL, blender::KeyBlock::pos, TEST_F(), and blender::Key::type.
| blender::bke::tests::TEST_F | ( | ShapekeyTest | , |
| mesh_key_evaluation_absolute_uneqal_element_count | ) |
Definition at line 262 of file key_test.cc.
References blender::BKE_key_add(), blender::BKE_key_evaluate_object(), blender::BKE_keyblock_add(), blender::BKE_keyblock_convert_from_mesh(), blender::Key::ctime, blender::Array< T, InlineBufferCapacity, Allocator >::data(), blender::KeyBlock::data, blender::Key::elemsize, EXPECT_NEAR, blender::KEY_NORMAL, blender::MEM_new_array_uninitialized(), blender::KeyBlock::pos, TEST_F(), blender::KeyBlock::totelem, and blender::Key::type.
| blender::bke::tests::TEST_F | ( | ShapekeyTest | , |
| mesh_key_evaluation_relative | ) |
Definition at line 81 of file key_test.cc.
References blender::BKE_key_add(), blender::BKE_key_evaluate_object(), blender::BKE_keyblock_add(), blender::BKE_keyblock_convert_from_mesh(), blender::KeyBlock::curval, blender::Array< T, InlineBufferCapacity, Allocator >::data(), blender::KeyBlock::data, blender::KEY_RELATIVE, TEST_F(), and blender::Key::type.
| blender::bke::tests::TEST_F | ( | ShapekeyTest | , |
| mesh_key_evaluation_relative_uneqal_element_count | ) |
Definition at line 226 of file key_test.cc.
References blender::BKE_key_add(), blender::BKE_key_evaluate_object(), blender::BKE_keyblock_add(), blender::BKE_keyblock_convert_from_mesh(), blender::KeyBlock::curval, blender::Array< T, InlineBufferCapacity, Allocator >::data(), blender::KeyBlock::data, blender::Key::elemsize, blender::KEY_RELATIVE, blender::MEM_new_array_uninitialized(), TEST_F(), blender::KeyBlock::totelem, and blender::Key::type.
| blender::bke::tests::TEST_F | ( | SocketValueVariantTest | , |
| ConstantIntFieldToFloat | ) |
Definition at line 100 of file node_socket_value_test.cc.
References blender::bke::SocketValueVariant::ensure_type(), blender::EXPECT_EQ(), TEST_F(), and blender::v.
| blender::bke::tests::TEST_F | ( | SocketValueVariantTest | , |
| ConstantIntFieldToInt | ) |
Definition at line 92 of file node_socket_value_test.cc.
References blender::bke::SocketValueVariant::ensure_type(), blender::EXPECT_EQ(), TEST_F(), and blender::v.
| blender::bke::tests::TEST_F | ( | SocketValueVariantTest | , |
| ConstIntFieldToFloatField | ) |
Definition at line 108 of file node_socket_value_test.cc.
References blender::fn::Field< T >::depends_on_input(), blender::bke::SocketValueVariant::ensure_type(), blender::fn::evaluate_constant_field(), blender::EXPECT_EQ(), EXPECT_FALSE, and TEST_F().
| blender::bke::tests::TEST_F | ( | SocketValueVariantTest | , |
| IndexFieldToFloatField | ) |
Definition at line 117 of file node_socket_value_test.cc.
References blender::fn::FieldEvaluator::add(), blender::fn::Field< T >::depends_on_input(), blender::bke::SocketValueVariant::ensure_type(), blender::fn::FieldEvaluator::evaluate(), blender::EXPECT_EQ(), EXPECT_TRUE, blender::fn::FieldEvaluator::get_evaluated(), blender::fn::IndexFieldInput::get_field(), blender::VArrayCommon< T >::size(), and TEST_F().
| blender::bke::tests::TEST_F | ( | SocketValueVariantTest | , |
| IntListToFloatList | ) |
Definition at line 150 of file node_socket_value_test.cc.
References blender::bke::SocketValueVariant::ensure_type(), blender::EXPECT_EQ(), blender::bke::tests::List< T >::from_container(), and TEST_F().
| blender::bke::tests::TEST_F | ( | SocketValueVariantTest | , |
| IntToFloat | ) |
Definition at line 47 of file node_socket_value_test.cc.
References blender::bke::SocketValueVariant::ensure_type(), blender::EXPECT_EQ(), blender::bke::SocketValueVariant::get_if(), TEST_F(), and blender::x.
| blender::bke::tests::TEST_F | ( | SocketValueVariantTest | , |
| IntToFloatField | ) |
Definition at line 73 of file node_socket_value_test.cc.
References blender::bke::SocketValueVariant::ensure_type(), blender::fn::evaluate_constant_field(), blender::EXPECT_EQ(), EXPECT_FALSE, and TEST_F().
| blender::bke::tests::TEST_F | ( | SocketValueVariantTest | , |
| IntToGField | ) |
Definition at line 82 of file node_socket_value_test.cc.
References blender::bke::SocketValueVariant::ensure_type(), blender::fn::evaluate_constant_field(), blender::EXPECT_EQ(), EXPECT_FALSE, EXPECT_TRUE, and TEST_F().
| blender::bke::tests::TEST_F | ( | SocketValueVariantTest | , |
| IntToIntField | ) |
Definition at line 64 of file node_socket_value_test.cc.
References blender::bke::SocketValueVariant::ensure_type(), blender::fn::evaluate_constant_field(), blender::EXPECT_EQ(), EXPECT_FALSE, and TEST_F().
| blender::bke::tests::TEST_F | ( | SocketValueVariantTest | , |
| IntToIntList | ) |
Definition at line 163 of file node_socket_value_test.cc.
References blender::bke::SocketValueVariant::ensure_type(), EXPECT_FALSE, and TEST_F().
| blender::bke::tests::TEST_F | ( | SocketValueVariantTest | , |
| SimpleBundle | ) |
Definition at line 179 of file node_socket_value_test.cc.
References b, blender::bke::tests::Bundle::create(), blender::bke::SocketValueVariant::ensure_type(), blender::EXPECT_EQ(), blender::bke::tests::BundleKey::from_str(), and TEST_F().
| blender::bke::tests::TEST_F | ( | SocketValueVariantTest | , |
| SimpleInt | ) |
Definition at line 33 of file node_socket_value_test.cc.
References blender::bke::SocketValueVariant::ensure_type(), blender::EXPECT_EQ(), EXPECT_NE, blender::bke::SocketValueVariant::get_if(), TEST_F(), and blender::x.
| blender::bke::tests::TEST_F | ( | SocketValueVariantTest | , |
| SimpleList | ) |
Definition at line 137 of file node_socket_value_test.cc.
References blender::bke::SocketValueVariant::ensure_type(), blender::EXPECT_EQ(), blender::bke::tests::List< T >::from_container(), and TEST_F().
| blender::bke::tests::TEST_F | ( | SocketValueVariantTest | , |
| SimpleString | ) |
Definition at line 172 of file node_socket_value_test.cc.
References blender::bke::SocketValueVariant::ensure_type(), blender::EXPECT_EQ(), and TEST_F().
| blender::bke::tests::TEST_F | ( | SubdivCcgCoordTest | , |
| constructor | ) |
Definition at line 41 of file subdiv_ccg_test.cc.
References blender::CCG_grid_size(), blender::CCGKey::elem_size, blender::EXPECT_EQ(), float, blender::SubdivCCGCoord::from_index(), blender::CCGKey::grid_area, blender::CCGKey::grid_bytes, blender::SubdivCCGCoord::grid_index, blender::CCGKey::grid_size, blender::CCGKey::has_mask, blender::CCGKey::has_normals, blender::CCGKey::level, blender::CCGKey::mask_offset, blender::CCGKey::normal_offset, TEST_F(), blender::SubdivCCGCoord::x, and blender::SubdivCCGCoord::y.
| blender::bke::tests::TEST_F | ( | SubdivCcgCoordTest | , |
| to_index | ) |
Definition at line 15 of file subdiv_ccg_test.cc.
References blender::CCG_grid_size(), blender::CCGKey::elem_size, blender::EXPECT_EQ(), float, blender::CCGKey::grid_area, blender::CCGKey::grid_bytes, blender::SubdivCCGCoord::grid_index, blender::CCGKey::grid_size, blender::CCGKey::has_mask, blender::CCGKey::has_normals, blender::CCGKey::level, blender::CCGKey::mask_offset, blender::CCGKey::normal_offset, TEST_F(), blender::SubdivCCGCoord::to_index(), blender::SubdivCCGCoord::x, and blender::SubdivCCGCoord::y.
| blender::bke::tests::TEST_F | ( | UdimTest | , |
| image_ensure_tile_token | ) |
Definition at line 37 of file source/blender/blenkernel/intern/image_test.cc.
References blender::BKE_image_ensure_tile_token_filename_only(), FILE_MAX, blender::result, blender::STRNCPY(), and TEST_F().
| blender::bke::tests::TEST_F | ( | UdimTest | , |
| image_get_tile_number_from_filepath | ) |
Definition at line 130 of file source/blender/blenkernel/intern/image_test.cc.
References blender::BKE_image_get_tile_number_from_filepath(), blender::BKE_image_get_tile_strformat(), blender::EXPECT_EQ(), EXPECT_FALSE, EXPECT_NE, EXPECT_TRUE, TEST_F(), blender::UDIM_TILE_FORMAT_NONE, blender::UDIM_TILE_FORMAT_UDIM, and blender::UDIM_TILE_FORMAT_UVTILE.
| blender::bke::tests::TEST_F | ( | UdimTest | , |
| image_get_tile_strformat | ) |
Definition at line 98 of file source/blender/blenkernel/intern/image_test.cc.
References blender::BKE_image_get_tile_strformat(), blender::EXPECT_EQ(), TEST_F(), blender::UDIM_TILE_FORMAT_NONE, blender::UDIM_TILE_FORMAT_UDIM, and blender::UDIM_TILE_FORMAT_UVTILE.
| blender::bke::tests::TEST_F | ( | UdimTest | , |
| image_set_filepath_from_tile_number | ) |
Definition at line 185 of file source/blender/blenkernel/intern/image_test.cc.
References blender::BKE_image_get_tile_strformat(), blender::BKE_image_set_filepath_from_tile_number(), blender::EXPECT_EQ(), EXPECT_NE, FILE_MAX, blender::STRNCPY(), TEST_F(), blender::UDIM_TILE_FORMAT_NONE, blender::UDIM_TILE_FORMAT_UDIM, and blender::UDIM_TILE_FORMAT_UVTILE.
| blender::bke::tests::TEST_F | ( | ViewLayerTest | , |
| aov_conflict | ) |
Definition at line 111 of file layer_test.cc.
References blender::ViewLayer::active_aov, blender::AOV_CONFLICT, blender::BKE_main_free(), blender::BKE_main_new(), blender::BKE_scene_add(), blender::BKE_view_layer_add_aov(), blender::BKE_view_layer_has_valid_aov(), blender::BKE_view_layer_verify_aov(), blender::RenderData::engine, blender::EXPECT_EQ(), EXPECT_FALSE, EXPECT_TRUE, blender::ViewLayerAOV::flag, blender::Scene::r, blender::RE_engine_create(), blender::RE_engine_free(), blender::RE_engines_find(), TEST_F(), test_render_pass_conflict(), and blender::Scene::view_layers.
| blender::bke::tests::TEST_F | ( | ViewLayerTest | , |
| aov_unique_names | ) |
Definition at line 29 of file layer_test.cc.
References blender::ViewLayer::active_aov, blender::AOV_CONFLICT, blender::BKE_main_free(), blender::BKE_main_new(), blender::BKE_scene_add(), blender::BKE_view_layer_add_aov(), blender::BKE_view_layer_has_valid_aov(), blender::BKE_view_layer_remove_aov(), blender::BKE_view_layer_verify_aov(), blender::RenderData::engine, blender::EXPECT_EQ(), EXPECT_FALSE, EXPECT_TRUE, blender::ViewLayerAOV::flag, blender::ViewLayerAOV::name, blender::Scene::r, blender::RE_engine_create(), blender::RE_engine_free(), blender::RE_engines_find(), STREQ, blender::STRNCPY(), TEST_F(), and blender::Scene::view_layers.
|
static |
Definition at line 35 of file lib_id_test.cc.
References blender::EXPECT_EQ(), blender::ID::next, and test_lib_id_main_sort_check_order().
Referenced by TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and test_lib_id_main_sort_check_order().
|
static |
Definition at line 79 of file layer_test.cc.
References blender::AOV_CONFLICT, blender::BKE_view_layer_has_valid_aov(), blender::BKE_view_layer_verify_aov(), EXPECT_FALSE, EXPECT_TRUE, blender::ViewLayerAOV::flag, blender::Scene::id, blender::ViewLayerAOV::name, blender::RNA_boolean_set(), blender::RNA_pointer_create_discrete(), STREQ, blender::STRNCPY(), and test_render_pass_conflict().
Referenced by TEST_F(), and test_render_pass_conflict().
|
static |
Generic function to test vec_roll_to_mat3_normalized.
Definition at line 127 of file armature_test.cc.
References blender::copy_v3_v3(), EXPECT_M3_ORTHOGONAL(), FLT_EPSILON, normalize, blender::normalize_v3_v3(), ORTHO_EPSILON, SCALE_EPSILON, test_vec_roll_to_mat3_normalized(), and blender::vec_roll_to_mat3_normalized().
Referenced by TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), test_vec_roll_to_mat3_normalized(), and test_vec_roll_to_mat3_orthogonal().
|
static |
Test that the matrix is orthogonal for an input close to -Y.
Definition at line 308 of file armature_test.cc.
References float, blender::sqrt(), test_vec_roll_to_mat3_normalized(), test_vec_roll_to_mat3_orthogonal(), blender::x, and z().
Referenced by test_vec_roll_to_mat3_orthogonal(), and test_vec_roll_to_mat3_orthogonal().
|
static |
Test that the matrix is orthogonal for a range of inputs close to -Y.
Definition at line 316 of file armature_test.cc.
References abs, blender::interpd(), blender::gpu::shader::metadata::printf, and test_vec_roll_to_mat3_orthogonal().
|
static |
Definition at line 652 of file fcurve_test.cc.
References BEZT_BINARYSEARCH_THRESH, blender::BKE_fcurve_create(), blender::ED_keyframes_add(), set_key(), and testcurve_with_duplicates().
Referenced by TEST_F(), TEST_F(), TEST_F(), TEST_F(), and testcurve_with_duplicates().
Definition at line 31 of file armature_test.cc.
|
static |
Definition at line 17 of file idprop_test.cc.
Definition at line 34 of file armature_test.cc.
Referenced by test_vec_roll_to_mat3_normalized().
Definition at line 33 of file armature_test.cc.
Referenced by test_vec_roll_to_mat3_normalized().
|
static |
Definition at line 14 of file file_handler_test.cc.
Referenced by file_handler_add_test(), TEST_F(), and TEST_F().