From: Tim-Philipp Müller Date: Thu, 25 Oct 2007 14:41:01 +0000 (+0000) Subject: tests/check/gst/gststructure.c: Disable test that checks that white spaces are not... X-Git-Tag: RELEASE-0_10_15~38 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bff7cbd8458ef0bf7476c4aa545a7deaf8527987;p=platform%2Fupstream%2Fgstreamer.git tests/check/gst/gststructure.c: Disable test that checks that white spaces are not allowed in structure names or fiel... Original commit message from CVS: * tests/check/gst/gststructure.c: (test_to_string): Disable test that checks that white spaces are not allowed in structure names or field names, since we need to support that for now for backwards compatibility reasons. --- diff --git a/ChangeLog b/ChangeLog index b9394d6a4f..6489cb798d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2007-10-25 Tim-Philipp Müller + + * tests/check/gst/gststructure.c: (test_to_string): + Disable test that checks that white spaces are not allowed + in structure names or field names, since we need to + support that for now for backwards compatibility reasons. + 2007-10-24 Tim-Philipp Müller * docs/gst/gstreamer-sections.txt: diff --git a/tests/check/gst/gststructure.c b/tests/check/gst/gststructure.c index bba379d40f..4a644d6dd4 100644 --- a/tests/check/gst/gststructure.c +++ b/tests/check/gst/gststructure.c @@ -127,8 +127,15 @@ GST_START_TEST (test_to_string) ASSERT_CRITICAL (st1 = gst_structure_new ("Foo\nwith-newline", NULL)); fail_unless (st1 == NULL); + /* FIXME 0.11: re-enable this */ +#if 0 ASSERT_CRITICAL (st1 = gst_structure_new ("Foo with whitespace", NULL)); fail_unless (st1 == NULL); +#else + st1 = gst_structure_new ("Foo with whitespace is still allowed", NULL); + fail_unless (st1 != NULL); + gst_structure_free (st1); +#endif ASSERT_CRITICAL (st1 = gst_structure_new ("1st", NULL)); fail_unless (st1 == NULL);