adaptivedemux: tests: disabled testFragmentDownloadError test

Until we will have support to control the generating thread from
fakeHTTPsrc element, the test testFragmentDownloadError is disabled.

https://bugzilla.gnome.org/show_bug.cgi?id=757776
This commit is contained in:
Florin Apostol 2015-11-09 18:07:30 +00:00 committed by Vincent Penquerc'h
parent 665eb6fcca
commit c6243c7d00

View file

@ -1291,6 +1291,14 @@ GST_START_TEST (testDownloadError)
GST_END_TEST; GST_END_TEST;
/* testFragmentDownloadError is disabled until we redesign the test framework
* to allow better control on when fakeHTTPsrc element will create data.
* Currently that is being done asynchronously and there is no easy way
* to synchronise data generation with the data processing (the test) so that
* we can guarantee that error generation is done during data generation and
* not afterwards.
*/
#if 0
/* generate error message on adaptive demux pipeline */ /* generate error message on adaptive demux pipeline */
static gboolean static gboolean
testFragmentDownloadErrorCheckDataReceived (GstDashDemuxTestData * testData, testFragmentDownloadErrorCheckDataReceived (GstDashDemuxTestData * testData,
@ -1402,6 +1410,8 @@ GST_START_TEST (testFragmentDownloadError)
GST_END_TEST; GST_END_TEST;
#endif
/* generate queries to adaptive demux */ /* generate queries to adaptive demux */
static gboolean static gboolean
testQueryCheckDataReceived (GstDashDemuxTestData * testData, testQueryCheckDataReceived (GstDashDemuxTestData * testData,
@ -1526,7 +1536,7 @@ dash_demux_suite (void)
tcase_add_test (tc_basicTest, testParameters); tcase_add_test (tc_basicTest, testParameters);
tcase_add_test (tc_basicTest, testSeek); tcase_add_test (tc_basicTest, testSeek);
tcase_add_test (tc_basicTest, testDownloadError); tcase_add_test (tc_basicTest, testDownloadError);
tcase_add_test (tc_basicTest, testFragmentDownloadError); //tcase_add_test (tc_basicTest, testFragmentDownloadError);
tcase_add_test (tc_basicTest, testQuery); tcase_add_test (tc_basicTest, testQuery);
tcase_add_unchecked_fixture (tc_basicTest, test_setup, test_teardown); tcase_add_unchecked_fixture (tc_basicTest, test_setup, test_teardown);