projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5506dc3
)
wavparse: split the test
author
Stefan Sauer
<ensonic@users.sf.net>
Mon, 6 Jan 2014 20:12:17 +0000
(21:12 +0100)
committer
Stefan Sauer
<ensonic@users.sf.net>
Mon, 6 Jan 2014 20:13:37 +0000
(21:13 +0100)
This way one failure won't shadow the other test and also if one fails we get
better disgnostics through the test-name.
tests/check/elements/wavparse.c
patch
|
blob
|
history
diff --git
a/tests/check/elements/wavparse.c
b/tests/check/elements/wavparse.c
index e4fee9207a2ecc2c433ad22feef4cd0585e895a2..10e2ea7076b7f7e5948f11f5e5816ec6fbfa30f3 100644
(file)
--- a/
tests/check/elements/wavparse.c
+++ b/
tests/check/elements/wavparse.c
@@
-58,9
+58,15
@@
do_test_empty_file (gboolean can_activate_pull)
gst_object_unref (pipeline);
}
-GST_START_TEST (test_empty_file)
+GST_START_TEST (test_empty_file
_pull
)
{
do_test_empty_file (TRUE);
+}
+
+GST_END_TEST;
+
+GST_START_TEST (test_empty_file_push)
+{
do_test_empty_file (FALSE);
}
@@
-73,7
+79,8
@@
wavparse_suite (void)
TCase *tc_chain = tcase_create ("wavparse");
suite_add_tcase (s, tc_chain);
- tcase_add_test (tc_chain, test_empty_file);
+ tcase_add_test (tc_chain, test_empty_file_pull);
+ tcase_add_test (tc_chain, test_empty_file_push);
return s;
}