mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 11:32:38 +00:00
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.
This commit is contained in:
parent
5506dc3076
commit
d1223ebd10
1 changed files with 9 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue