From 47d132e651b77a0f13c8e2f85567c5cb75e64dfe Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Thu, 30 Aug 2012 16:54:17 -0700 Subject: [PATCH] check: Don't fail on GST_MESSAGE_WARNING we will get some because some elements aren't present. If the availability of those elements was critical, we will eventually get an error message --- tests/check/elements/playbin-compressed.c | 60 ----------------------- 1 file changed, 60 deletions(-) diff --git a/tests/check/elements/playbin-compressed.c b/tests/check/elements/playbin-compressed.c index 8c00aadcb2..30701e86d7 100644 --- a/tests/check/elements/playbin-compressed.c +++ b/tests/check/elements/playbin-compressed.c @@ -660,9 +660,6 @@ GST_START_TEST (test_raw_single_video_stream_manual_sink) case GST_MESSAGE_ERROR: fail_if (GST_MESSAGE_TYPE (msg) == GST_MESSAGE_ERROR); break; - case GST_MESSAGE_WARNING: - fail_if (GST_MESSAGE_TYPE (msg) == GST_MESSAGE_WARNING); - break; default: break; } @@ -740,9 +737,6 @@ GST_START_TEST (test_compressed_single_video_stream_manual_sink) case GST_MESSAGE_ERROR: fail_if (GST_MESSAGE_TYPE (msg) == GST_MESSAGE_ERROR); break; - case GST_MESSAGE_WARNING: - fail_if (GST_MESSAGE_TYPE (msg) == GST_MESSAGE_WARNING); - break; default: break; } @@ -823,9 +817,6 @@ GST_START_TEST (test_raw_single_video_stream_demuxer_manual_sink) case GST_MESSAGE_ERROR: fail_if (GST_MESSAGE_TYPE (msg) == GST_MESSAGE_ERROR); break; - case GST_MESSAGE_WARNING: - fail_if (GST_MESSAGE_TYPE (msg) == GST_MESSAGE_WARNING); - break; default: break; } @@ -906,9 +897,6 @@ GST_START_TEST (test_compressed_single_video_stream_demuxer_manual_sink) case GST_MESSAGE_ERROR: fail_if (GST_MESSAGE_TYPE (msg) == GST_MESSAGE_ERROR); break; - case GST_MESSAGE_WARNING: - fail_if (GST_MESSAGE_TYPE (msg) == GST_MESSAGE_WARNING); - break; default: break; } @@ -990,9 +978,6 @@ GST_START_TEST (test_raw_single_audio_stream_manual_sink) case GST_MESSAGE_ERROR: fail_if (GST_MESSAGE_TYPE (msg) == GST_MESSAGE_ERROR); break; - case GST_MESSAGE_WARNING: - fail_if (GST_MESSAGE_TYPE (msg) == GST_MESSAGE_WARNING); - break; default: break; } @@ -1070,9 +1055,6 @@ GST_START_TEST (test_compressed_single_audio_stream_manual_sink) case GST_MESSAGE_ERROR: fail_if (GST_MESSAGE_TYPE (msg) == GST_MESSAGE_ERROR); break; - case GST_MESSAGE_WARNING: - fail_if (GST_MESSAGE_TYPE (msg) == GST_MESSAGE_WARNING); - break; default: break; } @@ -1153,9 +1135,6 @@ GST_START_TEST (test_raw_single_audio_stream_demuxer_manual_sink) case GST_MESSAGE_ERROR: fail_if (GST_MESSAGE_TYPE (msg) == GST_MESSAGE_ERROR); break; - case GST_MESSAGE_WARNING: - fail_if (GST_MESSAGE_TYPE (msg) == GST_MESSAGE_WARNING); - break; default: break; } @@ -1236,9 +1215,6 @@ GST_START_TEST (test_compressed_single_audio_stream_demuxer_manual_sink) case GST_MESSAGE_ERROR: fail_if (GST_MESSAGE_TYPE (msg) == GST_MESSAGE_ERROR); break; - case GST_MESSAGE_WARNING: - fail_if (GST_MESSAGE_TYPE (msg) == GST_MESSAGE_WARNING); - break; default: break; } @@ -1319,9 +1295,6 @@ GST_START_TEST (test_raw_audio_video_stream_demuxer_manual_sink) case GST_MESSAGE_ERROR: fail_if (GST_MESSAGE_TYPE (msg) == GST_MESSAGE_ERROR); break; - case GST_MESSAGE_WARNING: - fail_if (GST_MESSAGE_TYPE (msg) == GST_MESSAGE_WARNING); - break; default: break; } @@ -1403,9 +1376,6 @@ GST_START_TEST (test_compressed_audio_video_stream_demuxer_manual_sink) case GST_MESSAGE_ERROR: fail_if (GST_MESSAGE_TYPE (msg) == GST_MESSAGE_ERROR); break; - case GST_MESSAGE_WARNING: - fail_if (GST_MESSAGE_TYPE (msg) == GST_MESSAGE_WARNING); - break; default: break; } @@ -1486,9 +1456,6 @@ GST_START_TEST (test_raw_compressed_video_stream_demuxer_manual_sink) case GST_MESSAGE_ERROR: fail_if (GST_MESSAGE_TYPE (msg) == GST_MESSAGE_ERROR); break; - case GST_MESSAGE_WARNING: - fail_if (GST_MESSAGE_TYPE (msg) == GST_MESSAGE_WARNING); - break; default: break; } @@ -1566,9 +1533,6 @@ GST_START_TEST (test_raw_compressed_audio_stream_demuxer_manual_sink) case GST_MESSAGE_ERROR: fail_if (GST_MESSAGE_TYPE (msg) == GST_MESSAGE_ERROR); break; - case GST_MESSAGE_WARNING: - fail_if (GST_MESSAGE_TYPE (msg) == GST_MESSAGE_WARNING); - break; default: break; } @@ -1685,9 +1649,6 @@ GST_START_TEST (test_raw_compressed_video_stream_demuxer_switch_manual_sink) case GST_MESSAGE_ERROR: fail_if (GST_MESSAGE_TYPE (msg) == GST_MESSAGE_ERROR); break; - case GST_MESSAGE_WARNING: - fail_if (GST_MESSAGE_TYPE (msg) == GST_MESSAGE_WARNING); - break; default: break; } @@ -1780,9 +1741,6 @@ GST_START_TEST (test_compressed_raw_video_stream_demuxer_switch_manual_sink) case GST_MESSAGE_ERROR: fail_if (GST_MESSAGE_TYPE (msg) == GST_MESSAGE_ERROR); break; - case GST_MESSAGE_WARNING: - fail_if (GST_MESSAGE_TYPE (msg) == GST_MESSAGE_WARNING); - break; default: break; } @@ -1875,9 +1833,6 @@ GST_START_TEST (test_raw_raw_video_stream_demuxer_switch_manual_sink) case GST_MESSAGE_ERROR: fail_if (GST_MESSAGE_TYPE (msg) == GST_MESSAGE_ERROR); break; - case GST_MESSAGE_WARNING: - fail_if (GST_MESSAGE_TYPE (msg) == GST_MESSAGE_WARNING); - break; default: break; } @@ -1971,9 +1926,6 @@ GST_START_TEST case GST_MESSAGE_ERROR: fail_if (GST_MESSAGE_TYPE (msg) == GST_MESSAGE_ERROR); break; - case GST_MESSAGE_WARNING: - fail_if (GST_MESSAGE_TYPE (msg) == GST_MESSAGE_WARNING); - break; default: break; } @@ -2084,9 +2036,6 @@ GST_START_TEST (test_raw_compressed_audio_stream_demuxer_switch_manual_sink) case GST_MESSAGE_ERROR: fail_if (GST_MESSAGE_TYPE (msg) == GST_MESSAGE_ERROR); break; - case GST_MESSAGE_WARNING: - fail_if (GST_MESSAGE_TYPE (msg) == GST_MESSAGE_WARNING); - break; default: break; } @@ -2179,9 +2128,6 @@ GST_START_TEST (test_compressed_raw_audio_stream_demuxer_switch_manual_sink) case GST_MESSAGE_ERROR: fail_if (GST_MESSAGE_TYPE (msg) == GST_MESSAGE_ERROR); break; - case GST_MESSAGE_WARNING: - fail_if (GST_MESSAGE_TYPE (msg) == GST_MESSAGE_WARNING); - break; default: break; } @@ -2274,9 +2220,6 @@ GST_START_TEST (test_raw_raw_audio_stream_demuxer_switch_manual_sink) case GST_MESSAGE_ERROR: fail_if (GST_MESSAGE_TYPE (msg) == GST_MESSAGE_ERROR); break; - case GST_MESSAGE_WARNING: - fail_if (GST_MESSAGE_TYPE (msg) == GST_MESSAGE_WARNING); - break; default: break; } @@ -2370,9 +2313,6 @@ GST_START_TEST case GST_MESSAGE_ERROR: fail_if (GST_MESSAGE_TYPE (msg) == GST_MESSAGE_ERROR); break; - case GST_MESSAGE_WARNING: - fail_if (GST_MESSAGE_TYPE (msg) == GST_MESSAGE_WARNING); - break; default: break; }