mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 11:55:39 +00:00
value: Add some positive testcase for string deserialization
This commit is contained in:
parent
1cb650383d
commit
f2cb36b995
1 changed files with 4 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue