Blender V4.3
blender::animrig::tests Namespace Reference

Classes

class  AccessibleEvaluationResult
 
class  ActionFCurveMoveTest
 
class  ActionFilterTest
 
class  ActionIteratorsTest
 
class  ActionLayersTest
 
class  ActionLegacyTest
 
class  ActionQueryTest
 
class  AnimationEvaluationTest
 
class  ArmatureBoneCollections
 
class  ArmatureBoneCollectionsLiboverrides
 
class  ArmatureBoneCollectionsTestList
 
class  ChannelBagTest
 
class  KeyframingTest
 

Functions

 TEST_F (ActionIteratorsTest, iterate_all_fcurves_of_slot)
 
 TEST_F (ActionIteratorsTest, foreach_action_slot_use_with_references)
 
 TEST_F (ActionLegacyTest, fcurves_all)
 
 TEST_F (ActionLegacyTest, fcurves_for_action_slot)
 
 TEST_F (ActionLegacyTest, action_fcurves_remove_legacy)
 
 TEST_F (ActionLayersTest, add_layer)
 
 TEST_F (ActionLayersTest, add_layer__reset_idroot)
 
 TEST_F (ActionLayersTest, remove_layer)
 
 TEST_F (ActionLayersTest, add_strip)
 
 TEST_F (ActionLayersTest, remove_strip)
 
 TEST_F (ActionLayersTest, remove_strip_instances)
 
 TEST_F (ActionLayersTest, add_slot)
 
 TEST_F (ActionLayersTest, add_slot__reset_idroot)
 
 TEST_F (ActionLayersTest, add_slot_multiple)
 
 TEST_F (ActionLayersTest, slot_remove)
 
 TEST_F (ActionLayersTest, action_assign_id)
 
 TEST_F (ActionLayersTest, rename_slot)
 
 TEST_F (ActionLayersTest, slot_name_ensure_prefix)
 
 TEST_F (ActionLayersTest, slot_name_prefix)
 
 TEST_F (ActionLayersTest, rename_slot_name_collision)
 
 TEST_F (ActionLayersTest, find_suitable_slot)
 
 TEST_F (ActionLayersTest, active_slot)
 
 TEST_F (ActionLayersTest, strip)
 
 TEST_F (ActionLayersTest, KeyframeStrip__keyframe_insert)
 
 TEST_F (ActionLayersTest, is_action_assignable_to)
 
 TEST_F (ActionLayersTest, action_slot_get_id_for_keying__empty_action)
 
 TEST_F (ActionLayersTest, action_slot_get_id_for_keying__legacy_action)
 
 TEST_F (ActionLayersTest, action_slot_get_id_for_keying__layered_action)
 
 TEST_F (ActionLayersTest, conversion_to_layered)
 
 TEST_F (ActionLayersTest, conversion_to_layered_action_groups)
 
 TEST_F (ActionLayersTest, empty_to_layered)
 
 TEST_F (ActionLayersTest, action_move_slot)
 
static void allocate_keyframes (FCurve &fcu, const size_t num_keyframes)
 
static void add_keyframe (FCurve &fcu, float x, float y)
 
