summaryrefslogtreecommitdiff
path: root/tests/ref
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2011-10-30 22:02:10 +0100
committerDiego Biurrun <diego@biurrun.de>2012-10-12 20:56:54 +0200
commit9e6ea3cef9927be46973c8e972656b4264f8f1f6 (patch)
tree76c501c449fab05bd0f84ecc5c87537e2263e781 /tests/ref
parent4c66af6141a0bb9e3132bc1105da7c9400602e00 (diff)
downloadffmpeg-9e6ea3cef9927be46973c8e972656b4264f8f1f6.tar.gz
fate: add avstring test
Diffstat (limited to 'tests/ref')
-rw-r--r--tests/ref/fate/avstring27
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/ref/fate/avstring b/tests/ref/fate/avstring
new file mode 100644
index 0000000000..bc231e8148
--- /dev/null
+++ b/tests/ref/fate/avstring
@@ -0,0 +1,27 @@
+Testing av_get_token()
+|''| -> || + ||
+|| -> || + ||
+|:| -> || + |:|
+|\| -> |\| + ||
+|'| -> || + ||
+| '' :| -> || + |:|
+| '' '' :| -> | | + |:|
+|foo '' :| -> |foo | + |:|
+|'foo'| -> |foo| + ||
+|foo | -> |foo| + ||
+| ' foo ' | -> | foo | + ||
+|foo\| -> |foo\| + ||
+|foo': blah:blah| -> |foo: blah:blah| + ||
+|foo\: blah:blah| -> |foo: blah| + |:blah|
+|foo'| -> |foo| + ||
+|'foo : ' :blahblah| -> |foo : | + |:blahblah|
+|\ :blah| -> | | + |:blah|
+| foo| -> |foo| + ||
+| foo | -> |foo| + ||
+| foo \ | -> |foo | + ||
+|foo ':blah| -> |foo :blah| + ||
+| foo bar : blahblah| -> |foo bar| + |: blahblah|
+|\f\o\o| -> |foo| + ||
+|'foo : \ \ ' : blahblah| -> |foo : \ \ | + |: blahblah|
+|'\fo\o:': blahblah| -> |\fo\o:| + |: blahblah|
+|\'fo\o\:': foo ' :blahblah| -> |'foo:: foo | + |:blahblah|