mirror of https://git.ffmpeg.org/ffmpeg.git
fate: add AVDictionary tests
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
This commit is contained in:
parent
96f896750d
commit
0bf980919e
|
@ -53,6 +53,10 @@ fate-des: libavutil/des-test$(EXESUF)
|
||||||
fate-des: CMD = run libavutil/des-test
|
fate-des: CMD = run libavutil/des-test
|
||||||
fate-des: REF = /dev/null
|
fate-des: REF = /dev/null
|
||||||
|
|
||||||
|
FATE_LIBAVUTIL += fate-dict
|
||||||
|
fate-dict: libavutil/dict-test$(EXESUF)
|
||||||
|
fate-dict: CMD = run libavutil/dict-test
|
||||||
|
|
||||||
FATE_LIBAVUTIL += fate-eval
|
FATE_LIBAVUTIL += fate-eval
|
||||||
fate-eval: libavutil/eval-test$(EXESUF)
|
fate-eval: libavutil/eval-test$(EXESUF)
|
||||||
fate-eval: CMD = run libavutil/eval-test
|
fate-eval: CMD = run libavutil/eval-test
|
||||||
|
|
|
@ -0,0 +1,43 @@
|
||||||
|
Testing av_dict_get_string() and av_dict_parse_string()
|
||||||
|
|
||||||
|
aaa aaa b,b bbb c=c ccc ddd d,d eee e=e f,f f=f g=g g,g
|
||||||
|
aaa=aaa,b\,b=bbb,c\=c=ccc,ddd=d\,d,eee=e\=e,f\,f=f\=f,g\=g=g\,g
|
||||||
|
aaa aaa b,b bbb c=c ccc ddd d,d eee e=e f,f f=f g=g g,g
|
||||||
|
aaa aaa bbb bbb ccc ccc \,='" \,='"
|
||||||
|
aaa=aaa"bbb=bbb"ccc=ccc"\\,\=\'\"=\\,\=\'\"
|
||||||
|
aaa aaa bbb bbb ccc ccc \,='" \,='"
|
||||||
|
aaa aaa bbb bbb ccc ccc \,='" \,='"
|
||||||
|
aaa=aaa'bbb=bbb'ccc=ccc'\\,\=\'"=\\,\=\'"
|
||||||
|
aaa aaa bbb bbb ccc ccc \,='" \,='"
|
||||||
|
aaa aaa bbb bbb ccc ccc \,='" \,='"
|
||||||
|
aaa"aaa,bbb"bbb,ccc"ccc,\\\,=\'\""\\\,=\'\"
|
||||||
|
aaa aaa bbb bbb ccc ccc \,='" \,='"
|
||||||
|
aaa aaa bbb bbb ccc ccc \,='" \,='"
|
||||||
|
aaa'aaa,bbb'bbb,ccc'ccc,\\\,=\'"'\\\,=\'"
|
||||||
|
aaa aaa bbb bbb ccc ccc \,='" \,='"
|
||||||
|
aaa aaa bbb bbb ccc ccc \,='" \,='"
|
||||||
|
aaa"aaa'bbb"bbb'ccc"ccc'\\,=\'\""\\,=\'\"
|
||||||
|
aaa aaa bbb bbb ccc ccc \,='" \,='"
|
||||||
|
aaa aaa bbb bbb ccc ccc \,='" \,='"
|
||||||
|
aaa'aaa"bbb'bbb"ccc'ccc"\\,=\'\"'\\,=\'\"
|
||||||
|
aaa aaa bbb bbb ccc ccc \,='" \,='"
|
||||||
|
|
||||||
|
Testing av_dict_set()
|
||||||
|
a a
|
||||||
|
b b
|
||||||
|
c c
|
||||||
|
d d
|
||||||
|
e e
|
||||||
|
ff ff
|
||||||
|
|
||||||
|
Testing av_dict_set_int()
|
||||||
|
1 1
|
||||||
|
2 2
|
||||||
|
3 3
|
||||||
|
4 4
|
||||||
|
5 5
|
||||||
|
12 12
|
||||||
|
|
||||||
|
Testing av_dict_set() with existing AVDictionaryEntry.key as key
|
||||||
|
new val OK
|
||||||
|
new val OK
|
Loading…
Reference in New Issue