static void add_fcurve_to_action (Action &action, FCurve &fcu)
 
 TEST_F (ActionQueryTest, BKE_action_frame_range_calc)
 
 TEST_F (ChannelBagTest, fcurve_move)
 
 TEST_F (ChannelBagTest, channel_group_create)
 
 TEST_F (ChannelBagTest, channel_group_remove)
 
 TEST_F (ChannelBagTest, channel_group_find)
 
 TEST_F (ChannelBagTest, channel_group_ensure)
 
 TEST_F (ChannelBagTest, channel_group_fcurve_creation)
 
 TEST_F (ChannelBagTest, channel_group_fcurve_removal)
 
 TEST_F (ChannelBagTest, channel_group_move)
 
 TEST_F (ChannelBagTest, channel_group_move_fcurve_into)
 
 TEST_F (ChannelBagTest, channel_group_fcurve_ungroup)
 
 TEST_F (ActionFCurveMoveTest, test_fcurve_move_legacy)
 
 TEST (ANIM_bone_collections, bonecoll_new_free)
 
 TEST (ANIM_bone_collections, bonecoll_default_name)
 
 TEST_F (ArmatureBoneCollections, armature_owned_collections)
 
 TEST_F (ArmatureBoneCollections, collection_hierarchy_creation)
 
 TEST_F (ArmatureBoneCollections, collection_hierarchy_removal)
 
 TEST_F (ArmatureBoneCollections, collection_hierarchy_removal__more_complex_remove_inner_child)
 
 TEST_F (ArmatureBoneCollections, collection_hierarchy_removal__more_complex_remove_root)
 
 TEST_F (ArmatureBoneCollections, find_parent_index)
 
 TEST_F (ArmatureBoneCollections, collection_hierarchy_visibility)
 
 TEST_F (ArmatureBoneCollections, bones_assign_unassign)
 
 TEST_F (ArmatureBoneCollections, bones_assign_remove)
 
 TEST_F (ArmatureBoneCollections, active_set_clear_by_pointer)
 
 TEST_F (ArmatureBoneCollections, active_set_clear_by_index)
 
 TEST_F (ArmatureBoneCollections, bcoll_is_editable)
 
 TEST_F (ArmatureBoneCollections, bcoll_move_to_index__roots)
 
 TEST_F (ArmatureBoneCollections, bcoll_move_to_index__siblings)
 
 TEST_F (ArmatureBoneCollections, bcoll_move_to_parent)
 
 TEST_F (ArmatureBoneCollections, bcoll_move_to_parent__root_unroot)
 
 TEST_F (ArmatureBoneCollections, bcoll_move_to_parent__within_siblings)
 
 TEST_F (ArmatureBoneCollections, internal__bonecolls_rotate_block)
 
 TEST_F (ArmatureBoneCollectionsTestList, move_before_after_index__before_first_sibling)
 
 TEST_F (ArmatureBoneCollectionsTestList, move_before_after_index__after_first_sibling)
 
 TEST_F (ArmatureBoneCollectionsTestList, move_before_after_index__before_last_sibling)
 
 TEST_F (ArmatureBoneCollectionsTestList, move_before_after_index__after_last_sibling)
 
 TEST_F (ArmatureBoneCollectionsTestList, move_before_after_index__other_parent_before__move_left)
 
 TEST_F (ArmatureBoneCollectionsTestList, move_before_after_index__other_parent_after__move_left)
 
 TEST_F (ArmatureBoneCollectionsTestList, move_before_after_index__other_parent_before__move_right)
 
 TEST_F (ArmatureBoneCollectionsTestList, move_before_after_index__other_parent_after__move_right)
 
 TEST_F (ArmatureBoneCollectionsTestList, move_before_after_index__to_root__before)
 
 TEST_F (ArmatureBoneCollectionsTestList, move_before_after_index__to_root__after)
 
 TEST_F (ArmatureBoneCollectionsTestList, child_number_set__roots)
 
 TEST_F (ArmatureBoneCollectionsTestList, child_number_set__siblings)
 
 TEST_F (ArmatureBoneCollectionsTestList, bone_collection_solo)
 
 TEST_F (ArmatureBoneCollectionsLiboverrides, bcoll_insert_copy_after)
 
 TEST_F (AnimationEvaluationTest, evaluate_layer__keyframes)
 
 TEST_F (AnimationEvaluationTest, strip_boundaries__single_strip)
 
 TEST_F (AnimationEvaluationTest, strip_boundaries__nonoverlapping)
 
 TEST_F (AnimationEvaluationTest, strip_boundaries__overlapping_edge)
 
 TEST (AnimationEvaluationResultTest, prop_identifier_hashing)
 
 TEST_F (KeyframingTest, insert_keyframes__layered_action__non_array_property)
 
 TEST_F (KeyframingTest, insert_keyframes__layered_action__action_reuse)
 
 TEST_F (KeyframingTest, insert_keyframes__layered_action__action_reuse_material)
 
 TEST_F (KeyframingTest, insert_keyframes__layered_action__action_reuse_multiuser)
 
 TEST_F (KeyframingTest, insert_keyframes__layered_action__single_element)
 
 TEST_F (KeyframingTest, insert_keyframes__layered_action__all_elements)
 
 TEST_F (KeyframingTest, insert_keyframes__layered_action__pose_bone_rna_pointer)
 
 TEST_F (KeyframingTest, insert_keyframes__pose_bone_owner_id_pointer)
 
 TEST_F (KeyframingTest, insert_keyframes__layered_action__multiple_properties)
 
 TEST_F (KeyframingTest, insert_keyframes__layered_action__multiple_ids)
 
 TEST_F (KeyframingTest, insert_keyframes__baklava_legacy_action)
 
 TEST_F (KeyframingTest, insert_keyframes__layered_action__only_available)
 
 TEST_F (KeyframingTest, insert_keyframes__layered_action__only_replace)
 
 TEST_F (KeyframingTest, insert_keyframes__layered_action__only_needed)
 
 TEST_F (KeyframingTest, insert_keyframes__legacy_action__non_array_property)
 
 TEST_F (KeyframingTest, insert_keyframes__legacy_action__optional_frame)
 
 TEST_F (KeyframingTest, insert_keyframes__legacy_action__optional_channel_group)
 
 TEST_F (KeyframingTest, insert_keyframes__single_element)
 
 TEST_F (KeyframingTest, insert_keyframes__legacy_action__all_elements)
 
 TEST_F (KeyframingTest, insert_keyframes__legacy_action__pose_bone_rna_pointer)
 
 TEST_F (KeyframingTest, insert_keyframes__legacy_action__pose_bone_owner_id_pointer)
 
 TEST_F (KeyframingTest, insert_keyframes__legacy_action__multiple_properties)
 
 TEST_F (KeyframingTest, insert_keyframes__legacy_action__only_available)
 
 TEST_F (KeyframingTest, insert_keyframes__legacy_action__only_replace)
 
 TEST_F (KeyframingTest, insert_keyframes__legacy_action__only_needed)
 
 TEST_F (KeyframingTest, insert_keyframes__nla_time_remapping)
 
 TEST_F (KeyframingTest, insert_keyframes__legacy_action__quaternion_on_nla)
 
 TEST_F (KeyframingTest, insert_keyframes__legacy_action__quaternion_on_nla__only_available)
 
 TEST_F (KeyframingTest, insert_keyframes__legacy_action__quaternion_on_nla__only_replace)
 
 TEST_F (ActionFilterTest, slots_expanded_or_not)
 
 TEST_F (ActionFilterTest, layered_action_active_fcurves)
 

