summaryrefslogtreecommitdiff
path: root/tests/check/gst
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@noraisin.net>2010-08-28 17:51:14 +1000
committerJan Schmidt <thaytan@noraisin.net>2010-08-28 17:51:14 +1000
commit519e08c37ff765672a7619e776150f8444c84a24 (patch)
tree2458ecf1771a36f9784d406111d1fb47d773cbca /tests/check/gst
parentc857047be72c176107a0913640946e01ced86c78 (diff)
downloadgstreamer-519e08c37ff765672a7619e776150f8444c84a24.tar.gz
tests: Remove checks for deprecated flow check macros
GST_FLOW_IS_FATAL() and GST_FLOW_IS_SUCCESS() are deprecated, so aren't available for the testsuite any more.
Diffstat (limited to 'tests/check/gst')
-rw-r--r--tests/check/gst/gstpad.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/check/gst/gstpad.c b/tests/check/gst/gstpad.c
index ff6f9545b8..74bfd59751 100644
--- a/tests/check/gst/gstpad.c
+++ b/tests/check/gst/gstpad.c
@@ -487,53 +487,39 @@ GST_START_TEST (test_flowreturn)
/* test some of the macros */
ret = GST_FLOW_UNEXPECTED;
- fail_unless (GST_FLOW_IS_FATAL (ret));
- fail_if (GST_FLOW_IS_SUCCESS (ret));
fail_if (strcmp (gst_flow_get_name (ret), "unexpected"));
quark = gst_flow_to_quark (ret);
fail_if (strcmp (g_quark_to_string (quark), "unexpected"));
ret = GST_FLOW_RESEND;
- fail_if (GST_FLOW_IS_FATAL (ret));
- fail_unless (GST_FLOW_IS_SUCCESS (ret));
fail_if (strcmp (gst_flow_get_name (ret), "resend"));
quark = gst_flow_to_quark (ret);
fail_if (strcmp (g_quark_to_string (quark), "resend"));
/* custom returns */
ret = GST_FLOW_CUSTOM_SUCCESS;
- fail_if (GST_FLOW_IS_FATAL (ret));
- fail_unless (GST_FLOW_IS_SUCCESS (ret));
fail_if (strcmp (gst_flow_get_name (ret), "custom-success"));
quark = gst_flow_to_quark (ret);
fail_if (strcmp (g_quark_to_string (quark), "custom-success"));
ret = GST_FLOW_CUSTOM_ERROR;
- fail_unless (GST_FLOW_IS_FATAL (ret));
- fail_if (GST_FLOW_IS_SUCCESS (ret));
fail_if (strcmp (gst_flow_get_name (ret), "custom-error"));
quark = gst_flow_to_quark (ret);
fail_if (strcmp (g_quark_to_string (quark), "custom-error"));
/* custom returns clamping */
ret = GST_FLOW_CUSTOM_SUCCESS + 2;
- fail_if (GST_FLOW_IS_FATAL (ret));
- fail_unless (GST_FLOW_IS_SUCCESS (ret));
fail_if (strcmp (gst_flow_get_name (ret), "custom-success"));
quark = gst_flow_to_quark (ret);
fail_if (strcmp (g_quark_to_string (quark), "custom-success"));
ret = GST_FLOW_CUSTOM_ERROR - 2;
- fail_unless (GST_FLOW_IS_FATAL (ret));
- fail_if (GST_FLOW_IS_SUCCESS (ret));
fail_if (strcmp (gst_flow_get_name (ret), "custom-error"));
quark = gst_flow_to_quark (ret);
fail_if (strcmp (g_quark_to_string (quark), "custom-error"));
/* unknown values */
ret = GST_FLOW_CUSTOM_ERROR + 2;
- fail_unless (GST_FLOW_IS_FATAL (ret));
- fail_if (GST_FLOW_IS_SUCCESS (ret));
fail_if (strcmp (gst_flow_get_name (ret), "unknown"));
quark = gst_flow_to_quark (ret);
fail_unless (quark == 0);