7d60fde9a7
When producing a diagnostics block, include the file and line information, if we have it, to describe it. This presently only adds this information for skip, but could in principle do the same for a B?XPass. Task-number: QTBUG-96844 Change-Id: I6cc375d98e2369eba262010f9c2dfbcba931a6f1 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
160 lines
4.5 KiB
Plaintext
160 lines
4.5 KiB
Plaintext
TAP version 13
|
|
# tst_Counting
|
|
ok 1 - initTestCase()
|
|
ok 2 - testPassPass(row 1)
|
|
---
|
|
# inform: QVERIFY(true)
|
|
# inform: QCOMPARE(2 + 1, 3)
|
|
...
|
|
ok 3 - testPassPass(row 2)
|
|
---
|
|
# inform: QVERIFY(true)
|
|
# inform: QCOMPARE(2 + 1, 3)
|
|
...
|
|
ok 4 - testPassSkip(row 1)
|
|
---
|
|
# inform: QVERIFY(true)
|
|
# inform: QCOMPARE(2 + 1, 3)
|
|
...
|
|
ok 5 - testPassSkip(row 2) # SKIP Skipping
|
|
ok 6 - testPassFail(row 1)
|
|
---
|
|
# inform: QVERIFY(true)
|
|
# inform: QCOMPARE(2 + 1, 3)
|
|
...
|
|
not ok 7 - testPassFail(row 2)
|
|
---
|
|
# inform: QVERIFY(false)
|
|
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:0)
|
|
file: qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp
|
|
line: 0
|
|
...
|
|
ok 8 - testSkipPass(row 1) # SKIP Skipping
|
|
ok 9 - testSkipPass(row 2)
|
|
---
|
|
# inform: QVERIFY(true)
|
|
# inform: QCOMPARE(2 + 1, 3)
|
|
...
|
|
ok 10 - testSkipSkip(row 1) # SKIP Skipping
|
|
ok 11 - testSkipSkip(row 2) # SKIP Skipping
|
|
ok 12 - testSkipFail(row 1) # SKIP Skipping
|
|
not ok 13 - testSkipFail(row 2)
|
|
---
|
|
# inform: QVERIFY(false)
|
|
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:0)
|
|
file: qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp
|
|
line: 0
|
|
...
|
|
not ok 14 - testFailPass(row 1)
|
|
---
|
|
# inform: QVERIFY(false)
|
|
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:0)
|
|
file: qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp
|
|
line: 0
|
|
...
|
|
ok 15 - testFailPass(row 2)
|
|
---
|
|
# inform: QVERIFY(true)
|
|
# inform: QCOMPARE(2 + 1, 3)
|
|
...
|
|
not ok 16 - testFailSkip(row 1)
|
|
---
|
|
# inform: QVERIFY(false)
|
|
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:0)
|
|
file: qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp
|
|
line: 0
|
|
...
|
|
ok 17 - testFailSkip(row 2) # SKIP Skipping
|
|
not ok 18 - testFailFail(row 1)
|
|
---
|
|
# inform: QVERIFY(false)
|
|
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:0)
|
|
file: qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp
|
|
line: 0
|
|
...
|
|
not ok 19 - testFailFail(row 2)
|
|
---
|
|
# inform: QVERIFY(false)
|
|
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:0)
|
|
file: qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp
|
|
line: 0
|
|
...
|
|
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:0)
|
|
file: qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp
|
|
line: 0
|
|
...
|
|
ok 22 - testFailInInit(after)
|
|
ok 23 - testFailInCleanup(before)
|
|
not ok 24 - testFailInCleanup(fail)
|
|
---
|
|
extensions:
|
|
messages:
|
|
- severity: debug
|
|
message: This test function should execute and then QFAIL in cleanup()
|
|
# Fail in cleanup()
|
|
at: tst_Counting::testFailInCleanup() (qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp:0)
|
|
file: qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp
|
|
line: 0
|
|
...
|
|
ok 25 - testFailInCleanup(after)
|
|
ok 26 - testSkipInInit(before)
|
|
ok 27 - testSkipInInit(skip) # SKIP Skip in init()
|
|
ok 28 - testSkipInInit(after)
|
|
ok 29 - testSkipInCleanup(before)
|
|
ok 30 - testSkipInCleanup(skip) # SKIP Skip in cleanup()
|
|
---
|
|
extensions:
|
|
messages:
|
|
- severity: debug
|
|
message: This test function should execute and then QSKIP in cleanup()
|
|
at: tst_Counting::testSkipInCleanup() (qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp:0)
|
|
file: qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp
|
|
line: 0
|
|
...
|
|
ok 31 - testSkipInCleanup(after)
|
|
ok 32 - cleanupTestCase()
|
|
1..32
|
|
# tests 32
|
|
# pass 16
|
|
# fail 8
|