Function Documentation

◆ add_fcurve_to_action()

◆ add_keyframe()

static void blender::animrig::tests::add_keyframe ( FCurve & fcu,
float x,
float y )
static

Definition at line 1041 of file animrig/intern/action_test.cc.

References FCurve::bezt, FCurve::totvert, BezTriple::vec, x, and y.

Referenced by TEST_F().

◆ allocate_keyframes()

static void blender::animrig::tests::allocate_keyframes ( FCurve & fcu,
const size_t num_keyframes )
static

Definition at line 1035 of file animrig/intern/action_test.cc.

References FCurve::bezt.

Referenced by TEST_F().

◆ TEST() [1/3]

blender::animrig::tests::TEST ( ANIM_bone_collections ,
bonecoll_default_name  )

◆ TEST() [2/3]

◆ TEST() [3/3]

blender::animrig::tests::TEST ( AnimationEvaluationResultTest ,
prop_identifier_hashing  )

◆ TEST_F() [1/111]

◆ TEST_F() [2/111]

◆ TEST_F() [3/111]

◆ TEST_F() [4/111]

◆ TEST_F() [5/111]

◆ TEST_F() [6/111]

◆ TEST_F() [7/111]

◆ TEST_F() [8/111]

blender::animrig::tests::TEST_F ( ActionLayersTest ,
action_slot_get_id_for_keying__empty_action  )

