projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1cb6503
)
value: Add some positive testcase for string deserialization
author
Sebastian Dröge
<sebastian@centricular.com>
Mon, 19 May 2014 09:05:12 +0000
(11:05 +0200)
committer
Sebastian Dröge
<sebastian@centricular.com>
Mon, 19 May 2014 09:05:12 +0000
(11:05 +0200)
tests/check/gst/gstvalue.c
patch
|
blob
|
history
diff --git
a/tests/check/gst/gstvalue.c
b/tests/check/gst/gstvalue.c
index
c833561
..
b4cd2d2
100644
(file)
--- a/
tests/check/gst/gstvalue.c
+++ b/
tests/check/gst/gstvalue.c
@@
-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 */