From: Stefan Sauer Date: Mon, 6 Jan 2014 20:12:17 +0000 (+0100) Subject: wavparse: split the test X-Git-Tag: 1.3.1~380 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d1223ebd10148132214d9c3783b6cedd4abbf421;p=platform%2Fupstream%2Fgst-plugins-good.git wavparse: split the test This way one failure won't shadow the other test and also if one fails we get better disgnostics through the test-name. --- diff --git a/tests/check/elements/wavparse.c b/tests/check/elements/wavparse.c index e4fee92..10e2ea7 100644 --- 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; }