2018-03-01 16:06:23 +00:00
|
|
|
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)
|
2020-07-22 11:33:55 +00:00
|
|
|
at: tst_Counting::testPassFail() (qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp:0)
|
2018-03-01 16:06:23 +00:00
|
|
|
file: qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp
|
2020-07-22 11:33:55 +00:00
|
|
|
line: 0
|
2018-03-01 16:06:23 +00:00
|
|
|
...
|
|
|
|
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)
|
2020-07-22 11:33:55 +00:00
|
|
|
at: tst_Counting::testSkipFail() (qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp:0)
|
2018-03-01 16:06:23 +00:00
|
|
|
file: qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp
|
2020-07-22 11:33:55 +00:00
|
|
|
line: 0
|
2018-03-01 16:06:23 +00:00
|
|
|
...
|
|
|
|
# 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)
|
2020-07-22 11:33:55 +00:00
|
|
|
at: tst_Counting::testFailPass() (qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp:0)
|
2018-03-01 16:06:23 +00:00
|
|
|
file: qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp
|
2020-07-22 11:33:55 +00:00
|
|
|
line: 0
|
2018-03-01 16:06:23 +00:00
|
|
|
...
|
|
|
|
# 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)
|
2020-07-22 11:33:55 +00:00
|
|
|
at: tst_Counting::testFailSkip() (qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp:0)
|
2018-03-01 16:06:23 +00:00
|
|
|
file: qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp
|
2020-07-22 11:33:55 +00:00
|
|
|
line: 0
|
2018-03-01 16:06:23 +00:00
|
|
|
...
|
|
|
|
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)
|
2020-07-22 11:33:55 +00:00
|
|
|
at: tst_Counting::testFailFail() (qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp:0)
|
2018-03-01 16:06:23 +00:00
|
|
|
file: qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp
|
2020-07-22 11:33:55 +00:00
|
|
|
line: 0
|
2018-03-01 16:06:23 +00:00
|
|
|
...
|
|
|
|
# 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)
|
2020-07-22 11:33:55 +00:00
|
|
|
at: tst_Counting::testFailFail() (qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp:0)
|
2018-03-01 16:06:23 +00:00
|
|
|
file: qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp
|
2020-07-22 11:33:55 +00:00
|
|
|
line: 0
|
2018-03-01 16:06:23 +00:00
|
|
|
...
|
|
|
|
ok 20 - testFailInInit(before)
|
|
|
|
not ok 21 - testFailInInit(fail)
|
|
|
|
---
|
|
|
|
# Fail in init()
|
2020-07-22 11:33:55 +00:00
|
|
|
at: tst_Counting::testFailInInit() (qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp:0)
|
2018-03-01 16:06:23 +00:00
|
|
|
file: qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp
|
2020-07-22 11:33:55 +00:00
|
|
|
line: 0
|
2018-03-01 16:06:23 +00:00
|
|
|
...
|
|
|
|
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()
|
2020-07-22 11:33:55 +00:00
|
|
|
at: tst_Counting::testFailInCleanup() (qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp:0)
|
2018-03-01 16:06:23 +00:00
|
|
|
file: qtbase/tests/auto/testlib/selftests/counting/tst_counting.cpp
|
2020-07-22 11:33:55 +00:00
|
|
|
line: 0
|
2018-03-01 16:06:23 +00:00
|
|
|
...
|
|
|
|
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
|