qt5base-lts/tests/auto/testlib/selftests/expected_subtest.tap
Edward Welbourne ac38401d31 Move TAP's messages block to after the primary report details
In the process, split it from its comments block and don't bother with
a YAML block if it would only have contained comments.

Task-number: QTBUG-96844
Change-Id: I08c20f796252bb270ba9caa4c055cdcc0843a88b
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2022-03-29 22:21:58 +02:00

243 lines
7.0 KiB
Plaintext

TAP version 13
# tst_Subtest
ok 1 - initTestCase()
---
extensions:
messages:
- severity: debug
message: initTestCase initTestCase (null)
...
ok 2 - test1()
---
extensions:
messages:
- severity: debug
message: init test1 (null)
- severity: debug
message: test1 test1 (null)
- severity: debug
message: cleanup test1 (null)
...
ok 2 - test2() # Data prepared
---
extensions:
messages:
- severity: debug
message: test2_data test2 (null)
- severity: debug
message: test2_data end
...
ok 3 - test2(data0)
---
extensions:
messages:
- severity: debug
message: init test2 data0
- severity: debug
message: test2 test2 data0
- severity: debug
message: test2 end
- severity: debug
message: cleanup test2 data0
...
ok 4 - test2(data1)
---
extensions:
messages:
- severity: debug
message: init test2 data1
- severity: debug
message: test2 test2 data1
- severity: debug
message: test2 end
- severity: debug
message: cleanup test2 data1
...
ok 5 - test2(data2)
---
extensions:
messages:
- severity: debug
message: init test2 data2
- severity: debug
message: test2 test2 data2
- severity: debug
message: test2 end
- severity: debug
message: cleanup test2 data2
...
ok 5 - test3() # Data prepared
---
extensions:
messages:
- severity: debug
message: test3_data test3 (null)
- severity: debug
message: test3_data end
...
ok 6 - test3(data0)
---
extensions:
messages:
- severity: debug
message: init test3 data0
- severity: debug
message: test3 test3 data0
- severity: debug
message: test3 end
- severity: debug
message: cleanup test3 data0
...
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
extensions:
messages:
- severity: debug
message: init test3 data1
- severity: debug
message: test3 test3 data1
...
# debug: cleanup test3 data1
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
extensions:
messages:
- severity: debug
message: init test3 data2
- severity: debug
message: test3 test3 data2
...
# debug: cleanup test3 data2
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
extensions:
messages:
- severity: debug
message: 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()
---
# 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
...
# debug: cleanup multiFail (null)
ok 10 - multiSkip() # SKIP This skip should be repeated ten times
---
at: tst_Subtest::multiSkip() (qtbase/tests/auto/testlib/selftests/subtest/tst_subtest.cpp:0)
file: qtbase/tests/auto/testlib/selftests/subtest/tst_subtest.cpp
line: 0
extensions:
messages:
- severity: debug
message: 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 But this test should only contribute one to the skip count
# debug: cleanup multiSkip (null)
ok 11 - cleanupTestCase()
---
extensions:
messages:
- severity: debug
message: cleanupTestCase cleanupTestCase (null)
...
1..11
# tests 11
# pass 7
# fail 3