summaryrefslogtreecommitdiffstats
path: root/tests/auto/testlib/selftests/expected_cmptest.txt
blob: 527ec991bb11a828861c1574a34afa22514e83df (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
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
********* Start testing of tst_Cmptest *********
Config: Using QtTest library
PASS   : tst_Cmptest::initTestCase()
FAIL!  : tst_Cmptest::compare_unregistered_enums() Compared values are not the same
   Loc: [qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)]
FAIL!  : tst_Cmptest::compare_registered_enums() Compared values are not the same
   Actual   (Qt::Monday): Monday
   Expected (Qt::Sunday): Sunday
   Loc: [qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)]
FAIL!  : tst_Cmptest::compare_class_enums() Compared values are not the same
   Actual   (MyClassEnum::MyClassEnumValue1): MyClassEnumValue1
   Expected (MyClassEnum::MyClassEnumValue2): MyClassEnumValue2
   Loc: [qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)]
PASS   : tst_Cmptest::test_windowflags(pass)
FAIL!  : tst_Cmptest::test_windowflags(fail1) Compared values are not the same
   Actual   (actualWindowFlags)  : Window|WindowSystemMenuHint|WindowStaysOnBottomHint
   Expected (expectedWindowFlags): Window|FramelessWindowHint|WindowSystemMenuHint|WindowStaysOnBottomHint
   Loc: [qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)]
FAIL!  : tst_Cmptest::test_windowflags(fail2) Compared values are not the same
   Actual   (actualWindowFlags)  : Window
   Expected (expectedWindowFlags): Window|FramelessWindowHint
   Loc: [qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)]
PASS   : tst_Cmptest::test_unregistered_flags(pass)
FAIL!  : tst_Cmptest::test_unregistered_flags(fail1) Compared values are not the same
   Actual   (actualFlags)  : 0x3
   Expected (expectedFlags): 0x5
   Loc: [qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)]
FAIL!  : tst_Cmptest::test_unregistered_flags(fail2) Compared values are not the same
   Actual   (actualFlags)  : 0x1
   Expected (expectedFlags): 0x5
   Loc: [qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)]
PASS   : tst_Cmptest::compare_boolfuncs()
PASS   : tst_Cmptest::compare_to_nullptr()
PASS   : tst_Cmptest::compare_pointerfuncs()
FAIL!  : tst_Cmptest::compare_tostring(int, string) Compared values are not the same
   Actual   (actual)  : QVariant(int,123)
   Expected (expected): QVariant(QString,hi)
   Loc: [qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)]
PASS   : tst_Cmptest::compare_tostring(both invalid)
FAIL!  : tst_Cmptest::compare_tostring(null hash, invalid) Compared values are not the same
   Actual   (actual)  : QVariant(QVariantHash)
   Expected (expected): QVariant()
   Loc: [qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)]
FAIL!  : tst_Cmptest::compare_tostring(string, null user type) Compared values are not the same
   Actual   (actual)  : QVariant(QString,A simple string)
   Expected (expected): QVariant(PhonyClass)
   Loc: [qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)]
FAIL!  : tst_Cmptest::compare_tostring(both non-null user type) Compared values are not the same
   Actual   (actual)  : QVariant(PhonyClass,<value not representable as string>)
   Expected (expected): QVariant(PhonyClass,<value not representable as string>)
   Loc: [qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)]
PASS   : tst_Cmptest::compareQStringLists(empty lists)
PASS   : tst_Cmptest::compareQStringLists(equal lists)
FAIL!  : tst_Cmptest::compareQStringLists(last item different) Compared lists differ at index 2.
   Actual   (opA): "string3"
   Expected (opB): "DIFFERS"
   Loc: [qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)]
FAIL!  : tst_Cmptest::compareQStringLists(second-last item different) Compared lists differ at index 2.
   Actual   (opA): "string3"
   Expected (opB): "DIFFERS"
   Loc: [qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)]
FAIL!  : tst_Cmptest::compareQStringLists(prefix) Compared lists have different sizes.
   Actual   (opA) size: 2
   Expected (opB) size: 1
   Loc: [qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)]
FAIL!  : tst_Cmptest::compareQStringLists(short list second) Compared lists have different sizes.
   Actual   (opA) size: 12
   Expected (opB) size: 1
   Loc: [qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)]
FAIL!  : tst_Cmptest::compareQStringLists(short list first) Compared lists have different sizes.
   Actual   (opA) size: 1
   Expected (opB) size: 12
   Loc: [qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)]
PASS   : tst_Cmptest::compareQListInt(match)
FAIL!  : tst_Cmptest::compareQListInt(size mismatch) Compared lists have different sizes.
   Actual   (actual) size: 2
   Expected (expected) size: 3
   Loc: [qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)]
FAIL!  : tst_Cmptest::compareQListInt(value mismatch) Compared lists differ at index 2.
   Actual   (actual): 4
   Expected (expected): 3
   Loc: [qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)]
PASS   : tst_Cmptest::compareQListIntToArray(match)
FAIL!  : tst_Cmptest::compareQListIntToArray(size mismatch) Compared lists have different sizes.
   Actual   (actual) size: 2
   Expected (expected) size: 3
   Loc: [qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)]
FAIL!  : tst_Cmptest::compareQListIntToArray(value mismatch) Compared lists differ at index 2.
   Actual   (actual): 4
   Expected (expected): 3
   Loc: [qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)]
PASS   : tst_Cmptest::compareQListIntToInitializerList(match)
FAIL!  : tst_Cmptest::compareQListIntToInitializerList(size mismatch) Compared lists have different sizes.
   Actual   (actual) size: 2
   Expected (ARG({1, 2, 3})) size: 3
   Loc: [qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)]
