File: expected_xunit.tap

package info (click to toggle)
qtbase-opensource-src 5.15.8%2Bdfsg-11%2Bdeb12u3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 349,068 kB
  • sloc: cpp: 2,034,172; ansic: 304,070; xml: 117,607; python: 9,430; java: 7,393; asm: 4,023; perl: 2,047; sh: 1,943; yacc: 1,687; lex: 1,333; javascript: 878; makefile: 292; objc: 70
file content (44 lines) | stat: -rw-r--r-- 1,324 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
TAP version 13
# tst_Xunit
ok 1 - initTestCase()
# just a QWARN() !
ok 2 - testFunc1()
# a qDebug() call with comment-ending stuff -->
not ok 3 - testFunc2()
  ---
  type: QCOMPARE
  message: Compared values are not the same
  wanted: 3 (3)
  found: 2 (2)
  expected: 3 (3)
  actual: 2 (2)
  at: tst_Xunit::testFunc2() (qtbase/tests/auto/testlib/selftests/xunit/tst_xunit.cpp:61)
  file: qtbase/tests/auto/testlib/selftests/xunit/tst_xunit.cpp
  line: 61
  ...
ok 4 - testFunc3() # SKIP skipping this function!
not ok 5 - testFunc4()
  ---
  # a forced failure!
  at: tst_Xunit::testFunc4() (qtbase/tests/auto/testlib/selftests/xunit/tst_xunit.cpp:71)
  file: qtbase/tests/auto/testlib/selftests/xunit/tst_xunit.cpp
  line: 71
  ...
not ok 6 - testFunc5() # TODO this failure is expected
  ---
  at: tst_Xunit::testFunc5() (qtbase/tests/auto/testlib/selftests/xunit/tst_xunit.cpp:85)
  file: qtbase/tests/auto/testlib/selftests/xunit/tst_xunit.cpp
  line: 85
  ...
not ok 7 - testFunc6() # TODO this failure is also expected
  ---
  at: tst_Xunit::testFunc6() (qtbase/tests/auto/testlib/selftests/xunit/tst_xunit.cpp:91)
  file: qtbase/tests/auto/testlib/selftests/xunit/tst_xunit.cpp
  line: 91
  ...
ok 8 - testFunc7() # TODO 'true' returned TRUE unexpectedly. ()
ok 9 - cleanupTestCase()
1..9
# tests 9
# pass 5
# fail 3