ffmpeg/tests/ref/fate/avstring

28 lines
866 B
Plaintext
Raw Normal View History

2011-10-30 21:02:10 +00:00
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|