summaryrefslogtreecommitdiff
path: root/tests/check
AgeCommit message (Collapse)AuthorFilesLines
2012-01-25tests: don't use deprecated APIEdward Hervey3-3/+6
2011-12-30More updates for probe changesEdward Hervey2-2/+4
2011-11-24gnl, tests: update for pad probe API changesTim-Philipp Müller7-19/+19
But unit tests time out after pad gets blocked, so still something missing somewhere.
2011-11-01Update for pad API changesTim-Philipp Müller7-27/+27
GstProbeType, GstProbeReturn and GstActivateMode -> GstPad*
2011-10-10check: Use a probe to detect eventsEdward Hervey1-2/+4
... and not a pad block
2011-10-05tests: Update to new 0.11 APIEdward Hervey8-213/+128
* Use GST_UNSTABLE_API * Remove unused variables * Properly disable tests that require videomixer if not present * Clarify failures with ERROR messages * Use new probe API Compiles ... but most tests fail due to caps issues (which is also present in 0.10)
2011-02-10tests: Make gnlcomposition check stop fasterEdward Hervey1-1/+2
2011-02-10tests: Add doc and refine seek checkEdward Hervey3-0/+24
2011-02-10tests: Small cleanupEdward Hervey1-5/+5
2011-02-09tests: Added more seeking tests involving operationsEdward Hervey1-0/+237
2011-02-09check: refactor 'gnloperation' testsEdward Hervey1-795/+131
2011-02-09tests: refactor 'complex' testEdward Hervey2-497/+133
2011-02-09tests: First go at testing seekingEdward Hervey2-1/+506
Still needs more checks though
2011-02-09check: More debugging and state checkingEdward Hervey2-3/+27
2011-02-09tests: Add a method for checking element statesEdward Hervey1-0/+10
2011-02-09check: Add some commentsEdward Hervey2-0/+19
2011-02-09check: Add a simple variantEdward Hervey1-0/+177
2011-01-05tests: Don't use huge durations in testsEdward Hervey1-8/+8
2011-01-05tests: Poll more often.Edward Hervey5-32/+32
Should lower the risks of timing out
2010-12-19gnlcomposition: Fix memory leak in the unit testSebastian Dröge1-0/+1
2010-12-14tests: give test suites different namesTim-Philipp Müller5-69/+9
So the output tells us which test is actually running. Also use GST_CHECK_MAIN() while we're at it.
2010-09-08tests: find uninstalled -good plugins and use them for testsTim-Philipp Müller1-1/+2
Enables some more tests / code paths in an uninstalled setup. Also remove duplicate GST_PLUGIN_DIRS. https://bugzilla.gnome.org/show_bug.cgi?id=628943
2010-09-08tests: skip gnlcomposition's test_no_more_pads_race test if videomixer is ↵Tim-Philipp Müller1-18/+9
not available Fixes 'make check' in uninstalled setup where it currently can't find the -good plugins. https://bugzilla.gnome.org/show_bug.cgi?id=628943
2010-08-20gnlcomposition: fix a race. Fixes #626733.Alessandro Decina1-2/+0
Fix a race between no_more_pads_object_cb and compare_relink_single_node.
2010-08-20tests: add a test case for a race in gnlcomposition. See #626733.Alessandro Decina1-0/+174
Add a test for a race between no_more_objects_cb and compare_relink_single_node in gnlcomposition.
2010-08-20gnlcomposition: fail early in remove_object when removing an invalid object.Alessandro Decina1-0/+20
Make gnl_composition_remove_object return immediately FALSE when removing an object not contained in the composition.
2010-08-20tests: Be more flexible in testsEdward Hervey1-9/+9
When removing an object from a composition, there might still be some internal refcounting still present since it's not in NULL. Also, use ASYNC_DONE message to detect for pre-roll
2010-07-23tests: Don't use the expensive videotestsrc patternsEdward Hervey5-25/+25
We're not viewing them anyway, so might as well take the cheapest to use.
2010-06-27check: Use fast pad linking methodsEdward Hervey1-3/+6
2010-06-10tests: Fix memory leaksEdward Hervey2-5/+13
2010-06-10check: Move tests to a subdirectoryEdward Hervey7-11/+8
2010-05-07tests: Ignore more filesEdward Hervey1-0/+1
2010-04-13check: Lower framerate coming out of videotestsrc.Edward Hervey1-1/+1
This should lower the amount of time required to run the tests
2010-03-07tests: Adjust simple test for slight behaviour change introduced in last commitEdward Hervey1-1/+5
2010-03-07tests: Add a new test for checking fix introduce by last commit.Edward Hervey1-0/+226
2009-05-30GnlComposition: Use expandable GnlObject property.Edward Hervey2-0/+464
2009-05-30checks: Don't check for gstreamer 0.10.4 anymore.Edward Hervey1-10/+5
We already depend on a much recent version.
2009-05-08gnlcomposition: Update start/duration/stop even with update==False.Edward Hervey1-14/+0
The reason behind this is that updating the lists and those properties are decently simple/fast to do it at that time. The internal pipeline will still not be updated if update == False.
2009-05-07gnlcomposition: Implement update-blocking. Fixes #555898Edward Hervey3-28/+144
When update is set to False, the internal pipeline is never updated, nor are the stop/duration properties of the composition. This allows for massive modifications with a much lower overhead.
2009-05-06tests/simple: Remove check for core > 0.10.4Edward Hervey1-9/+3
We depend on a higher version already.
2009-03-21Fix tests when running on systems with alpha. Fixes #563507Edward Hervey5-6/+22
2009-03-06GnlComposition: rebuild the stack when an object in the current stack is movedAlessandro Decina2-1/+246
outside the active segment.
2008-09-25tests/check/gnloperation.c: Adapt test to 'fixed' behaviour of videomixer ↵Edward Hervey1-2/+2
fixed by #537361 Original commit message from CVS: * tests/check/gnloperation.c: (GST_START_TEST): Adapt test to 'fixed' behaviour of videomixer fixed by #537361
2008-05-27gnl/gnlcomposition.c: Properly accumulate segment_start/segment_done ↵Edward Hervey1-0/+1
messages so that we only switch segment when all... Original commit message from CVS: * gnl/gnlcomposition.c: (add_message), (flush_messages), (replace_message), (has_message), (dump_messages), (gnl_composition_handle_message), (no_more_pads_object_cb), (update_pipeline): Properly accumulate segment_start/segment_done messages so that we only switch segment when all segment_done have been emitted. Inspired by the logic in gstbin. * gnl/gnloperation.c: (get_unlinked_sink_ghost_pad), (remove_sink_pad), (synchronize_sinks), (gnl_operation_request_new_pad), (gnl_operation_release_pad): Methods to properly remove request pads. * tests/check/common.h: Remove a leak
2008-05-26tests/check/: Round of gst-indent and more utilitiesEdward Hervey5-972/+1240
Original commit message from CVS: * tests/check/common.h: * tests/check/complex.c: (GST_START_TEST): * tests/check/gnlsource.c: (GST_START_TEST): * tests/check/simple.c: (GST_START_TEST): Round of gst-indent and more utilities * tests/check/gnloperation.c: (GST_START_TEST), (gnonlin_suite): New test for multiple-input-pad operations. Needs more work
2007-07-30tests/check/common.h: Add a bigger function for creating a video source with ↵Edward Hervey2-6/+30
specific media-start and media-duration. Original commit message from CVS: * tests/check/common.h: Add a bigger function for creating a video source with specific media-start and media-duration. * tests/check/simple.c: (GST_START_TEST): Let's check with non-obvious media-start/duration sources.
2007-06-16gnl/gnlcomposition.c: Unblock child source pads when the pads OR the ↵Edward Hervey2-3/+15
elements are being removed. Original commit message from CVS: * gnl/gnlcomposition.c: (unblock_child_pads), (unblock_childs), (unlock_child_state), (lock_child_state), (gnl_composition_change_state), (object_pad_removed), (gnl_composition_add_object), (gnl_composition_remove_object): Unblock child source pads when the pads OR the elements are being removed. Also unblock those pads when going to READY/NULL. Lock the state of gnlobjects being added, else it screws up state changes of the composition. Properly unref items when using GstIterators. * gnl/gnloperation.c: (gnl_operation_class_init), (gnl_operation_finalize), (get_unused_static_sink_pad), (add_sink_pad): memleak fixes. * tests/check/common.h: * tests/check/simple.c: (GST_START_TEST): memleak fixes.
2006-11-03gnl/gnlcomposition.c: Recalculate start/stop/duration of composition when ↵Edward Hervey1-16/+24
adding a default source. Original commit message from CVS: * gnl/gnlcomposition.c: (gnl_composition_add_object): Recalculate start/stop/duration of composition when adding a default source. * tests/check/complex.c: (GST_START_TEST): Modify test so it also test for the case where the composition starts with a default source.
2006-11-02gnl/gnlcomposition.c: Take into account the priority of default sources when ↵Edward Hervey1-0/+230
calculating the highest priority. This f... Original commit message from CVS: * gnl/gnlcomposition.c: (convert_list_to_tree): Take into account the priority of default sources when calculating the highest priority. This fixes #362399 * tests/check/gnloperation.c: (GST_START_TEST), (gnonlin_suite): Unit test for fixed behaviour.
2006-11-02gnl/gnlcomposition.c: Better check for the 'next stop' of a stack. It will ↵Edward Hervey2-2/+226
now look at all objects under the highest ... Original commit message from CVS: * gnl/gnlcomposition.c: (gnl_composition_ghost_pad_set_target), (next_stop_in_region_above_priority), (convert_list_to_tree), (get_stack_list), (get_clean_toplevel_stack), (gnl_composition_remove_object): Better check for the 'next stop' of a stack. It will now look at all objects under the highest priority (and not the lowest as previously). Fixes #356380. Set new pads as active. Add some debug. * gnl/gnlobject.c: (gnl_object_ghost_pad_full): * gnl/gnloperation.c: (gnl_operation_add_element), (add_sink_pad): Activate new pads. * tests/check/gnloperation.c: (GST_START_TEST), (gnonlin_suite): Added new test (test_pyramid_operations) to test issues fixed for #356380. * tests/check/simple.c: (GST_START_TEST): Unref sinkpads before testing some issues.