f1c16139e3
Change-Id: I6271ac1984a3829ba1c8dcc9d6419940cb89c62b Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
137 lines
4.0 KiB
Plaintext
137 lines
4.0 KiB
Plaintext
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)
|
|
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
|
|
# 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)
|
|
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
|
|
...
|
|
# 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)
|
|
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
|
|
...
|
|
# 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)
|
|
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
|
|
# 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)
|
|
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
|
|
...
|
|
# 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)
|
|
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)
|
|
# This test function should execute and then QFAIL in cleanup()
|
|
not ok 24 - testFailInCleanup(fail)
|
|
---
|
|
# 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)
|
|
# 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
|