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.
This commit is contained in:
Tim-Philipp Müller 2007-10-25 14:41:01 +00:00
parent 9063ed1df4
commit bff7cbd845
2 changed files with 14 additions and 0 deletions

View file

@ -1,3 +1,10 @@
2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
* 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 <tim at centricular dot net>
* docs/gst/gstreamer-sections.txt:

View file

@ -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);