summaryrefslogtreecommitdiffstats
path: root/tests/ref/fate/dict
blob: 7205e4c8455c01746904858ff6f993053f38d632 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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
ret 0
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"\\,\=\'\"=\\,\=\'\"
ret 0
aaa aaa   bbb bbb   ccc ccc   \,='" \,='"
aaa aaa   bbb bbb   ccc ccc   \,='" \,='"
aaa=aaa'bbb=bbb'ccc=ccc'\\,\=\'"=\\,\=\'"
ret 0
aaa aaa   bbb bbb   ccc ccc   \,='" \,='"
aaa aaa   bbb bbb   ccc ccc   \,='" \,='"
aaa"aaa,bbb"bbb,ccc"ccc,\\\,=\'\""\\\,=\'\"
ret 0
aaa aaa   bbb bbb   ccc ccc   \,='" \,='"
aaa aaa   bbb bbb   ccc ccc   \,='" \,='"
aaa'aaa,bbb'bbb,ccc'ccc,\\\,=\'"'\\\,=\'"
ret 0
aaa aaa   bbb bbb   ccc ccc   \,='" \,='"
aaa aaa   bbb bbb   ccc ccc   \,='" \,='"
aaa"aaa'bbb"bbb'ccc"ccc'\\,=\'\""\\,=\'\"
ret 0
aaa aaa   bbb bbb   ccc ccc   \,='" \,='"
aaa aaa   bbb bbb   ccc ccc   \,='" \,='"
aaa'aaa"bbb'bbb"ccc'ccc"\\,=\'\"'\\,=\'\"
ret 0
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
OpenPOWER on IntegriCloud