value: Add some positive testcase for string deserialization

This commit is contained in:
Sebastian Dröge 2014-05-19 11:05:12 +02:00
parent 1cb650383d
commit f2cb36b995

View 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 */