stringification.cpp_junit.txt (3446B)
1 <?xml version="1.0" encoding="UTF-8"?> 2 <testsuites> 3 <testsuite name="all_features" errors="2" failures="13" tests="22"> 4 <testcase classname="double_stringification.cpp" name="toString std::string ret type" status="run"/> 5 <testcase classname="stringification.cpp" name="operator<<" status="run"/> 6 <testcase classname="stringification.cpp" name="no headers" status="run"> 7 <failure message="1as == nullptr" type="CHECK"> 8 stringification.cpp(0): 9 CHECK( chs == nullptr ) is NOT correct! 10 values: CHECK( 1as == nullptr ) 11 12 </failure> 13 <failure message="1as == nullptr" type="CHECK"> 14 stringification.cpp(0): 15 CHECK( "1as" == nullptr ) is NOT correct! 16 values: CHECK( 1as == nullptr ) 17 18 </failure> 19 <failure message="[0, 1, 1, 2, 3, 5, 8, 13] == nullptr" type="CHECK"> 20 stringification.cpp(0): 21 CHECK( ints == nullptr ) is NOT correct! 22 values: CHECK( [0, 1, 1, 2, 3, 5, 8, 13] == nullptr ) 23 24 </failure> 25 <failure message="nullptr != nullptr" type="CHECK"> 26 stringification.cpp(0): 27 CHECK( cnptr != nullptr ) is NOT correct! 28 values: CHECK( nullptr != nullptr ) 29 30 </failure> 31 <failure message="0 == 100" type="CHECK"> 32 stringification.cpp(0): 33 CHECK( A == C ) is NOT correct! 34 values: CHECK( 0 == 100 ) 35 36 </failure> 37 </testcase> 38 <testcase classname="stringification.cpp" name="all asserts should fail and show how the objects get stringified" status="run"> 39 <failure message="Foo{} == Foo{}" type="CHECK"> 40 stringification.cpp(0): 41 CHECK( f1 == f2 ) is NOT correct! 42 values: CHECK( Foo{} == Foo{} ) 43 44 </failure> 45 <failure message="omg == tralala" type="CHECK"> 46 stringification.cpp(0): 47 CHECK( dummy == "tralala" ) is NOT correct! 48 values: CHECK( omg == tralala ) 49 50 </failure> 51 <failure message="tralala == omg" type="CHECK"> 52 stringification.cpp(0): 53 CHECK( "tralala" == dummy ) is NOT correct! 54 values: CHECK( tralala == omg ) 55 56 </failure> 57 <failure message="[1, 2, 3] == [1, 2, 4]" type="CHECK"> 58 stringification.cpp(0): 59 CHECK( vec1 == vec2 ) is NOT correct! 60 values: CHECK( [1, 2, 3] == [1, 2, 4] ) 61 62 </failure> 63 <failure message="[1, 42, 3] == [1, 2, 666]" type="CHECK"> 64 stringification.cpp(0): 65 CHECK( lst_1 == lst_2 ) is NOT correct! 66 values: CHECK( [1, 42, 3] == [1, 2, 666] ) 67 68 </failure> 69 <failure message="MyOtherType: 42 == MyOtherType: 666" type="CHECK"> 70 stringification.cpp(0): 71 CHECK( s1 == s2 ) is NOT correct! 72 values: CHECK( MyOtherType: 42 == MyOtherType: 666 ) 73 logged: s1=MyOtherType: 42 s2=MyOtherType: 666 74 75 </failure> 76 <failure message="MyOtherType: 42 == MyOtherType: 666" type="CHECK"> 77 stringification.cpp(0): 78 CHECK( s1 == s2 ) is NOT correct! 79 values: CHECK( MyOtherType: 42 == MyOtherType: 666 ) 80 logged: s1=MyOtherType: 42 s2=MyOtherType: 666 81 MyOtherType: 42 is not really MyOtherType: 666 82 83 </failure> 84 <failure message="a == Contains( aaa )" type="CHECK"> 85 stringification.cpp(0): 86 CHECK( "a" == doctest::Contains("aaa") ) is NOT correct! 87 values: CHECK( a == Contains( aaa ) ) 88 89 </failure> 90 <error message="exception"> 91 MyTypeInherited<int>(5, 4) 92 </error> 93 </testcase> 94 <testcase classname="stringification.cpp" name="a test case that registers an exception translator for int and then throws one" status="run"> 95 <error message="exception"> 96 5 97 </error> 98 </testcase> 99 </testsuite> 100 </testsuites> 101 Program code.