◆ TEST_F() [9/111]

blender::animrig::tests::TEST_F ( ActionLayersTest ,
action_slot_get_id_for_keying__layered_action  )

◆ TEST_F() [10/111]

blender::animrig::tests::TEST_F ( ActionLayersTest ,
action_slot_get_id_for_keying__legacy_action  )

◆ TEST_F() [11/111]

◆ TEST_F() [12/111]

blender::animrig::tests::TEST_F ( ActionLayersTest ,
add_layer  )

Definition at line 67 of file animrig/intern/action_test.cc.

References EXPECT_EQ().

◆ TEST_F() [13/111]

blender::animrig::tests::TEST_F ( ActionLayersTest ,
add_layer__reset_idroot  )

Definition at line 79 of file animrig/intern/action_test.cc.

References EXPECT_EQ(), and ID_CA.

◆ TEST_F() [14/111]

blender::animrig::tests::TEST_F ( ActionLayersTest ,
add_slot  )

◆ TEST_F() [15/111]

blender::animrig::tests::TEST_F ( ActionLayersTest ,
add_slot__reset_idroot  )

Definition at line 295 of file animrig/intern/action_test.cc.

References EXPECT_EQ(), and ID_CA.

◆ TEST_F() [16/111]

blender::animrig::tests::TEST_F ( ActionLayersTest ,
add_slot_multiple  )

◆ TEST_F() [17/111]

◆ TEST_F() [18/111]

◆ TEST_F() [19/111]

◆ TEST_F() [20/111]

◆ TEST_F() [21/111]

◆ TEST_F() [22/111]

◆ TEST_F() [23/111]

◆ TEST_F() [24/111]

◆ TEST_F() [25/111]

◆ TEST_F() [26/111]

◆ TEST_F() [27/111]

◆ TEST_F() [28/111]

blender::animrig::tests::TEST_F ( ActionLayersTest ,
rename_slot_name_collision  )

Definition at line 582 of file animrig/intern/action_test.cc.

References ActionSlot::name.

◆ TEST_F() [29/111]

blender::animrig::tests::TEST_F ( ActionLayersTest ,
slot_name_ensure_prefix  )

Definition at line 537 of file animrig/intern/action_test.cc.

References ID_CA, and ID_ME.

◆ TEST_F() [30/111]

blender::animrig::tests::TEST_F ( ActionLayersTest ,
slot_name_prefix  )

◆ TEST_F() [31/111]

◆ TEST_F() [32/111]

◆ TEST_F() [33/111]

blender::animrig::tests::TEST_F ( ActionLegacyTest ,
action_fcurves_remove_legacy  )

◆ TEST_F() [34/111]

◆ TEST_F() [35/111]

◆ TEST_F() [36/111]

blender::animrig::tests::TEST_F ( ActionQueryTest ,
BKE_action_frame_range_calc  )

◆ TEST_F() [37/111]

◆ TEST_F() [38/111]

blender::animrig::tests::TEST_F ( AnimationEvaluationTest ,
strip_boundaries__nonoverlapping  )

◆ TEST_F() [39/111]

blender::animrig::tests::TEST_F ( AnimationEvaluationTest ,
strip_boundaries__overlapping_edge  )

◆ TEST_F() [40/111]

blender::animrig::tests::TEST_F ( AnimationEvaluationTest ,
strip_boundaries__single_strip  )

◆ TEST_F() [41/111]

