value: Add some positive testcase for string deserialization
authorSebastian Dröge <sebastian@centricular.com>
Mon, 19 May 2014 09:05:12 +0000 (11:05 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 19 May 2014 09:05:12 +0000 (11:05 +0200)
tests/check/gst/gstvalue.c

index c833561..b4cd2d2 100644 (file)
@@ -538,6 +538,10 @@ GST_START_TEST (test_deserialize_string)
     const gchar *to;
   } tests[] = {
     {
+    "\"foo\"", "foo"}, {
+    "\"foo\\%\"", "foo%"}, {
+    "\"0123456789_-+/:.\"", "0123456789_-+/:."}, {
+    "\"Hello\\ World\"", "Hello World"}, {
     "", ""},                    /* empty strings */
     {
     "\"\"", ""},                /* quoted empty string -> empty string */