GNOME Bugzilla – Bug 700033
tests: New runtime check force unit tests to send initial events
Last modified: 2013-05-11 07:13:24 UTC
With the new runtime check, events stream-start and segment must be sent before any data flow, tests that wraps a single element are now forced to send these event before data flow. As this is always the same over and over I have started by adding a new helper to gstcheck library, patches coming ...
Created attachment 243737 [details] [review] [PATCH] check: Add helper that sends initial events https://bugzilla.gnome.org/show_bug.cgi?id=700033 --- docs/libs/gstreamer-libs-sections.txt | 1 + libs/gst/check/Makefile.am | 1 + libs/gst/check/gstcheck.c | 29 +++++++++++++++++++++++++++++ libs/gst/check/gstcheck.h | 2 ++ 4 files changed, 33 insertions(+)
Created attachment 243738 [details] [review] [PATCH] wavpackdec-test: Send initial events https://bugzilla.gnome.org/show_bug.cgi?id=700033 --- tests/check/elements/wavpackdec.c | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-)
Created attachment 243739 [details] [review] [PATCH] vp8dec-test: Send inital events https://bugzilla.gnome.org/show_bug.cgi?id=700033 --- tests/check/elements/vp8dec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Created attachment 243742 [details] [review] [PATCH] vp8enc-test: Send inital events https://bugzilla.gnome.org/show_bug.cgi?id=700033 --- tests/check/elements/vp8enc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Created attachment 243745 [details] [review] [PATCH] jpegenc-test: Send inital events https://bugzilla.gnome.org/show_bug.cgi?id=700033 --- tests/check/elements/jpegenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
All pushed
Re-opening as there is more to come (still 40 tests to look at in good and about the same in -base).
Created attachment 243777 [details] [review] [PATCH] y4menc-test: Send inital events https://bugzilla.gnome.org/show_bug.cgi?id=700033 --- tests/check/elements/y4menc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Created attachment 243778 [details] [review] [PATCH] wavpackparse-test: Send inital events https://bugzilla.gnome.org/show_bug.cgi?id=700033 --- tests/check/elements/wavpackparse.c | 1 + 1 file changed, 1 insertion(+)
Created attachment 243779 [details] [review] [PATCH] videofilter-test: Send inital events https://bugzilla.gnome.org/show_bug.cgi?id=700033 --- tests/check/elements/videofilter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Created attachment 243780 [details] [review] [PATCH] spectrum-test: Send inital events https://bugzilla.gnome.org/show_bug.cgi?id=700033 --- tests/check/elements/spectrum.c | 35 ++++++++++------------------------- 1 file changed, 10 insertions(+), 25 deletions(-)
Created attachment 243781 [details] [review] [PATCH] shapewipe-test: Send inital events https://bugzilla.gnome.org/show_bug.cgi?id=700033 --- tests/check/elements/shapewipe.c | 38 +++++++++++++++++--------------------- 1 file changed, 17 insertions(+), 21 deletions(-)