Add some missing expected_*.tap files for the testlib selftest
Only for tests that have existing expected_*.* files for other formats, though. Change-Id: I34ca1900d88454f300e04d849a608c378009489b Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
This commit is contained in:
parent
c306fdff77
commit
d84912838c
15
tests/auto/testlib/selftests/expected_benchlibcallgrind.tap
Normal file
15
tests/auto/testlib/selftests/expected_benchlibcallgrind.tap
Normal file
@ -0,0 +1,15 @@
|
||||
TAP version 13
|
||||
# tst_BenchlibCallgrind
|
||||
TAP version 13
|
||||
# tst_BenchlibCallgrind
|
||||
ok 1 - initTestCase()
|
||||
ok 2 - twoHundredMillionInstructions() # SKIP This test is only defined for gcc and x86.
|
||||
ok 3 - cleanupTestCase()
|
||||
1..3
|
||||
# tests 3
|
||||
# pass 2
|
||||
# fail 0
|
||||
1..0
|
||||
# tests 0
|
||||
# pass 0
|
||||
# fail 0
|
27
tests/auto/testlib/selftests/expected_benchliboptions.tap
Normal file
27
tests/auto/testlib/selftests/expected_benchliboptions.tap
Normal file
@ -0,0 +1,27 @@
|
||||
TAP version 13
|
||||
# tst_BenchlibOptions
|
||||
ok 1 - initTestCase()
|
||||
ok 2 - threeEvents()
|
||||
ok 3 - cleanupTestCase()
|
||||
1..3
|
||||
# tests 3
|
||||
# pass 3
|
||||
# fail 0
|
||||
TAP version 13
|
||||
# tst_BenchlibFifteenIterations
|
||||
ok 1 - initTestCase()
|
||||
ok 2 - threeEvents()
|
||||
ok 3 - cleanupTestCase()
|
||||
1..3
|
||||
# tests 3
|
||||
# pass 3
|
||||
# fail 0
|
||||
TAP version 13
|
||||
# tst_BenchlibOneHundredMinimum
|
||||
ok 1 - initTestCase()
|
||||
ok 2 - threeEvents()
|
||||
ok 3 - cleanupTestCase()
|
||||
1..3
|
||||
# tests 3
|
||||
# pass 3
|
||||
# fail 0
|
44
tests/auto/testlib/selftests/expected_blacklisted.tap
Normal file
44
tests/auto/testlib/selftests/expected_blacklisted.tap
Normal file
@ -0,0 +1,44 @@
|
||||
TAP version 13
|
||||
# tst_Blacklisted
|
||||
ok 1 - initTestCase()
|
||||
ok 2 - pass() # TODO
|
||||
ok 3 - skip() # SKIP This test should SKIP
|
||||
not ok 4 - fail() # TODO 'false' returned FALSE. (This test should BFAIL)
|
||||
---
|
||||
type: QVERIFY
|
||||
message: This test should BFAIL
|
||||
wanted: true (false)
|
||||
found: false (false)
|
||||
expected: true (false)
|
||||
actual: false (false)
|
||||
at: tst_Blacklisted::fail() (qtbase/tests/auto/testlib/selftests/blacklisted/tst_blacklisted.cpp:62)
|
||||
file: qtbase/tests/auto/testlib/selftests/blacklisted/tst_blacklisted.cpp
|
||||
line: 62
|
||||
...
|
||||
not ok 4 - xfail() # TODO This test should BXFAIL then BPASS
|
||||
---
|
||||
# This test should BXFAIL then BPASS
|
||||
at: tst_Blacklisted::xfail() (qtbase/tests/auto/testlib/selftests/blacklisted/tst_blacklisted.cpp:68)
|
||||
file: qtbase/tests/auto/testlib/selftests/blacklisted/tst_blacklisted.cpp
|
||||
line: 68
|
||||
...
|
||||
ok 5 - xfail() # TODO
|
||||
ok 6 - xpass() # TODO 'true' returned TRUE unexpectedly. (This test should BXPASS)
|
||||
# This is a warning that should not appear in silent test output
|
||||
# This is an internal testlib warning that should not appear in silent test output
|
||||
# This is a debug message that should not appear in silent test output
|
||||
# This is a critical message that should not appear in silent test output
|
||||
# This is an info message that should not appear in silent test output
|
||||
# This is an internal testlib info message that should not appear in silent test output
|
||||
# This is a fatal error message that should still appear in silent test output
|
||||
not ok 7 - messages() # TODO Received a fatal error.
|
||||
---
|
||||
# Received a fatal error.
|
||||
at: tst_Blacklisted::messages() (Unknown file:0)
|
||||
file: Unknown file
|
||||
line: 0
|
||||
...
|
||||
1..7
|
||||
# tests 7
|
||||
# pass 1
|
||||
# fail 0
|
21
tests/auto/testlib/selftests/expected_differentexec.tap
Normal file
21
tests/auto/testlib/selftests/expected_differentexec.tap
Normal file
@ -0,0 +1,21 @@
|
||||
********* Start testing of tst_TestA *********
|
||||
Config: Using QtTest library
|
||||
PASS : tst_TestA::initTestCase()
|
||||
PASS : tst_TestA::slotName()
|
||||
PASS : tst_TestA::cleanupTestCase()
|
||||
Totals: 3 passed, 0 failed, 0 skipped, 0 blacklisted, 0ms
|
||||
********* Finished testing of tst_TestA *********
|
||||
********* Start testing of tst_TestA *********
|
||||
Config: Using QtTest library
|
||||
PASS : tst_TestA::initTestCase()
|
||||
PASS : tst_TestA::slotName()
|
||||
PASS : tst_TestA::cleanupTestCase()
|
||||
Totals: 3 passed, 0 failed, 0 skipped, 0 blacklisted, 0ms
|
||||
********* Finished testing of tst_TestA *********
|
||||
********* Start testing of tst_TestB *********
|
||||
Config: Using QtTest library
|
||||
PASS : tst_TestB::initTestCase()
|
||||
PASS : tst_TestB::slotName()
|
||||
PASS : tst_TestB::cleanupTestCase()
|
||||
Totals: 3 passed, 0 failed, 0 skipped, 0 blacklisted, 0ms
|
||||
********* Finished testing of tst_TestB *********
|
45
tests/auto/testlib/selftests/expected_multiexec.tap
Normal file
45
tests/auto/testlib/selftests/expected_multiexec.tap
Normal file
@ -0,0 +1,45 @@
|
||||
TAP version 13
|
||||
# tst_Nothing
|
||||
ok 1 - initTestCase()
|
||||
ok 2 - nothing()
|
||||
ok 3 - cleanupTestCase()
|
||||
1..3
|
||||
# tests 3
|
||||
# pass 3
|
||||
# fail 0
|
||||
TAP version 13
|
||||
# tst_Nothing
|
||||
ok 1 - initTestCase()
|
||||
ok 2 - nothing()
|
||||
ok 3 - cleanupTestCase()
|
||||
1..3
|
||||
# tests 3
|
||||
# pass 3
|
||||
# fail 0
|
||||
TAP version 13
|
||||
# tst_Nothing
|
||||
ok 1 - initTestCase()
|
||||
ok 2 - nothing()
|
||||
ok 3 - cleanupTestCase()
|
||||
1..3
|
||||
# tests 3
|
||||
# pass 3
|
||||
# fail 0
|
||||
TAP version 13
|
||||
# tst_Nothing
|
||||
ok 1 - initTestCase()
|
||||
ok 2 - nothing()
|
||||
ok 3 - cleanupTestCase()
|
||||
1..3
|
||||
# tests 3
|
||||
# pass 3
|
||||
# fail 0
|
||||
TAP version 13
|
||||
# tst_Nothing
|
||||
ok 1 - initTestCase()
|
||||
ok 2 - nothing()
|
||||
ok 3 - cleanupTestCase()
|
||||
1..3
|
||||
# tests 3
|
||||
# pass 3
|
||||
# fail 0
|
54
tests/auto/testlib/selftests/expected_qexecstringlist.tap
Normal file
54
tests/auto/testlib/selftests/expected_qexecstringlist.tap
Normal file
@ -0,0 +1,54 @@
|
||||
TAP version 13
|
||||
# tst_QExecStringList
|
||||
ok 1 - initTestCase()
|
||||
ok 2 - testA()
|
||||
ok 3 - testB(Data1)
|
||||
ok 4 - testB(Data2)
|
||||
ok 5 - testB(Data3)
|
||||
ok 6 - testC()
|
||||
ok 7 - cleanupTestCase()
|
||||
1..7
|
||||
# tests 7
|
||||
# pass 7
|
||||
# fail 0
|
||||
********* Start testing of tst_QExecStringList *********
|
||||
Config: Using QtTest library
|
||||
PASS : tst_QExecStringList::initTestCase()
|
||||
PASS : tst_QExecStringList::testA()
|
||||
PASS : tst_QExecStringList::testB(Data1)
|
||||
PASS : tst_QExecStringList::testB(Data2)
|
||||
PASS : tst_QExecStringList::testB(Data3)
|
||||
PASS : tst_QExecStringList::testC()
|
||||
PASS : tst_QExecStringList::cleanupTestCase()
|
||||
Totals: 7 passed, 0 failed, 0 skipped, 0 blacklisted, 0ms
|
||||
********* Finished testing of tst_QExecStringList *********
|
||||
********* Start testing of tst_QExecStringList *********
|
||||
Config: Using QtTest library
|
||||
PASS : tst_QExecStringList::initTestCase()
|
||||
PASS : tst_QExecStringList::testA()
|
||||
PASS : tst_QExecStringList::cleanupTestCase()
|
||||
Totals: 3 passed, 0 failed, 0 skipped, 0 blacklisted, 0ms
|
||||
********* Finished testing of tst_QExecStringList *********
|
||||
********* Start testing of tst_QExecStringList *********
|
||||
Config: Using QtTest library
|
||||
PASS : tst_QExecStringList::initTestCase()
|
||||
PASS : tst_QExecStringList::testB(Data1)
|
||||
PASS : tst_QExecStringList::testB(Data2)
|
||||
PASS : tst_QExecStringList::testB(Data3)
|
||||
PASS : tst_QExecStringList::cleanupTestCase()
|
||||
Totals: 5 passed, 0 failed, 0 skipped, 0 blacklisted, 0ms
|
||||
********* Finished testing of tst_QExecStringList *********
|
||||
********* Start testing of tst_QExecStringList *********
|
||||
Config: Using QtTest library
|
||||
PASS : tst_QExecStringList::initTestCase()
|
||||
PASS : tst_QExecStringList::testB(Data2)
|
||||
PASS : tst_QExecStringList::cleanupTestCase()
|
||||
Totals: 3 passed, 0 failed, 0 skipped, 0 blacklisted, 0ms
|
||||
********* Finished testing of tst_QExecStringList *********
|
||||
********* Start testing of tst_QExecStringList *********
|
||||
Config: Using QtTest library
|
||||
PASS : tst_QExecStringList::initTestCase()
|
||||
PASS : tst_QExecStringList::testC()
|
||||
PASS : tst_QExecStringList::cleanupTestCase()
|
||||
Totals: 3 passed, 0 failed, 0 skipped, 0 blacklisted, 0ms
|
||||
********* Finished testing of tst_QExecStringList *********
|
42
tests/auto/testlib/selftests/expected_silent.tap
Normal file
42
tests/auto/testlib/selftests/expected_silent.tap
Normal file
@ -0,0 +1,42 @@
|
||||
TAP version 13
|
||||
# tst_Silent
|
||||
ok 1 - initTestCase()
|
||||
ok 2 - pass()
|
||||
ok 3 - skip() # SKIP This test should skip
|
||||
not ok 4 - fail()
|
||||
---
|
||||
type: QVERIFY
|
||||
message: This test should fail
|
||||
wanted: true (false)
|
||||
found: false (false)
|
||||
expected: true (false)
|
||||
actual: false (false)
|
||||
at: tst_Silent::fail() (qtbase/tests/auto/testlib/selftests/silent/tst_silent.cpp:60)
|
||||
file: qtbase/tests/auto/testlib/selftests/silent/tst_silent.cpp
|
||||
line: 60
|
||||
...
|
||||
not ok 5 - xfail() # TODO This test should XFAIL
|
||||
---
|
||||
at: tst_Silent::xfail() (qtbase/tests/auto/testlib/selftests/silent/tst_silent.cpp:66)
|
||||
file: qtbase/tests/auto/testlib/selftests/silent/tst_silent.cpp
|
||||
line: 66
|
||||
...
|
||||
ok 6 - xpass() # TODO 'true' returned TRUE unexpectedly. (This test should XPASS)
|
||||
# This is a warning that should not appear in silent test output
|
||||
# This is an internal testlib warning that should not appear in silent test output
|
||||
# This is a debug message that should not appear in silent test output
|
||||
# This is a critical message that should not appear in silent test output
|
||||
# This is an info message that should not appear in silent test output
|
||||
# This is an internal testlib info message that should not appear in silent test output
|
||||
# This is a fatal error message that should still appear in silent test output
|
||||
not ok 7 - messages()
|
||||
---
|
||||
# Received a fatal error.
|
||||
at: tst_Silent::messages() (Unknown file:0)
|
||||
file: Unknown file
|
||||
line: 0
|
||||
...
|
||||
1..7
|
||||
# tests 7
|
||||
# pass 3
|
||||
# fail 3
|
Loading…
Reference in New Issue
Block a user