2018-03-01 16:06:23 +00:00
|
|
|
TAP version 13
|
|
|
|
# tst_Warnings
|
|
|
|
ok 1 - initTestCase()
|
|
|
|
# Warning
|
|
|
|
# Warning
|
|
|
|
# Debug
|
|
|
|
# Debug
|
|
|
|
# Info
|
|
|
|
# Info
|
|
|
|
# Baba
|
|
|
|
# Baba
|
|
|
|
# Bubublabla
|
|
|
|
# Babablabla
|
|
|
|
ok 2 - testWarnings()
|
|
|
|
# Did not receive message: "Warning0"
|
|
|
|
# Did not receive message: "Warning1"
|
|
|
|
not ok 3 - testMissingWarnings()
|
|
|
|
---
|
|
|
|
# Not all expected messages were received
|
|
|
|
...
|
|
|
|
# Did not receive any message matching: "Warning\s\d"
|
|
|
|
not ok 4 - testMissingWarningsRegularExpression()
|
|
|
|
---
|
|
|
|
# Not all expected messages were received
|
|
|
|
...
|
|
|
|
# Did not receive message: "Warning0"
|
|
|
|
# Did not receive message: "Warning1"
|
|
|
|
not ok 5 - testMissingWarningsWithData(first row)
|
|
|
|
---
|
|
|
|
# Not all expected messages were received
|
|
|
|
...
|
|
|
|
# Did not receive message: "Warning0"
|
|
|
|
# Did not receive message: "Warning1"
|
|
|
|
not ok 6 - testMissingWarningsWithData(second row)
|
|
|
|
---
|
|
|
|
# Not all expected messages were received
|
|
|
|
...
|
2021-10-08 11:58:27 +00:00
|
|
|
# Ran out of space!
|
|
|
|
not ok 7 - testFailOnWarnings()
|
|
|
|
---
|
|
|
|
# Received a warning that resulted in a failure:
|
|
|
|
Ran out of cabbage!
|
|
|
|
at: tst_Warnings::testFailOnWarnings() (qtbase/tests/auto/testlib/selftests/warnings/tst_warnings.cpp:0)
|
|
|
|
file: qtbase/tests/auto/testlib/selftests/warnings/tst_warnings.cpp
|
|
|
|
line: 0
|
|
|
|
...
|
|
|
|
# Ran out of tortillas!
|
|
|
|
# Ran out of oil!
|
|
|
|
# nope
|
2021-09-07 13:30:34 +00:00
|
|
|
not ok 7 - testFailOnWarnings()
|
2021-10-08 11:58:27 +00:00
|
|
|
---
|
|
|
|
# Received a warning that resulted in a failure:
|
|
|
|
Ran out of biscuits!
|
|
|
|
at: tst_Warnings::testFailOnWarnings() (qtbase/tests/auto/testlib/selftests/warnings/tst_warnings.cpp:0)
|
|
|
|
file: qtbase/tests/auto/testlib/selftests/warnings/tst_warnings.cpp
|
|
|
|
line: 0
|
|
|
|
...
|
2021-09-07 13:30:34 +00:00
|
|
|
not ok 7 - testFailOnWarnings()
|
2021-10-08 11:58:27 +00:00
|
|
|
---
|
|
|
|
# Received a warning that resulted in a failure:
|
|
|
|
Running low on toothpaste!
|
|
|
|
at: tst_Warnings::testFailOnWarnings() (qtbase/tests/auto/testlib/selftests/warnings/tst_warnings.cpp:0)
|
|
|
|
file: qtbase/tests/auto/testlib/selftests/warnings/tst_warnings.cpp
|
|
|
|
line: 0
|
|
|
|
...
|
|
|
|
# Running low on flour!
|
|
|
|
# Running low on toothpaste!
|
|
|
|
# Running low on toothpaste!
|
|
|
|
# Ran out of muffins!
|
2021-09-07 13:30:34 +00:00
|
|
|
ok 8 - testFailOnWarningsCleared()
|
|
|
|
not ok 9 - testFailOnWarningsWithData(warning1)
|
2021-10-08 11:58:27 +00:00
|
|
|
---
|
|
|
|
# Received a warning that resulted in a failure:
|
|
|
|
warning1
|
|
|
|
at: tst_Warnings::testFailOnWarningsWithData() (qtbase/tests/auto/testlib/selftests/warnings/tst_warnings.cpp:0)
|
|
|
|
file: qtbase/tests/auto/testlib/selftests/warnings/tst_warnings.cpp
|
|
|
|
line: 0
|
|
|
|
...
|
|
|
|
# warning2
|
|
|
|
# warning3
|
|
|
|
# warning1
|
2021-09-07 13:30:34 +00:00
|
|
|
not ok 10 - testFailOnWarningsWithData(warning2)
|
2021-10-08 11:58:27 +00:00
|
|
|
---
|
|
|
|
# Received a warning that resulted in a failure:
|
|
|
|
warning2
|
|
|
|
at: tst_Warnings::testFailOnWarningsWithData() (qtbase/tests/auto/testlib/selftests/warnings/tst_warnings.cpp:0)
|
|
|
|
file: qtbase/tests/auto/testlib/selftests/warnings/tst_warnings.cpp
|
|
|
|
line: 0
|
|
|
|
...
|
|
|
|
# warning3
|
|
|
|
# warning1
|
|
|
|
# warning2
|
2021-09-07 13:30:34 +00:00
|
|
|
not ok 11 - testFailOnWarningsWithData(warning3)
|
2021-10-08 11:58:27 +00:00
|
|
|
---
|
|
|
|
# Received a warning that resulted in a failure:
|
|
|
|
warning3
|
|
|
|
at: tst_Warnings::testFailOnWarningsWithData() (qtbase/tests/auto/testlib/selftests/warnings/tst_warnings.cpp:0)
|
|
|
|
file: qtbase/tests/auto/testlib/selftests/warnings/tst_warnings.cpp
|
|
|
|
line: 0
|
|
|
|
...
|
2021-09-07 13:30:34 +00:00
|
|
|
not ok 12 - testFailOnWarningsFailInHelper()
|
2021-10-08 11:58:27 +00:00
|
|
|
---
|
|
|
|
# This failure message should be printed but not cause the test to abort
|
|
|
|
at: tst_Warnings::testFailOnWarningsFailInHelper() (qtbase/tests/auto/testlib/selftests/warnings/tst_warnings.cpp:0)
|
|
|
|
file: qtbase/tests/auto/testlib/selftests/warnings/tst_warnings.cpp
|
|
|
|
line: 0
|
|
|
|
...
|
2021-09-07 13:30:34 +00:00
|
|
|
not ok 12 - testFailOnWarningsFailInHelper()
|
2021-10-08 11:58:27 +00:00
|
|
|
---
|
|
|
|
# Received a warning that resulted in a failure:
|
|
|
|
Ran out of cabbage!
|
|
|
|
at: tst_Warnings::testFailOnWarningsFailInHelper() (qtbase/tests/auto/testlib/selftests/warnings/tst_warnings.cpp:0)
|
|
|
|
file: qtbase/tests/auto/testlib/selftests/warnings/tst_warnings.cpp
|
|
|
|
line: 0
|
|
|
|
...
|
2021-09-07 13:30:34 +00:00
|
|
|
not ok 12 - testFailOnWarningsFailInHelper()
|
2021-10-08 11:58:27 +00:00
|
|
|
---
|
|
|
|
# My cabbage! :(
|
|
|
|
at: tst_Warnings::testFailOnWarningsFailInHelper() (qtbase/tests/auto/testlib/selftests/warnings/tst_warnings.cpp:0)
|
|
|
|
file: qtbase/tests/auto/testlib/selftests/warnings/tst_warnings.cpp
|
|
|
|
line: 0
|
|
|
|
...
|
2021-09-07 13:30:34 +00:00
|
|
|
not ok 13 - testFailOnWarningsThenSkip()
|
2021-10-08 11:58:27 +00:00
|
|
|
---
|
|
|
|
# Received a warning that resulted in a failure:
|
|
|
|
Ran out of cabbage!
|
|
|
|
at: tst_Warnings::testFailOnWarningsThenSkip() (qtbase/tests/auto/testlib/selftests/warnings/tst_warnings.cpp:0)
|
|
|
|
file: qtbase/tests/auto/testlib/selftests/warnings/tst_warnings.cpp
|
|
|
|
line: 0
|
|
|
|
...
|
2021-09-07 13:30:34 +00:00
|
|
|
ok 13 - testFailOnWarningsThenSkip() # SKIP My cabbage! :(
|
|
|
|
ok 14 - testFailOnWarningsAndIgnoreWarnings()
|
|
|
|
ok 15 - cleanupTestCase()
|
|
|
|
1..15
|
|
|
|
# tests 15
|
2021-10-08 11:58:27 +00:00
|
|
|
# pass 5
|
2021-09-07 13:30:34 +00:00
|
|
|
# fail 10
|