2018-03-01 16:06:23 +00:00
|
|
|
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
|
2021-08-16 15:43:00 +00:00
|
|
|
# test3 test3 data0
|
|
|
|
# test3 end
|
2018-03-01 16:06:23 +00:00
|
|
|
# cleanup test3 data0
|
|
|
|
ok 6 - test3(data0)
|
|
|
|
# init test3 data1
|
2021-08-16 15:43:00 +00:00
|
|
|
# test3 test3 data1
|
2018-03-01 16:06:23 +00:00
|
|
|
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)
|
2020-07-22 11:33:55 +00:00
|
|
|
at: tst_Subtest::test3() (qtbase/tests/auto/testlib/selftests/subtest/tst_subtest.cpp:0)
|
2018-03-01 16:06:23 +00:00
|
|
|
file: qtbase/tests/auto/testlib/selftests/subtest/tst_subtest.cpp
|
2020-07-22 11:33:55 +00:00
|
|
|
line: 0
|
2018-03-01 16:06:23 +00:00
|
|
|
...
|
|
|
|
# cleanup test3 data1
|
|
|
|
# init test3 data2
|
2021-08-16 15:43:00 +00:00
|
|
|
# test3 test3 data2
|
2018-03-01 16:06:23 +00:00
|
|
|
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)
|
2020-07-22 11:33:55 +00:00
|
|
|
at: tst_Subtest::test3() (qtbase/tests/auto/testlib/selftests/subtest/tst_subtest.cpp:0)
|
2018-03-01 16:06:23 +00:00
|
|
|
file: qtbase/tests/auto/testlib/selftests/subtest/tst_subtest.cpp
|
2020-07-22 11:33:55 +00:00
|
|
|
line: 0
|
2018-03-01 16:06:23 +00:00
|
|
|
...
|
|
|
|
# cleanup test3 data2
|
2021-08-16 15:43:00 +00:00
|
|
|
# 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 10 - 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 11 - 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 12 - 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 13 - 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 14 - 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 15 - 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 16 - 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 17 - 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 18 - 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 19 - 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)
|
2018-03-01 16:06:23 +00:00
|
|
|
# cleanupTestCase cleanupTestCase (null)
|
2021-08-16 15:43:00 +00:00
|
|
|
ok 20 - cleanupTestCase()
|
|
|
|
1..20
|
|
|
|
# tests 20
|
2018-03-01 16:06:23 +00:00
|
|
|
# pass 7
|
2021-08-16 15:43:00 +00:00
|
|
|
# fail 13
|