update documentation and unit tests

This commit is contained in:
Brandon Lewis 2010-07-08 18:52:15 +02:00 committed by Edward Hervey
parent 03cf6c99b6
commit 92bedbc72e
2 changed files with 7 additions and 0 deletions

View file

@ -74,6 +74,7 @@ ges_track_object_set_track
ges_track_object_set_duration_internal
ges_track_object_set_inpoint_internal
ges_track_object_set_priority_internal
ges_track_object_set_priority_offset_internal
ges_track_object_set_start_internal
ges_track_object_get_type
GES_IS_TRACK_OBJECT

View file

@ -118,6 +118,12 @@ GST_START_TEST (test_layer_properties)
assert_equals_uint64 (GES_TIMELINE_OBJECT_PRIORITY (object), 0);
gnl_object_check (trackobject->gnlobject, 42, 51, 12, 51, 0, TRUE);
/* check priority offsets */
ges_track_object_set_priority_offset_internal (trackobject, 1);
gnl_object_check (trackobject->gnlobject, 42, 51, 12, 51, 1, TRUE);
g_object_set (object, "priority", 5, NULL);
gnl_object_check (trackobject->gnlobject, 42, 51, 12, 51, 6, TRUE);
g_object_unref (trackobject);
fail_unless (ges_timeline_layer_remove_object (layer, object));
fail_unless (ges_timeline_remove_track (timeline, track));