1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00
FFmpeg/tests/ref/fate/dict
Lukasz Marek 0bf980919e fate: add AVDictionary tests
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
2015-04-02 23:15:57 +02:00

44 lines
1.2 KiB
Plaintext

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