summaryrefslogtreecommitdiffstats
path: root/tests/auto/testlib/selftests/expected_cmptest.lightxml
blob: 4a376b5c8b6f794a714e8feb937ee584e2e5e604 (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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
<Environment>
    <QtVersion>@INSERT_QT_VERSION_HERE@</QtVersion>
    <QtBuild/>
    <QTestVersion>@INSERT_QT_VERSION_HERE@</QTestVersion>
</Environment>
<TestFunction name="initTestCase">
<Incident type="pass" file="" line="0" />
<Duration msecs="0"/>
</TestFunction>
<TestFunction name="compare_boolfuncs">
<Incident type="pass" file="" line="0" />
<Duration msecs="0"/>
</TestFunction>
<TestFunction name="compare_pointerfuncs">
<Incident type="pass" file="" line="0" />
<Duration msecs="0"/>
</TestFunction>
<TestFunction name="compare_tostring">
<Incident type="fail" file="tst_cmptest.cpp" line="219">
    <DataTag><![CDATA[int, string]]></DataTag>
    <Description><![CDATA[Compared values are not the same
   Actual   (actual)  : QVariant(int,123)
   Expected (expected): QVariant(QString,hi)]]></Description>
</Incident>
<Incident type="pass" file="" line="0">
    <DataTag><![CDATA[both invalid]]></DataTag>
</Incident>
<Incident type="fail" file="tst_cmptest.cpp" line="219">
    <DataTag><![CDATA[null hash, invalid]]></DataTag>
    <Description><![CDATA[Compared values are not the same
   Actual   (actual)  : QVariant(QVariantHash)
   Expected (expected): QVariant()]]></Description>
</Incident>
<Incident type="fail" file="tst_cmptest.cpp" line="219">
    <DataTag><![CDATA[string, null user type]]></DataTag>
    <Description><![CDATA[Compared values are not the same
   Actual   (actual)  : QVariant(QString,A simple string)
   Expected (expected): QVariant(PhonyClass)]]></Description>
</Incident>
<Incident type="fail" file="tst_cmptest.cpp" line="219">
    <DataTag><![CDATA[both non-null user type]]></DataTag>
    <Description><![CDATA[Compared values are not the same
   Actual   (actual)  : QVariant(PhonyClass,<value not representable as string>)
   Expected (expected): QVariant(PhonyClass,<value not representable as string>)]]></Description>
</Incident>
<Duration msecs="0"/>
</TestFunction>
<TestFunction name="compareQStringLists">
<Incident type="pass" file="" line="0">
    <DataTag><![CDATA[empty lists]]></DataTag>
</Incident>
<Incident type="pass" file="" line="0">
    <DataTag><![CDATA[equal lists]]></DataTag>
</Incident>
<Incident type="fail" file="tst_cmptest.cpp" line="313">
    <DataTag><![CDATA[last item different]]></DataTag>
    <Description><![CDATA[Compared lists differ at index 2.
   Actual   (opA): "string3"
   Expected (opB): "DIFFERS"]]></Description>
</Incident>
<Incident type="fail" file="tst_cmptest.cpp" line="313">
    <DataTag><![CDATA[second-last item different]]></DataTag>
    <Description><![CDATA[Compared lists differ at index 2.
   Actual   (opA): "string3"
   Expected (opB): "DIFFERS"]]></Description>
</Incident>
<Incident type="fail" file="tst_cmptest.cpp" line="313">
    <DataTag><![CDATA[prefix]]></DataTag>
    <Description><![CDATA[Compared lists have different sizes.
   Actual   (opA) size: 2
   Expected (opB) size: 1]]></Description>
</Incident>
<Incident type="fail" file="tst_cmptest.cpp" line="313">
    <DataTag><![CDATA[short list second]]></DataTag>
    <Description><![CDATA[Compared lists have different sizes.
   Actual   (opA) size: 12
   Expected (opB) size: 1]]></Description>
</Incident>
<Incident type="fail" file="tst_cmptest.cpp" line="313">
    <DataTag><![CDATA[short list first]]></DataTag>
    <Description><![CDATA[Compared lists have different sizes.
   Actual   (opA) size: 1
   Expected (opB) size: 12]]></Description>
</Incident>
<Duration msecs="0"/>
</TestFunction>
<TestFunction name="compareQListInt">
<Incident type="fail" file="tst_cmptest.cpp" line="320">
    <Description><![CDATA[Compared lists differ at index 2.
   Actual   (int1): 3
   Expected (int2): 4]]></Description>
</Incident>
<Duration msecs="0"/>
</TestFunction>
<TestFunction name="compareQListDouble">
<Incident type="fail" file="tst_cmptest.cpp" line="327">
    <Description><![CDATA[Compared lists differ at index 0.
   Actual   (double1): 1.5
   Expected (double2): 1]]></Description>
</Incident>
<Duration msecs="0"/>
</TestFunction>
<TestFunction name="compareQPixmaps">
<Incident type="pass" file="" line="0">
    <DataTag><![CDATA[both null]]></DataTag>
</Incident>
<Incident type="fail" file="tst_cmptest.cpp" line="353">
    <DataTag><![CDATA[one null]]></DataTag>
    <Description><![CDATA[Compared QPixmaps differ.
   Actual   (opA).isNull(): 1
   Expected (opB).isNull(): 0]]></Description>
</Incident>
<Incident type="fail" file="tst_cmptest.cpp" line="353">
    <DataTag><![CDATA[other null]]></DataTag>
    <Description><![CDATA[Compared QPixmaps differ.
   Actual   (opA).isNull(): 0
   Expected (opB).isNull(): 1]]></Description>
</Incident>
<Incident type="pass" file="" line="0">
    <DataTag><![CDATA[equal]]></DataTag>
</Incident>
<Incident type="fail" file="tst_cmptest.cpp" line="353">
    <DataTag><![CDATA[different size]]></DataTag>
    <Description><![CDATA[Compared QPixmaps differ in size.
   Actual   (opA): 11x20
   Expected (opB): 20x20]]></Description>
</Incident>
<Incident type="fail" file="tst_cmptest.cpp" line="353">
    <DataTag><![CDATA[different pixels]]></DataTag>
    <Description><![CDATA[Compared values are not the same]]></Description>
</Incident>
<Duration msecs="0"/>
</TestFunction>
<TestFunction name="compareQImages">
<Incident type="pass" file="" line="0">
    <DataTag><![CDATA[both null]]></DataTag>
</Incident>
<Incident type="fail" file="tst_cmptest.cpp" line="380">
    <DataTag><![CDATA[one null]]></DataTag>
    <Description><![CDATA[Compared QImages differ.
   Actual   (opA).isNull(): 1
   Expected (opB).isNull(): 0]]></Description>
</Incident>
<Incident type="fail" file="tst_cmptest.cpp" line="380">
    <DataTag><![CDATA[other null]]></DataTag>
    <Description><![CDATA[Compared QImages differ.
   Actual   (opA).isNull(): 0
   Expected (opB).isNull(): 1]]></Description>
</Incident>
<Incident type="pass" file="" line="0">
    <DataTag><![CDATA[equal]]></DataTag>
</Incident>
<Incident type="fail" file="tst_cmptest.cpp" line="380">
    <DataTag><![CDATA[different size]]></DataTag>
    <Description><![CDATA[Compared QImages differ in size.
   Actual   (opA): 11x20
   Expected (opB): 20x20]]></Description>
</Incident>
<Incident type="fail" file="tst_cmptest.cpp" line="380">
    <DataTag><![CDATA[different format]]></DataTag>
    <Description><![CDATA[Compared QImages differ in format.
   Actual   (opA): 6
   Expected (opB): 3]]></Description>
</Incident>
<Incident type="fail" file="tst_cmptest.cpp" line="380">
    <DataTag><![CDATA[different pixels]]></DataTag>
    <Description><![CDATA[Compared values are not the same]]></Description>
</Incident>
<Duration msecs="0"/>
</TestFunction>
<TestFunction name="cleanupTestCase">
<Incident type="pass" file="" line="0" />
<Duration msecs="0"/>
</TestFunction>
<Duration msecs="0"/>