mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +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;
|
const gchar *to;
|
||||||
} tests[] = {
|
} tests[] = {
|
||||||
{
|
{
|
||||||
|
"\"foo\"", "foo"}, {
|
||||||
|
"\"foo\\%\"", "foo%"}, {
|
||||||
|
"\"0123456789_-+/:.\"", "0123456789_-+/:."}, {
|
||||||
|
"\"Hello\\ World\"", "Hello World"}, {
|
||||||
"", ""}, /* empty strings */
|
"", ""}, /* empty strings */
|
||||||
{
|
{
|
||||||
"\"\"", ""}, /* quoted empty string -> empty string */
|
"\"\"", ""}, /* quoted empty string -> empty string */
|
||||||
|
|
Loading…
Reference in a new issue