blender::animrig::tests::TEST_F ( ArmatureBoneCollections ,
active_set_clear_by_index  )

◆ TEST_F() [42/111]

blender::animrig::tests::TEST_F ( ArmatureBoneCollections ,
active_set_clear_by_pointer  )

◆ TEST_F() [43/111]

blender::animrig::tests::TEST_F ( ArmatureBoneCollections ,
armature_owned_collections  )

◆ TEST_F() [44/111]

◆ TEST_F() [45/111]

blender::animrig::tests::TEST_F ( ArmatureBoneCollections ,
bcoll_move_to_index__roots  )

◆ TEST_F() [46/111]

blender::animrig::tests::TEST_F ( ArmatureBoneCollections ,
bcoll_move_to_index__siblings  )

◆ TEST_F() [47/111]

◆ TEST_F() [48/111]

blender::animrig::tests::TEST_F ( ArmatureBoneCollections ,
bcoll_move_to_parent__root_unroot  )

◆ TEST_F() [49/111]

blender::animrig::tests::TEST_F ( ArmatureBoneCollections ,
bcoll_move_to_parent__within_siblings  )

◆ TEST_F() [50/111]

blender::animrig::tests::TEST_F ( ArmatureBoneCollections ,
bones_assign_remove  )

◆ TEST_F() [51/111]

◆ TEST_F() [52/111]

◆ TEST_F() [53/111]

blender::animrig::tests::TEST_F ( ArmatureBoneCollections ,
collection_hierarchy_removal  )

◆ TEST_F() [54/111]

blender::animrig::tests::TEST_F ( ArmatureBoneCollections ,
collection_hierarchy_removal__more_complex_remove_inner_child  )

◆ TEST_F() [55/111]

blender::animrig::tests::TEST_F ( ArmatureBoneCollections ,
collection_hierarchy_removal__more_complex_remove_root  )

◆ TEST_F() [56/111]

◆ TEST_F() [57/111]

blender::animrig::tests::TEST_F ( ArmatureBoneCollections ,
find_parent_index  )

◆ TEST_F() [58/111]

blender::animrig::tests::TEST_F ( ArmatureBoneCollections ,
internal__bonecolls_rotate_block  )

◆ TEST_F() [59/111]

◆ TEST_F() [60/111]

blender::animrig::tests::TEST_F ( ArmatureBoneCollectionsTestList ,
bone_collection_solo  )

◆ TEST_F() [61/111]

blender::animrig::tests::TEST_F ( ArmatureBoneCollectionsTestList ,
child_number_set__roots  )

◆ TEST_F() [62/111]

blender::animrig::tests::TEST_F ( ArmatureBoneCollectionsTestList ,
child_number_set__siblings  )

◆ TEST_F() [63/111]

blender::animrig::tests::TEST_F ( ArmatureBoneCollectionsTestList ,
move_before_after_index__after_first_sibling  )

◆ TEST_F() [64/111]

blender::animrig::tests::TEST_F ( ArmatureBoneCollectionsTestList ,
move_before_after_index__after_last_sibling  )

◆ TEST_F() [65/111]

◆ TEST_F() [66/111]

◆ TEST_F() [67/111]

blender::animrig::tests::TEST_F ( ArmatureBoneCollectionsTestList ,
move_before_after_index__other_parent_after__move_left  )

◆ TEST_F() [68/111]

blender::animrig::tests::TEST_F ( ArmatureBoneCollectionsTestList ,
move_before_after_index__other_parent_after__move_right  )

◆ TEST_F() [69/111]

blender::animrig::tests::TEST_F ( ArmatureBoneCollectionsTestList ,
move_before_after_index__other_parent_before__move_left  )

◆ TEST_F() [70/111]

blender::animrig::tests::TEST_F ( ArmatureBoneCollectionsTestList ,
move_before_after_index__other_parent_before__move_right  )

