1
********* Start testing of tst_Cmptest *********
2
Config: Using QtTest library
3
PASS : tst_Cmptest::initTestCase()
4
FAIL! : tst_Cmptest::compare_unregistered_enums() Compared values are not the same
5
Loc: [tst_cmptest.cpp(158)]
6
FAIL! : tst_Cmptest::compare_registered_enums() Compared values are not the same
7
Actual (Qt::Monday): Monday
8
Expected (Qt::Sunday): Sunday
9
Loc: [tst_cmptest.cpp(165)]
10
FAIL! : tst_Cmptest::compare_class_enums() Compared values are not the same
11
Actual (MyClassEnum::MyClassEnumValue1): MyClassEnumValue1
12
Expected (MyClassEnum::MyClassEnumValue2): MyClassEnumValue2
13
Loc: [tst_cmptest.cpp(171)]
14
PASS : tst_Cmptest::compare_boolfuncs()
15
PASS : tst_Cmptest::compare_pointerfuncs()
16
FAIL! : tst_Cmptest::compare_tostring(int, string) Compared values are not the same
17
Actual (actual) : QVariant(int,123)
18
Expected (expected): QVariant(QString,hi)
19
Loc: [tst_cmptest.cpp(242)]
20
PASS : tst_Cmptest::compare_tostring(both invalid)
21
FAIL! : tst_Cmptest::compare_tostring(null hash, invalid) Compared values are not the same
22
Actual (actual) : QVariant(QVariantHash)
23
Expected (expected): QVariant()
24
Loc: [tst_cmptest.cpp(242)]
25
FAIL! : tst_Cmptest::compare_tostring(string, null user type) Compared values are not the same
26
Actual (actual) : QVariant(QString,A simple string)
27
Expected (expected): QVariant(PhonyClass)
28
Loc: [tst_cmptest.cpp(242)]
29
FAIL! : tst_Cmptest::compare_tostring(both non-null user type) Compared values are not the same
30
Actual (actual) : QVariant(PhonyClass,<value not representable as string>)
31
Expected (expected): QVariant(PhonyClass,<value not representable as string>)
32
Loc: [tst_cmptest.cpp(242)]
33
PASS : tst_Cmptest::compareQStringLists(empty lists)
34
PASS : tst_Cmptest::compareQStringLists(equal lists)
35
FAIL! : tst_Cmptest::compareQStringLists(last item different) Compared lists differ at index 2.
36
Actual (opA): "string3"
37
Expected (opB): "DIFFERS"
38
Loc: [tst_cmptest.cpp(336)]
39
FAIL! : tst_Cmptest::compareQStringLists(second-last item different) Compared lists differ at index 2.
40
Actual (opA): "string3"
41
Expected (opB): "DIFFERS"
42
Loc: [tst_cmptest.cpp(336)]
43
FAIL! : tst_Cmptest::compareQStringLists(prefix) Compared lists have different sizes.
45
Expected (opB) size: 1
46
Loc: [tst_cmptest.cpp(336)]
47
FAIL! : tst_Cmptest::compareQStringLists(short list second) Compared lists have different sizes.
49
Expected (opB) size: 1
50
Loc: [tst_cmptest.cpp(336)]
51
FAIL! : tst_Cmptest::compareQStringLists(short list first) Compared lists have different sizes.
53
Expected (opB) size: 12
54
Loc: [tst_cmptest.cpp(336)]
55
FAIL! : tst_Cmptest::compareQListInt() Compared lists differ at index 2.
58
Loc: [tst_cmptest.cpp(343)]
59
FAIL! : tst_Cmptest::compareQListDouble() Compared lists differ at index 0.
62
Loc: [tst_cmptest.cpp(350)]
63
FAIL! : tst_Cmptest::compareQColor() Compared values are not the same
64
Actual (yellow): #ffff00
65
Expected (green) : #00ff00
66
Loc: [tst_cmptest.cpp(360)]
67
PASS : tst_Cmptest::compareQPixmaps(both null)
68
FAIL! : tst_Cmptest::compareQPixmaps(one null) Compared QPixmaps differ.
69
Actual (opA).isNull(): 1
70
Expected (opB).isNull(): 0
71
Loc: [tst_cmptest.cpp(385)]
72
FAIL! : tst_Cmptest::compareQPixmaps(other null) Compared QPixmaps differ.
73
Actual (opA).isNull(): 0
74
Expected (opB).isNull(): 1
75
Loc: [tst_cmptest.cpp(385)]
76
PASS : tst_Cmptest::compareQPixmaps(equal)
77
FAIL! : tst_Cmptest::compareQPixmaps(different size) Compared QPixmaps differ in size.
80
Loc: [tst_cmptest.cpp(385)]
81
FAIL! : tst_Cmptest::compareQPixmaps(different pixels) Compared values are not the same
82
Loc: [tst_cmptest.cpp(385)]
83
PASS : tst_Cmptest::compareQImages(both null)
84
FAIL! : tst_Cmptest::compareQImages(one null) Compared QImages differ.
85
Actual (opA).isNull(): 1
86
Expected (opB).isNull(): 0
87
Loc: [tst_cmptest.cpp(412)]
88
FAIL! : tst_Cmptest::compareQImages(other null) Compared QImages differ.
89
Actual (opA).isNull(): 0
90
Expected (opB).isNull(): 1
91
Loc: [tst_cmptest.cpp(412)]
92
PASS : tst_Cmptest::compareQImages(equal)
93
FAIL! : tst_Cmptest::compareQImages(different size) Compared QImages differ in size.
96
Loc: [tst_cmptest.cpp(412)]
97
FAIL! : tst_Cmptest::compareQImages(different format) Compared QImages differ in format.
100
Loc: [tst_cmptest.cpp(412)]
101
FAIL! : tst_Cmptest::compareQImages(different pixels) Compared values are not the same
102
Loc: [tst_cmptest.cpp(412)]
103
PASS : tst_Cmptest::compareQRegion(equal-empty)
104
FAIL! : tst_Cmptest::compareQRegion(1-empty) Compared values are not the same
105
Actual (rA): QRegion(200x50+10+10)
106
Expected (rB): QRegion(null)
107
Loc: [tst_cmptest.cpp(435)]
108
PASS : tst_Cmptest::compareQRegion(equal)
109
FAIL! : tst_Cmptest::compareQRegion(different lists) Compared values are not the same
110
Actual (rA): QRegion(200x50+10+10)
111
Expected (rB): QRegion(2 rectangles, 50x200+100+200, 200x50+10+10)
112
Loc: [tst_cmptest.cpp(435)]
113
FAIL! : tst_Cmptest::verify() 'opaqueFunc() < 2' returned FALSE. ()
114
Loc: [tst_cmptest.cpp(447)]
115
FAIL! : tst_Cmptest::verify2() 'opaqueFunc() < 2' returned FALSE. (42)
116
Loc: [tst_cmptest.cpp(453)]
117
FAIL! : tst_Cmptest::tryVerify() 'opaqueFunc() < 2' returned FALSE. ()
118
Loc: [tst_cmptest.cpp(459)]
119
FAIL! : tst_Cmptest::tryVerify2() 'opaqueFunc() < 2' returned FALSE. (42)
120
Loc: [tst_cmptest.cpp(465)]
121
PASS : tst_Cmptest::cleanupTestCase()
122
Totals: 13 passed, 30 failed, 0 skipped, 0 blacklisted, 246ms
123
********* Finished testing of tst_Cmptest *********