logging.cpp_junit.txt (2365B)
1 <?xml version="1.0" encoding="UTF-8"?> 2 <testsuites> 3 <testsuite name="all_features" errors="2" failures="6" tests="11"> 4 <testcase classname="logging.cpp" name="logging the counter of a loop" status="run"> 5 <failure message="1 != 1" type="CHECK"> 6 logging.cpp(0): 7 CHECK( vec[i] != (1 << i) ) is NOT correct! 8 values: CHECK( 1 != 1 ) 9 logged: current iteration of loop: 10 i := 0 11 12 </failure> 13 <failure message="2 != 2" type="CHECK"> 14 logging.cpp(0): 15 CHECK( vec[i] != (1 << i) ) is NOT correct! 16 values: CHECK( 2 != 2 ) 17 logged: current iteration of loop: 18 i := 1 19 20 </failure> 21 <failure message="4 != 4" type="CHECK"> 22 logging.cpp(0): 23 CHECK( vec[i] != (1 << i) ) is NOT correct! 24 values: CHECK( 4 != 4 ) 25 logged: current iteration of loop: 26 i := 2 27 28 </failure> 29 <failure message="8 != 8" type="CHECK"> 30 logging.cpp(0): 31 CHECK( vec[i] != (1 << i) ) is NOT correct! 32 values: CHECK( 8 != 8 ) 33 logged: current iteration of loop: 34 i := 3 35 36 </failure> 37 <failure message="16 != 16" type="CHECK"> 38 logging.cpp(0): 39 CHECK( vec[i] != (1 << i) ) is NOT correct! 40 values: CHECK( 16 != 16 ) 41 logged: current iteration of loop: 42 i := 4 43 44 </failure> 45 </testcase> 46 <testcase classname="logging.cpp" name="a test case that will end from an exception" status="run"> 47 <failure message="42 == 666" type="CHECK"> 48 logging.cpp(0): 49 CHECK( some_var == 666 ) is NOT correct! 50 values: CHECK( 42 == 666 ) 51 logged: someTests() returned: 42 52 this should be printed if an exception is thrown even if no assert has failed: 42 53 in a nested scope this should be printed as well: 42 54 why is this not 666 ?! 55 56 </failure> 57 <error message="exception"> 58 0 59 </error> 60 </testcase> 61 <testcase classname="logging.cpp" name="a test case that will end from an exception and should print the unprinted context" status="run"> 62 <error message="exception"> 63 0 64 </error> 65 </testcase> 66 <testcase classname="logging.cpp" name="third party asserts can report failures to doctest" status="run"/> 67 <testcase classname="logging.cpp" name="explicit failures 1" status="run"/> 68 <testcase classname="logging.cpp" name="explicit failures 2" status="run"/> 69 </testsuite> 70 </testsuites> 71 Program code.