◆ TEST_F() [71/111]

blender::animrig::tests::TEST_F ( ArmatureBoneCollectionsTestList ,
move_before_after_index__to_root__after  )

◆ TEST_F() [72/111]

blender::animrig::tests::TEST_F ( ArmatureBoneCollectionsTestList ,
move_before_after_index__to_root__before  )

◆ TEST_F() [73/111]

blender::animrig::tests::TEST_F ( ChannelBagTest ,
channel_group_create  )

◆ TEST_F() [74/111]

blender::animrig::tests::TEST_F ( ChannelBagTest ,
channel_group_ensure  )

Definition at line 1402 of file animrig/intern/action_test.cc.

References EXPECT_EQ().

◆ TEST_F() [75/111]

blender::animrig::tests::TEST_F ( ChannelBagTest ,
channel_group_fcurve_creation  )

◆ TEST_F() [76/111]

blender::animrig::tests::TEST_F ( ChannelBagTest ,
channel_group_fcurve_removal  )

◆ TEST_F() [77/111]

blender::animrig::tests::TEST_F ( ChannelBagTest ,
channel_group_fcurve_ungroup  )

◆ TEST_F() [78/111]

blender::animrig::tests::TEST_F ( ChannelBagTest ,
channel_group_find  )

Definition at line 1385 of file animrig/intern/action_test.cc.

References EXPECT_EQ().

◆ TEST_F() [79/111]

blender::animrig::tests::TEST_F ( ChannelBagTest ,
channel_group_move  )

◆ TEST_F() [80/111]

blender::animrig::tests::TEST_F ( ChannelBagTest ,
channel_group_move_fcurve_into  )

◆ TEST_F() [81/111]

blender::animrig::tests::TEST_F ( ChannelBagTest ,
channel_group_remove  )

Definition at line 1299 of file animrig/intern/action_test.cc.

References EXPECT_EQ(), and FCurve::grp.

◆ TEST_F() [82/111]

blender::animrig::tests::TEST_F ( ChannelBagTest ,
fcurve_move  )

◆ TEST_F() [83/111]

◆ TEST_F() [84/111]

◆ TEST_F() [85/111]

◆ TEST_F() [86/111]

◆ TEST_F() [87/111]

◆ TEST_F() [88/111]

◆ TEST_F() [89/111]

◆ TEST_F() [90/111]

◆ TEST_F() [91/111]

◆ TEST_F() [92/111]

◆ TEST_F() [93/111]

◆ TEST_F() [94/111]

◆ TEST_F() [95/111]

◆ TEST_F() [96/111]

blender::animrig::tests::TEST_F ( KeyframingTest ,
insert_keyframes__legacy_action__all_elements  )

◆ TEST_F() [97/111]

blender::animrig::tests::TEST_F ( KeyframingTest ,
insert_keyframes__legacy_action__multiple_properties  )

◆ TEST_F() [98/111]

◆ TEST_F() [99/111]

◆ TEST_F() [100/111]

◆ TEST_F() [101/111]

◆ TEST_F() [102/111]

◆ TEST_F() [103/111]

◆ TEST_F() [104/111]

blender::animrig::tests::TEST_F ( KeyframingTest ,
insert_keyframes__legacy_action__pose_bone_owner_id_pointer  )

◆ TEST_F() [105/111]

blender::animrig::tests::TEST_F ( KeyframingTest ,
insert_keyframes__legacy_action__pose_bone_rna_pointer  )

◆ TEST_F() [106/111]

blender::animrig::tests::TEST_F ( KeyframingTest ,
insert_keyframes__legacy_action__quaternion_on_nla  )

◆ TEST_F() [107/111]

◆ TEST_F() [108/111]

◆ TEST_F() [109/111]

◆ TEST_F() [110/111]

◆ TEST_F() [111/111]

blender::animrig::tests::TEST_F ( KeyframingTest ,
insert_keyframes__single_element  )