37 lines
1.0 KiB
Plaintext
37 lines
1.0 KiB
Plaintext
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|
|
|
Testing av_append_path_component()
|
|
(null) = (null)
|
|
path = path
|
|
comp = comp
|
|
path/comp = path/comp
|
|
path/comp = path/comp
|
|
path/comp = path/comp
|
|
path/comp = path/comp
|
|
path/path2/comp/comp2 = path/path2/comp/comp2
|