summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* poolstress: print speedupStefan Sauer2014-01-301-5/+7
|
* bufferpool: add a new testsuite or the poolStefan Sauer2014-01-303-0/+88
| | | | Start with some basic tests.
* poolstress: code cleanupsStefan Sauer2014-01-291-10/+12
| | | | Add a few comments. Tell in the results, which number are from which test.
* tests: capsfilter: add test for pending_events pushingThiago Santos2014-01-291-0/+97
| | | | | make sure that pending events are pushed when caps are already set when a buffer is received
* basesrc: preserve seqnum of eos events sent by the userThiago Santos2014-01-241-1/+6
| | | | | | | | | | | | | | | | Store the eos event seqnum and use it when creating the new eos event to be pushed downstream. To know if the eos was caused by the eos events received on send_event, a 'forced_eos' flag is used to use the correct seqnum on the event pushed downstream. Useful if the application wants to check if the EOS message was generated from its own pushed EOS or from another source (stream really finished). Also adds a test for this https://bugzilla.gnome.org/show_bug.cgi?id=722791
* parse: Additional tests for parserFabian Kirsch2014-01-201-3/+33
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=710034
* iterator: Add unit tests for filtering, recursive filtering and lockingSebastian Dröge2014-01-181-0/+216
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=711138
* tee: Add unit test for requesting pad namesSebastian Dröge2014-01-141-0/+29
|
* parse-launch: Add some more failing pipelinesSebastian Dröge2014-01-141-8/+9
| | | | | Also convert some comments about valgrind warnings to FIXME comments. These were leaking since some time already.
* parse: Refactor grammar, make it more consistent and fix conflictsFabian Kirsch2014-01-141-6/+11
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=710034
* tests: baseparse: add test for reverse playback on passthroughThiago Santos2014-01-131-4/+33
| | | | | | | | | Baseparse stores buffers for reverse playback to push on the next DISCONT, the issue was that it wouldn't ever check for a discont on passthrough mode as it skips all real parsing. This test was create to verify this issue and prevent it from happening again https://bugzilla.gnome.org/show_bug.cgi?id=721941
* tests: baseparse: add basic test for baseparseThiago Santos2014-01-133-0/+277
| | | | Just a small test to check that basic playback works
* tests: improve check, also check stream-timeWim Taymans2014-01-081-20/+10
|
* tests: add unit test for segment _offset_running_time()Wim Taymans2014-01-081-0/+91
| | | | | Add a unit test to check that positive and negative offsets are applied correctly in various cases.
* pad: Add unit test for adding/removing blocking probes while a pad is blockedSebastian Dröge2014-01-021-1/+101
| | | | | | | And make sure that these new probes are actually called if they should instead of silently blocking the pad forever. https://bugzilla.gnome.org/show_bug.cgi?id=721289
* tests: add unit test for bitreader, bytereader and bytewriter with no ↵Tim-Philipp Müller2013-12-145-0/+69
| | | | inlining used
* gstvalue: Fix comparision of double rangeEdward Hervey2013-12-101-0/+20
| | | | | | | | Checking twice the lower bound is great (you never know, it might change between the two calls by someone using emacs butterfly-mode), but it's a bit more useful to check the higher bound are also identical. Detected by Coverity
* tests: add unit test for registering the same category twiceTim-Philipp Müller2013-12-071-0/+17
|
* Fix some typos in code comments and debug messagesSebastian Rasmussen2013-12-072-3/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=720029
* tests: fix GstBus unit test with latest GLibTim-Philipp Müller2013-11-181-1/+2
| | | | | | g_source_remove() works on the default main context, and we're doing things with a custom context. Fixes warning with newer GLib versions.
* value: Lists with all equal elements are equal to a single valueSebastian Dröge2013-11-131-1/+22
| | | | | | Otherwise caps containing f={X, X} are not compatible with f=X https://bugzilla.gnome.org/show_bug.cgi?id=709253
* tests: collectpads: add flushing seek testsAlessandro Decina2013-11-111-3/+234
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=708416
* tests: collectpads: tweak stub _collect to push all buffersAlessandro Decina2013-11-111-7/+15
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=708416
* tests: collectpads: update my email addressAlessandro Decina2013-11-111-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=708416
* systemclock: Add gst_system_clock_set_defaultWim Taymans2013-11-111-0/+33
| | | | | | | | Used for setting the default system clock that is obtained through gst_system_clock_obtain(), which is sometimes needed for unit testing. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=711269
* parse: Make the FATAL_ERRORS flag also work without a GErrorOlivier Crête2013-11-011-0/+5
| | | | Also add a unit tests
* tests/filesrc: Set location in wrong stateSebastian Rasmussen2013-10-131-0/+24
| | | | | | | Also remove incorrect comment about code possibly not being reachable that is now exercised by the filesrc unit test. https://bugzilla.gnome.org/show_bug.cgi?id=709831
* parse: Fix transfer annotations for parse_launch functions.Jan Schmidt2013-10-121-0/+2
| | | | | | | | | | gst_parse_launchv, gst_parse_launchv_full and gst_parse_launch_full all return floating refs, the same as gst_parse_launch, which just calls gst_parse_launch_full internally anyway. Add a unit test assertion to check it's true. Spotted by nemequ on IRC.
* core: Fix max DEBUG_LEVEL incongruence on 5 vs 9Reynaldo H. Verdejo Pinochet2013-10-101-6/+6
| | | | | In the docs and the autocompletion logic the maximum value jumped incongruently between 5 and 9.
* caps: Skip test_subset_duplication until the bug is fixedSebastian Dröge2013-10-101-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=709253
* caps: Add a testcase for subset checks on lists with duplicated itemsSebastian Dröge2013-10-101-0/+15
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=709253
* tests: use tcase_skip_broken_test() to skip broken multiqueue testTim-Philipp Müller2013-10-021-2/+1
| | | | | So that we get a warning in the output that reminds us that something needs to be fixed.
* check: Disable multiqueue test_output_order checkEdward Hervey2013-10-021-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | The check itself is racy. (CK_FORK=no GST_CHECK=test_output_order make elements/multiqueue.forever). The problem is indeed the test and not the actual element behaviour. The objects to push are being pulled out of the single internal queues in the right order and at the right time... But between: * the moment the global multiqueue lock is released (which was used to detect if we should pop and push downstream the next buffer) * and the moment it is received by the source pad (which does the check) => another single queue (like the unlinked pad) might pop and push a buffer downstream What should we do ? Putting a bigger margin of error (say 5 buffers) doesn't help, it'll eventually fail. I can't see how we can detect this reliably. https://bugzilla.gnome.org/show_bug.cgi?id=708661
* value: fix caps serialization when there are caps inside capsThiago Santos2013-09-301-1/+7
| | | | | | | | Wrap caps strings so that it can handle serialization and deserialization of caps inside caps. Otherwise the values from the internal caps are parsed as if they were from the upper one https://bugzilla.gnome.org/show_bug.cgi?id=708772
* context: Add test for the context caching in GstBinSebastian Dröge2013-09-241-0/+37
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=708668
* tests: handle unscheduled entries correctlyWim Taymans2013-09-231-0/+5
| | | | | | | Make the testclock return GST_CLOCK_UNSCHEDULED when an unscheduled entry is used for gst_clock_wait() or gst_clock_wait_async(). Fixes https://bugzilla.gnome.org/show_bug.cgi?id=708605
* context: Fix unit test for GstContext changesSebastian Dröge2013-09-181-70/+20
|
* tests/capsfilter: Fix memory leak and compare caps directly instead of strcmp()Sebastian Dröge2013-09-091-10/+7
|
* tests/capsfilter: Test caps-related queries and propertySebastian Rasmussen2013-09-091-0/+155
|
* filesink: flush (discard data) on FLUSH_STOPAlessandro Decina2013-08-271-0/+51
| | | | Reset the write position to 0 and truncate the file on FLUSH_STOP.
* tests: filesink: small refactoringAlessandro Decina2013-08-271-29/+40
|
* buffer: Fix gst_buffer_memcmp() where the buffer is smaller than sizeOlivier Crête2013-08-201-0/+28
| | | | | | Also add unit tests for gst_buffer_memcmp https://bugzilla.gnome.org/show_bug.cgi?id=706162
* tests: Remove other interface structs from the ABI tests tooSebastian Dröge2013-07-248-32/+0
|
* tests: Remove GstTagSetter from ABI checksThiago Santos2013-07-248-8/+0
| | | | | | | Interfaces can have new members added without breaking ABI, so remove it from the check. https://bugzilla.gnome.org/show_bug.cgi?id=623799
* adapter: Take account of the skip in gst_adapter_take_buffer_fast()Olivier Crête2013-07-161-1/+29
| | | | Include regression test
* adapter: Add function to return buffer composed of multiple memoriesOlivier Crête2013-07-161-0/+37
| | | | API: gst_adapter_take_fast()
* benchmarks: ignore new benchmark binaryTim-Philipp Müller2013-07-161-0/+1
|
* funnel: Re-push all sticky events when buffers come from a different padOlivier Crête2013-07-011-1/+1
| | | | | Don't special case segment/caps, just push all sticky events when they are received on the currently active pad or when the active pad changes.
* tests: Remove funnel pad_alloc testOlivier Crête2013-07-011-16/+0
|
* check: Added gst_check_setup_events_with_stream_id()Jonas Holmberg2013-07-011-11/+4
| | | | | | | Added a new function gst_check_setup_events_with_stream_id(), since gst_check_setup_events() does not work with multiple pads. https://bugzilla.gnome.org/show_bug.cgi?id=703377