blob: 7e6a7280a45f3e34256a6334bfe9d18931ee5091 (
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
|
TAP version 13
# tst_Counting
ok 1 - initTestCase()
# QVERIFY(true)
# QCOMPARE(2 + 1, 3)
ok 2 - testPassPass(row 1)
# QVERIFY(true)
# QCOMPARE(2 + 1, 3)
ok 3 - testPassPass(row 2)
# QVERIFY(true)
# QCOMPARE(2 + 1, 3)
ok 4 - testPassSkip(row 1)
ok 5 - testPassSkip(row 2) # SKIP Skipping
# QVERIFY(true)
# QCOMPARE(2 + 1, 3)
ok 6 - testPassFail(row 1)
# QVERIFY(false)
not ok 7 - testPassFail(row 2)
---
type: QVERIFY
message: Verification failed
wanted: true (false)
found: false (false)
expected: true (false)
actual: false (false)
at: tst_Counting::testPassFail() (qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp:102)
file: qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp
line: 102
...
ok 8 - testSkipPass(row 1) # SKIP Skipping
# QVERIFY(true)
# QCOMPARE(2 + 1, 3)
ok 9 - testSkipPass(row 2)
ok 10 - testSkipSkip(row 1) # SKIP Skipping
ok 11 - testSkipSkip(row 2) # SKIP Skipping
ok 12 - testSkipFail(row 1) # SKIP Skipping
# QVERIFY(false)
not ok 13 - testSkipFail(row 2)
---
type: QVERIFY
message: Verification failed
wanted: true (false)
found: false (false)
expected: true (false)
actual: false (false)
at: tst_Counting::testSkipFail() (qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp:102)
file: qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp
line: 102
...
# QVERIFY(false)
not ok 14 - testFailPass(row 1)
---
type: QVERIFY
message: Verification failed
wanted: true (false)
found: false (false)
expected: true (false)
actual: false (false)
at: tst_Counting::testFailPass() (qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp:102)
file: qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp
line: 102
...
# QVERIFY(true)
# QCOMPARE(2 + 1, 3)
ok 15 - testFailPass(row 2)
# QVERIFY(false)
not ok 16 - testFailSkip(row 1)
---
type: QVERIFY
message: Verification failed
wanted: true (false)
found: false (false)
expected: true (false)
actual: false (false)
at: tst_Counting::testFailSkip() (qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp:102)
file: qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp
line: 102
...
ok 17 - testFailSkip(row 2) # SKIP Skipping
# QVERIFY(false)
not ok 18 - testFailFail(row 1)
---
type: QVERIFY
message: Verification failed
wanted: true (false)
found: false (false)
expected: true (false)
actual: false (false)
at: tst_Counting::testFailFail() (qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp:102)
file: qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp
line: 102
...
# QVERIFY(false)
not ok 19 - testFailFail(row 2)
---
type: QVERIFY
message: Verification failed
wanted: true (false)
found: false (false)
expected: true (false)
actual: false (false)
at: tst_Counting::testFailFail() (qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp:102)
file: qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp
line: 102
...
ok 20 - testFailInInit(before)
not ok 21 - testFailInInit(fail)
---
# Fail in init()
at: tst_Counting::testFailInInit() (qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp:221)
file: qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp
line: 221
...
ok 22 - testFailInInit(after)
ok 23 - testFailInCleanup(before)
# This test function should execute and then QFAIL in cleanup()
not ok 24 - testFailInCleanup(fail)
---
# Fail in cleanup()
at: tst_Counting::testFailInCleanup() (qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp:229)
file: qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp
line: 229
...
ok 25 - testFailInCleanup(after)
ok 26 - testSkipInInit(before)
ok 27 - testSkipInInit(skip) # SKIP Skip in init()
ok 28 - testSkipInInit(after)
ok 29 - testSkipInCleanup(before)
# This test function should execute and then QSKIP in cleanup()
ok 30 - testSkipInCleanup(skip) # SKIP Skip in cleanup()
ok 31 - testSkipInCleanup(after)
ok 32 - cleanupTestCase()
1..32
# tests 32
# pass 16
# fail 8
|