Edward Hervey
648f8802db
tests: Put clearer names on tests
...
Makes it easier to figure out which test failed :)
2010-12-20 12:03:48 +01:00
Brandon Lewis
42f4253ee2
GESSimpleTimelineLayer: add test for _index() method
2010-12-16 19:37:06 +01:00
Edward Hervey
e970c86753
GESTimelineObject: Add mapping/offset support [start/priority properties]
...
Allows moving independently (or not) timelineobjects and trackobjects and
have them synchronized with the offsets taken into account.
Right now only the start and priority properties are synchronized. The duration
and in-point properties will require more thoughts.
2010-12-16 19:29:14 +01:00
Edward Hervey
e6aeb97040
GESTrackObject: Add a 'locked' property for position synchronization
...
And update all code using it
2010-12-16 16:27:26 +01:00
Edward Hervey
8ca6f66f4c
GESTrackObject: Hide more variables and provide accessors for them
2010-12-16 15:00:46 +01:00
Edward Hervey
5a170091e6
GESTimelineLayer: Hide the object list and priority
...
Add needed setters/getters
2010-12-16 12:41:26 +01:00
Edward Hervey
7ef6f365d9
GESSimpleTimelineLayer: _nth() returns a const
...
The refcount isn't incremented.
2010-12-15 19:18:16 +01:00
Edward Hervey
ed6b2ce4c4
GESTrack: Make more properties private
...
And ensure exported symbols are properly documented and have
argument checking.
2010-12-15 19:05:48 +01:00
Brandon Lewis
4dae5c83f4
GESSimpleTimelineLayer: add test for _nth() method
2010-12-15 18:01:33 +01:00
Edward Hervey
0486623e30
test: Disable the text_properties_in_layer test until it's properly implemented
2010-12-15 15:56:38 +01:00
Edward Hervey
7a098a423d
GESTimelineSource: Remove textoverlay properties
...
This will be made more generic by allowing any overlay/effect to
be put on any source object.
2010-12-09 19:36:44 +01:00
Edward Hervey
a5261d23d2
tests: Make sure gst_bin_add succeeds
...
And detect when we're trying to add contents to a gnlsource which
already has something
2010-12-09 17:43:08 +01:00
Edward Hervey
ef7eb9efdd
GESTransition: Make it a base class and add GESTimelineStandardTransition
...
This is to ensure people can create their own Layer Transition subclass.
API : GESTimelineTransition is now GESTimelineStandardTransition
2010-12-09 17:09:11 +01:00
Thibault Saunier
dfeb7afe85
GESTimelineObject: add private structure
2010-12-08 13:00:21 +01:00
Brandon Lewis
2b63a52a6a
Tests: fix CMP_FAIL on 32-bit machines
2010-12-03 12:39:42 +01:00
Edward Hervey
9e1877a083
tests: Make sure we specify guint64 with g_object_set arguments
...
Yup, had missed those because of weird macros :(
2010-12-02 12:28:15 +01:00
Thibault Saunier
4add2937de
SimpleTimelineLayer: Remove bogus check and extend unit test to validate it
2010-12-02 11:55:44 +01:00
Edward Hervey
098a2294f3
tests: Make sure we specify guint64 with g_object_set arguments
...
Avoids crashers on 32bit machines
2010-12-02 11:54:03 +01:00
Edward Hervey
e557592074
test: Fix typo in simplelayer test
2010-11-27 18:12:49 +01:00
Edward Hervey
f3904653b7
check: Small cleanup of the save/load test
2010-11-27 18:12:49 +01:00
Brandon Lewis
d1bdd2ddf2
tests: add save->load test case
2010-11-27 18:08:20 +01:00
Brandon Lewis
a2dcf03f86
tests: use ges_formatter_{get,set}_data accessors in unit tests
2010-11-27 18:08:20 +01:00
Brandon Lewis
cc57dcf681
tests: update unit tests
2010-11-27 18:08:20 +01:00
Brandon Lewis
4f0136c5ac
tests: Add save/load tests
2010-11-27 18:08:19 +01:00
Brandon Lewis
9f2f21d8df
tests: test for track removal while timeline contains timeline objects
2010-11-27 17:23:30 +01:00
Brandon Lewis
d7af7f630a
tests: test that adding tracks after adding layers works
2010-11-27 17:23:30 +01:00
Brandon Lewis
8cee3b95ba
tests: unit test to check that objects in layers are properly added to the timeline
2010-11-27 17:23:29 +01:00
Edward Hervey
d4b5e6d6ab
tests: Ignore more files
2010-11-23 17:33:32 +01:00
Edward Hervey
6364e8ec2c
all: Changes for discoverer being merged upstream
...
Along with a whole bunch of Makefile fixups
2010-09-23 18:42:48 +02:00
Brandon Lewis
6e844f877f
layer is also invalid when there are transitoins at the beginning/end
2010-09-02 18:08:43 +02:00
Brandon Lewis
03e488ac74
add vaid property and unit tests
2010-09-02 18:08:43 +02:00
Brandon Lewis
4fd305cbec
add unit tests for 'object-moved' signal
2010-09-02 18:08:43 +02:00
Edward Hervey
4d801d85fe
tests: Fix a leak in test_filesource_images
2010-09-02 17:54:48 +02:00
Brandon Lewis
dd47b93587
update unit tests to catch an earlier bug
2010-09-01 16:56:04 +02:00
Brandon Lewis
a071cec612
add unit tests for text properties
2010-09-01 16:56:04 +02:00
Brandon Lewis
286c5f78db
supply type param to _find_track_objects in unit tests
2010-09-01 16:56:03 +02:00
Brandon Lewis
739053e249
unref timeline in unit test
2010-09-01 16:56:03 +02:00
Brandon Lewis
efbc4a22cd
increase default priority offset for sources; update unit tests
2010-09-01 16:56:03 +02:00
Brandon Lewis
3cd0444b21
test height notification
2010-09-01 16:56:03 +02:00
Brandon Lewis
572f7ab4da
expose priority-offset as a property
2010-09-01 16:56:02 +02:00
Brandon Lewis
92bedbc72e
update documentation and unit tests
2010-09-01 16:56:02 +02:00
Brandon Lewis
fe54413811
create GESTrackAudioTestSource for audio tracks when is-image is true
2010-08-13 11:50:30 +02:00
Brandon Lewis
c07097f6bb
set supported formats in new unit test
2010-08-13 11:50:30 +02:00
Brandon Lewis
4865daa206
unit test for image sources
2010-08-13 11:50:30 +02:00
Brandon Lewis
e3dc2d58a0
fix mem leak in unit test
2010-07-09 13:27:15 +02:00
Edward Hervey
9fa220c0c0
TrackVideoTransition: Avoid switching from crossfade to other types
...
This now exposes a bug in the TimelineTransition, since it will have
a transition type different from its track objects.
2010-07-09 13:21:17 +02:00
Brandon Lewis
12a2d3b3fe
expose freq and volume props in GESTimelineTestSource
2010-07-09 13:21:16 +02:00
Brandon Lewis
dcc0413945
remove 'mute' property from GESTimelineTextOverlay
2010-07-09 13:21:16 +02:00
Brandon Lewis
9f71c1ff8c
convert rest of code to use GESVideoTestPattern
2010-07-09 13:21:16 +02:00
Brandon Lewis
66351c03ef
update unit tests
2010-07-09 13:21:16 +02:00
Brandon Lewis
cc719507ea
move and rename TRANSITION_VTYPE into enums.h and rename
2010-07-09 13:21:15 +02:00
Brandon Lewis
521df03ddd
GESTimelineOverlay -> GESTimelineTextOverlay
2010-07-09 13:21:15 +02:00
Brandon Lewis
e3718b4213
GESTimelineBackgroundSource -> GESTimelineTestSource
2010-07-09 13:21:15 +02:00
Brandon Lewis
ae8d9b1544
GESTrackVideoBackgroundSource -> GESTrackVideoTestSource
2010-07-09 13:21:14 +02:00
Brandon Lewis
890bbb084e
GESTrackVideoOverlay -> GESTrackTextOverlay
2010-07-09 13:21:14 +02:00
Brandon Lewis
fc23c1f040
GESTrackVideoOverlay inherits directly from GESTrackOperation
2010-07-09 13:21:14 +02:00
Brandon Lewis
526e37589b
GESTrackVideoTitleSource -> GESTrackTitleSource
2010-07-09 13:21:14 +02:00
Edward Hervey
17619a0869
check: Ignore files
2010-07-09 13:21:13 +02:00
Brandon Lewis
1c2ab099f9
activate remaining overlay tests
2010-07-09 13:21:12 +02:00
Brandon Lewis
c76697bca0
check in overlay unit tests
2010-07-09 13:21:12 +02:00
Brandon Lewis
5857274f8e
update unit tests
2010-07-09 13:21:11 +02:00
Brandon Lewis
8f75344ac2
clean up some memory leaks in the titles unit test
2010-07-09 13:21:10 +02:00
Brandon Lewis
7e50750c2a
unit tests for {h,v}alignment properties
2010-07-09 13:21:10 +02:00
Brandon Lewis
1774b9360c
check in unit tests for titles
2010-07-09 13:21:09 +02:00
Brandon Lewis
11edd461eb
don't forget to unref objects in unit tests
2010-07-09 13:21:08 +02:00
Brandon Lewis
efb7524a0a
test vpatern property in unit tests
2010-07-09 13:21:08 +02:00
Brandon Lewis
71da78c364
test Backgroudn sources in layers
2010-07-09 13:21:07 +02:00
Brandon Lewis
878fac9c6a
check in background source unit test
2010-07-09 13:21:06 +02:00
Brandon Lewis
c1afe75b25
add elemt. to bin in arbitrary_fill_track_func
2010-06-10 12:52:41 +02:00
Brandon Lewis
4d8a013bd3
fix typos in comment block
2010-06-09 18:58:33 +02:00
Brandon Lewis
04fa8b4777
tests/check/ges/transition.c: C90 fixes
2010-06-09 17:13:07 +02:00
Brandon Lewis
07ec09d9e7
tests/check/ges/simplelayer.c: C90 fixes
2010-06-09 17:13:07 +02:00
Brandon Lewis
cd095cfebe
tests/check/ges/filesource.c: C90 fixes
2010-06-09 17:13:07 +02:00
Edward Hervey
8c7535081d
check: Check that all objects are removed from the layer
...
This currently fails
2010-06-09 11:28:46 +02:00
Edward Hervey
80157a1def
check: Use release_track_object instead of unref
2010-06-09 11:28:46 +02:00
Brandon Lewis
a5759af64b
tests/check/ges/{simplelayer.c,transition.c}: update unit tests
2010-06-09 11:28:11 +02:00
Brandon Lewis
938ac259d0
tests/check/ges/transition.c: test that changing timeline vtype sets trackobj
...
vtype
2010-06-09 11:28:10 +02:00
Brandon Lewis
45016397b9
tests/check/ges/{simplelayer.c,tests/check/ges/transition.c}: sync with
...
previous api change
2010-06-09 11:28:10 +02:00
Brandon Lewis
22534176d8
ges/ges-timeline-transition.{c,h},tests/.../transition.c: type change of vtype
...
to gint from GEnumValue
2010-06-09 11:28:10 +02:00
Brandon Lewis
b3ec2bad19
ges/ges-track-transition.{c,h}, tests/check/ges/transition.c: change vtype
...
from GEnumValue to simple gint;
2010-06-09 11:28:10 +02:00
Brandon Lewis
cfe079fc94
tests/check/ges/transition.c: make sure unit tests work properly
2010-06-09 11:28:10 +02:00
Brandon Lewis
ea408d472e
tests/check/ges/transition.c: oops, unit tests using wrong api
2010-06-09 11:28:10 +02:00
Brandon Lewis
9eba9b4d7b
tests/check/Makefile.am: add transition unit tests to make check
2010-06-09 11:28:10 +02:00
Brandon Lewis
e577b01317
tests/check/ges/transition.c: check in transition unit tests
2010-06-09 11:28:10 +02:00
Brandon Lewis
e0553dd63b
tests/check/ges/{simplelayer.c,transition.c}: create audio tracks in demos
2010-06-09 11:28:09 +02:00
Brandon Lewis
542e8afb75
fix bugs
2010-06-09 11:28:09 +02:00
Brandon Lewis
3118c0f510
tests/check/ges/simplelayer.c: check in massive unit test case for GSTL with
...
transitions
2010-06-09 11:28:08 +02:00
Edward Hervey
b1d5af7f4f
tests: ignore more files
2010-05-19 12:39:23 +02:00
Edward Hervey
eb4b02f3ed
GESTimelineFileSource: Add 'max-duration' and 'supported-formats' properties
...
* max-duration is the total length of the File.
* supported-formats is the various track types this filesource can produce
trackobjects for. This should maybe be moved to parent classes in the
future
Step 1 of GstDiscoverer integration
2010-05-19 12:24:44 +02:00
Edward Hervey
d784d95d10
check: Use GST_CFLAGS so we get new compilation flags
2010-04-20 13:47:08 +02:00
Edward Hervey
346d7ab0f6
tests: Add unit test for layer property.
...
Still needs more work though
2010-03-13 15:56:57 +01:00
Edward Hervey
369d1d8cd8
tests: Check refcount of created trackobjects
2010-03-13 15:56:56 +01:00
Edward Hervey
83cc796cc9
GESTimelineObject: Don't leak a reference when creating TrackObject
2010-03-13 15:54:32 +01:00
Edward Hervey
69161e795e
ignore more files
2010-03-11 11:06:50 +01:00
Edward Hervey
fcaf46b013
check: Add a test for checking timelinefilesource properties
...
This include the mute feature
2010-03-05 16:04:37 +01:00
Edward Hervey
361467c9d9
tests: Fix macro by making it use the proper argument types
2009-12-11 15:20:35 +01:00
Edward Hervey
6b265346c4
tests: Fix linking order.
...
This ensures that "make check" will run with the local libraries and not
the system-wide ones
2009-12-11 15:20:35 +01:00
Edward Hervey
6882f9b842
tests: release TrackObject when we're done with it
2009-11-25 13:17:01 +01:00
Edward Hervey
8958e84e6b
tests: Don't forget to cast to guint64 when using g_object_set
...
... else total failure ensues on 32bit machines
2009-11-25 13:17:01 +01:00
Edward Hervey
640cf95158
tests: New unit test for GESTimelineObject
2009-09-30 16:45:13 +02:00