FAIL!  : tst_Cmptest::compareQListIntToInitializerList(value mismatch) Compared lists differ at index 2.
   Actual   (actual): 4
   Expected (ARG({1, 2, 3})): 3
   Loc: [qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)]
FAIL!  : tst_Cmptest::compareQListDouble() Compared lists differ at index 0.
   Actual   (double1): 1.5
   Expected (double2): 1
   Loc: [qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)]
PASS   : tst_Cmptest::compareQColor(Qt::yellow vs "yellow")
FAIL!  : tst_Cmptest::compareQColor(Qt::yellow vs Qt::green) Compared values are not the same
   Actual   (colorA): #ffffff00
   Expected (colorB): #ff00ff00
   Loc: [qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)]
FAIL!  : tst_Cmptest::compareQColor(0x88ff0000 vs 0xffff0000) Compared values are not the same
   Actual   (colorA): #88ff0000
   Expected (colorB): #ffff0000
   Loc: [qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)]
PASS   : tst_Cmptest::compareQPixmaps(both null)
FAIL!  : tst_Cmptest::compareQPixmaps(one null) Compared QPixmaps differ.
   Actual   (opA).isNull(): 1
   Expected (opB).isNull(): 0
   Loc: [qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)]
FAIL!  : tst_Cmptest::compareQPixmaps(other null) Compared QPixmaps differ.
   Actual   (opA).isNull(): 0
   Expected (opB).isNull(): 1
   Loc: [qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)]
PASS   : tst_Cmptest::compareQPixmaps(equal)
FAIL!  : tst_Cmptest::compareQPixmaps(different size) Compared QPixmaps differ in size.
   Actual   (opA): 11x20
   Expected (opB): 20x20
   Loc: [qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)]
FAIL!  : tst_Cmptest::compareQPixmaps(different pixels) Compared values are not the same
   Loc: [qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)]
FAIL!  : tst_Cmptest::compareQPixmaps(different dpr) Compared QPixmaps differ in device pixel ratio.
   Actual   (opA): 1
   Expected (opB): 2
   Loc: [qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)]
PASS   : tst_Cmptest::compareQImages(both null)
FAIL!  : tst_Cmptest::compareQImages(one null) Compared QImages differ.
   Actual   (opA).isNull(): 1
   Expected (opB).isNull(): 0
   Loc: [qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)]
FAIL!  : tst_Cmptest::compareQImages(other null) Compared QImages differ.
   Actual   (opA).isNull(): 0
   Expected (opB).isNull(): 1
   Loc: [qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)]
PASS   : tst_Cmptest::compareQImages(equal)
FAIL!  : tst_Cmptest::compareQImages(different size) Compared QImages differ in size.
   Actual   (opA): 11x20
   Expected (opB): 20x20
   Loc: [qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)]
FAIL!  : tst_Cmptest::compareQImages(different format) Compared QImages differ in format.
   Actual   (opA): 6
   Expected (opB): 3
   Loc: [qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)]
FAIL!  : tst_Cmptest::compareQImages(different pixels) Compared values are not the same
   Loc: [qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)]
FAIL!  : tst_Cmptest::compareQImages(different dpr) Compared QImages differ in device pixel ratio.
   Actual   (opA): 1
   Expected (opB): 2
   Loc: [qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)]
PASS   : tst_Cmptest::compareQRegion(equal-empty)
FAIL!  : tst_Cmptest::compareQRegion(1-empty) Compared values are not the same
   Actual   (rA): QRegion(200x50+10+10)
   Expected (rB): QRegion(null)
   Loc: [qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)]
PASS   : tst_Cmptest::compareQRegion(equal)
FAIL!  : tst_Cmptest::compareQRegion(different lists) Compared values are not the same
   Actual   (rA): QRegion(200x50+10+10)
   Expected (rB): QRegion(2 rectangles, 50x200+100+200, 200x50+10+10)
   Loc: [qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)]
FAIL!  : tst_Cmptest::compareQVector2D() Compared values are not the same
   Actual   (v2a): QVector2D(1, 2)
   Expected (v2b): QVector2D(1, 3)
   Loc: [qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)]
FAIL!  : tst_Cmptest::compareQVector3D() Compared values are not the same
   Actual   (v3a): QVector3D(1, 2, 3)
   Expected (v3b): QVector3D(1, 3, 3)
   Loc: [qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)]
FAIL!  : tst_Cmptest::compareQVector4D() Compared values are not the same
   Actual   (v4a): QVector4D(1, 2, 3, 4)
   Expected (v4b): QVector4D(1, 3, 3, 4)
   Loc: [qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)]
FAIL!  : tst_Cmptest::verify() 'opaqueFunc() < 2' returned FALSE. ()
   Loc: [qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)]
FAIL!  : tst_Cmptest::verify2() 'opaqueFunc() < 2' returned FALSE. (42)
   Loc: [qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)]
FAIL!  : tst_Cmptest::tryVerify() 'opaqueFunc() < 2' returned FALSE. ()
   Loc: [qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)]
FAIL!  : tst_Cmptest::tryVerify2() 'opaqueFunc() < 2' returned FALSE. (42)
   Loc: [qtbase/tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp(0)]
PASS   : tst_Cmptest::verifyExplicitOperatorBool()
PASS   : tst_Cmptest::cleanupTestCase()
Totals: 21 passed, 45 failed, 0 skipped, 0 blacklisted, 0ms
********* Finished testing of tst_Cmptest *********