summaryrefslogtreecommitdiffstats
path: root/tests/auto/testlib/selftests/expected_subtest.tap
blob: ee6948723313cf0268de7d300a83535476d6e4b3 (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
TAP version 13
# tst_Subtest
# initTestCase initTestCase (null)
ok 1 - initTestCase()
# init test1 (null)
# test1 test1 (null)
# cleanup test1 (null)
ok 2 - test1()
# test2_data test2 (null)
# test2_data end
# init test2 data0
# test2 test2 data0
# test2 end
# cleanup test2 data0
ok 3 - test2(data0)
# init test2 data1
# test2 test2 data1
# test2 end
# cleanup test2 data1
ok 4 - test2(data1)
# init test2 data2
# test2 test2 data2
# test2 end
# cleanup test2 data2
ok 5 - test2(data2)
# test3_data test3 (null)
# test3_data end
# init test3 data0
# test3 test3 data0
# test3 end
# cleanup test3 data0
ok 6 - test3(data0)
# init test3 data1
# test3 test3 data1
not ok 7 - test3(data1)
  ---
  type: QCOMPARE
  message: Compared values are not the same
  wanted: "hello0" (QString("hello0"))
  found: "hello1" (str)
  expected: "hello0" (QString("hello0"))
  actual: "hello1" (str)
  at: tst_Subtest::test3() (qtbase/tests/auto/testlib/selftests/subtest/tst_subtest.cpp:0)
  file: qtbase/tests/auto/testlib/selftests/subtest/tst_subtest.cpp
  line: 0
  ...
# cleanup test3 data1
# init test3 data2
# test3 test3 data2
not ok 8 - test3(data2)
  ---
  type: QCOMPARE
  message: Compared values are not the same
  wanted: "hello0" (QString("hello0"))
  found: "hello2" (str)
  expected: "hello0" (QString("hello0"))
  actual: "hello2" (str)
  at: tst_Subtest::test3() (qtbase/tests/auto/testlib/selftests/subtest/tst_subtest.cpp:0)
  file: qtbase/tests/auto/testlib/selftests/subtest/tst_subtest.cpp
  line: 0
  ...
# cleanup test3 data2
# init multiFail (null)
not ok 9 - multiFail()
  ---
  # This failure message should be repeated ten times
  at: tst_Subtest::multiFail() (qtbase/tests/auto/testlib/selftests/subtest/tst_subtest.cpp:0)
  file: qtbase/tests/auto/testlib/selftests/subtest/tst_subtest.cpp
  line: 0
  ...
not ok 9 - multiFail()
  ---
  # This failure message should be repeated ten times
  at: tst_Subtest::multiFail() (qtbase/tests/auto/testlib/selftests/subtest/tst_subtest.cpp:0)
  file: qtbase/tests/auto/testlib/selftests/subtest/tst_subtest.cpp
  line: 0
  ...
not ok 9 - multiFail()
  ---
  # This failure message should be repeated ten times
  at: tst_Subtest::multiFail() (qtbase/tests/auto/testlib/selftests/subtest/tst_subtest.cpp:0)
  file: qtbase/tests/auto/testlib/selftests/subtest/tst_subtest.cpp
  line: 0
  ...
not ok 9 - multiFail()
  ---
  # This failure message should be repeated ten times
  at: tst_Subtest::multiFail() (qtbase/tests/auto/testlib/selftests/subtest/tst_subtest.cpp:0)
  file: qtbase/tests/auto/testlib/selftests/subtest/tst_subtest.cpp
  line: 0
  ...
not ok 9 - multiFail()
  ---
  # This failure message should be repeated ten times
  at: tst_Subtest::multiFail() (qtbase/tests/auto/testlib/selftests/subtest/tst_subtest.cpp:0)
  file: qtbase/tests/auto/testlib/selftests/subtest/tst_subtest.cpp
  line: 0
  ...
not ok 9 - multiFail()
  ---
  # This failure message should be repeated ten times
  at: tst_Subtest::multiFail() (qtbase/tests/auto/testlib/selftests/subtest/tst_subtest.cpp:0)
  file: qtbase/tests/auto/testlib/selftests/subtest/tst_subtest.cpp
  line: 0
  ...
not ok 9 - multiFail()
  ---
  # This failure message should be repeated ten times
  at: tst_Subtest::multiFail() (qtbase/tests/auto/testlib/selftests/subtest/tst_subtest.cpp:0)
  file: qtbase/tests/auto/testlib/selftests/subtest/tst_subtest.cpp
  line: 0
  ...
not ok 9 - multiFail()
  ---
  # This failure message should be repeated ten times
  at: tst_Subtest::multiFail() (qtbase/tests/auto/testlib/selftests/subtest/tst_subtest.cpp:0)
  file: qtbase/tests/auto/testlib/selftests/subtest/tst_subtest.cpp
  line: 0
  ...
not ok 9 - multiFail()
  ---
  # This failure message should be repeated ten times
  at: tst_Subtest::multiFail() (qtbase/tests/auto/testlib/selftests/subtest/tst_subtest.cpp:0)
  file: qtbase/tests/auto/testlib/selftests/subtest/tst_subtest.cpp
  line: 0
  ...
not ok 9 - multiFail()
  ---
  # This failure message should be repeated ten times
  at: tst_Subtest::multiFail() (qtbase/tests/auto/testlib/selftests/subtest/tst_subtest.cpp:0)
  file: qtbase/tests/auto/testlib/selftests/subtest/tst_subtest.cpp
  line: 0
  ...
not ok 9 - multiFail()
  ---
  # But this test should only contribute one to the failure count
  at: tst_Subtest::multiFail() (qtbase/tests/auto/testlib/selftests/subtest/tst_subtest.cpp:0)
  file: qtbase/tests/auto/testlib/selftests/subtest/tst_subtest.cpp
  line: 0
  ...
# cleanup multiFail (null)
# init multiSkip (null)
ok 10 - multiSkip() # SKIP This skip should be repeated ten times
ok 10 - multiSkip() # SKIP This skip should be repeated ten times
ok 10 - multiSkip() # SKIP This skip should be repeated ten times
ok 10 - multiSkip() # SKIP This skip should be repeated ten times
ok 10 - multiSkip() # SKIP This skip should be repeated ten times
ok 10 - multiSkip() # SKIP This skip should be repeated ten times
ok 10 - multiSkip() # SKIP This skip should be repeated ten times
ok 10 - multiSkip() # SKIP This skip should be repeated ten times
ok 10 - multiSkip() # SKIP This skip should be repeated ten times
ok 10 - multiSkip() # SKIP This skip should be repeated ten times
ok 10 - multiSkip() # SKIP But this test should only contribute one to the skip count
# cleanup multiSkip (null)
# cleanupTestCase cleanupTestCase (null)
ok 11 - cleanupTestCase()
1..11
# tests 11
# pass 7
# fail 3