From 0c04b2635b93cab9203990cf21bd8197a9b1fafc Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Sun, 14 Sep 2003 12:33:00 +0000 Subject: [PATCH] the test suite. Original commit message from CVS: the test suite. please change GST_CAPS_IS_FIXED to GST_CAPS_IS_FIXED_BP wherever you feel it is necessary --- tests/old/testsuite/caps/fixed.c | 12 ++++++------ testsuite/caps/fixed.c | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/tests/old/testsuite/caps/fixed.c b/tests/old/testsuite/caps/fixed.c index 5616e88c85..3f01d3486c 100644 --- a/tests/old/testsuite/caps/fixed.c +++ b/tests/old/testsuite/caps/fixed.c @@ -104,10 +104,10 @@ main (gint argc, gchar *argv[]) caps = GST_CAPS_NEW ( "testcaps", - "unkown/unknown", + "unknown/unknown", NULL); - /* newly crrated caps without props is fixed */ + /* newly created caps without props is fixed */ g_assert (GST_CAPS_IS_FIXED (caps)); entry = gst_props_entry_new ("foo", GST_PROPS_INT (5)); @@ -134,25 +134,25 @@ main (gint argc, gchar *argv[]) /* props should be variable now */ g_assert (!GST_PROPS_IS_FIXED (props)); /* caps too */ - g_assert (!GST_CAPS_IS_FIXED (caps)); + g_assert (!GST_CAPS_IS_FIXED_BP (caps)); gst_props_remove_entry_by_name (props, "bar"); /* props should be fixed again now */ g_assert (GST_PROPS_IS_FIXED (props)); /* caps too */ - g_assert (GST_CAPS_IS_FIXED (caps)); + g_assert (GST_CAPS_IS_FIXED_BP (caps)); gst_props_set (props, "foo", GST_PROPS_INT_RANGE (1,5)); /* props should be variable again now */ g_assert (!GST_PROPS_IS_FIXED (props)); /* caps too */ - g_assert (!GST_CAPS_IS_FIXED (caps)); + g_assert (!GST_CAPS_IS_FIXED_BP (caps)); gst_props_set (props, "foo", GST_PROPS_INT (5)); /* props should be fixed again now */ g_assert (GST_PROPS_IS_FIXED (props)); /* caps too */ - g_assert (GST_CAPS_IS_FIXED (caps)); + g_assert (GST_CAPS_IS_FIXED_BP (caps)); return 0; diff --git a/testsuite/caps/fixed.c b/testsuite/caps/fixed.c index 5616e88c85..3f01d3486c 100644 --- a/testsuite/caps/fixed.c +++ b/testsuite/caps/fixed.c @@ -104,10 +104,10 @@ main (gint argc, gchar *argv[]) caps = GST_CAPS_NEW ( "testcaps", - "unkown/unknown", + "unknown/unknown", NULL); - /* newly crrated caps without props is fixed */ + /* newly created caps without props is fixed */ g_assert (GST_CAPS_IS_FIXED (caps)); entry = gst_props_entry_new ("foo", GST_PROPS_INT (5)); @@ -134,25 +134,25 @@ main (gint argc, gchar *argv[]) /* props should be variable now */ g_assert (!GST_PROPS_IS_FIXED (props)); /* caps too */ - g_assert (!GST_CAPS_IS_FIXED (caps)); + g_assert (!GST_CAPS_IS_FIXED_BP (caps)); gst_props_remove_entry_by_name (props, "bar"); /* props should be fixed again now */ g_assert (GST_PROPS_IS_FIXED (props)); /* caps too */ - g_assert (GST_CAPS_IS_FIXED (caps)); + g_assert (GST_CAPS_IS_FIXED_BP (caps)); gst_props_set (props, "foo", GST_PROPS_INT_RANGE (1,5)); /* props should be variable again now */ g_assert (!GST_PROPS_IS_FIXED (props)); /* caps too */ - g_assert (!GST_CAPS_IS_FIXED (caps)); + g_assert (!GST_CAPS_IS_FIXED_BP (caps)); gst_props_set (props, "foo", GST_PROPS_INT (5)); /* props should be fixed again now */ g_assert (GST_PROPS_IS_FIXED (props)); /* caps too */ - g_assert (GST_CAPS_IS_FIXED (caps)); + g_assert (GST_CAPS_IS_FIXED_BP (caps)); return 0;