forked from mirror/doctest
				
			
			You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			102 lines
		
	
	
		
			3.4 KiB
		
	
	
	
		
			Plaintext
		
	
			
		
		
	
	
			102 lines
		
	
	
		
			3.4 KiB
		
	
	
	
		
			Plaintext
		
	
<?xml version="1.0" encoding="UTF-8"?>
 | 
						|
<testsuites>
 | 
						|
  <testsuite name="all_features" errors="2" failures="13" tests="22">
 | 
						|
    <testcase classname="double_stringification.cpp" name="toString std::string ret type" status="run"/>
 | 
						|
    <testcase classname="stringification.cpp" name="operator<<" status="run"/>
 | 
						|
    <testcase classname="stringification.cpp" name="no headers" status="run">
 | 
						|
      <failure message="1as == nullptr" type="CHECK">
 | 
						|
stringification.cpp(0):
 | 
						|
CHECK( chs == nullptr ) is NOT correct!
 | 
						|
  values: CHECK( 1as == nullptr )
 | 
						|
 | 
						|
      </failure>
 | 
						|
      <failure message="1as == nullptr" type="CHECK">
 | 
						|
stringification.cpp(0):
 | 
						|
CHECK( "1as" == nullptr ) is NOT correct!
 | 
						|
  values: CHECK( 1as == nullptr )
 | 
						|
 | 
						|
      </failure>
 | 
						|
      <failure message="[0, 1, 1, 2, 3, 5, 8, 13] == nullptr" type="CHECK">
 | 
						|
stringification.cpp(0):
 | 
						|
CHECK( ints == nullptr ) is NOT correct!
 | 
						|
  values: CHECK( [0, 1, 1, 2, 3, 5, 8, 13] == nullptr )
 | 
						|
 | 
						|
      </failure>
 | 
						|
      <failure message="nullptr != nullptr" type="CHECK">
 | 
						|
stringification.cpp(0):
 | 
						|
CHECK( cnptr != nullptr ) is NOT correct!
 | 
						|
  values: CHECK( nullptr != nullptr )
 | 
						|
 | 
						|
      </failure>
 | 
						|
      <failure message="0 == 100" type="CHECK">
 | 
						|
stringification.cpp(0):
 | 
						|
CHECK( A == C ) is NOT correct!
 | 
						|
  values: CHECK( 0 == 100 )
 | 
						|
 | 
						|
      </failure>
 | 
						|
    </testcase>
 | 
						|
    <testcase classname="stringification.cpp" name="all asserts should fail and show how the objects get stringified" status="run">
 | 
						|
      <failure message="Foo{} == Foo{}" type="CHECK">
 | 
						|
stringification.cpp(0):
 | 
						|
CHECK( f1 == f2 ) is NOT correct!
 | 
						|
  values: CHECK( Foo{} == Foo{} )
 | 
						|
 | 
						|
      </failure>
 | 
						|
      <failure message="omg == tralala" type="CHECK">
 | 
						|
stringification.cpp(0):
 | 
						|
CHECK( dummy == "tralala" ) is NOT correct!
 | 
						|
  values: CHECK( omg == tralala )
 | 
						|
 | 
						|
      </failure>
 | 
						|
      <failure message="tralala == omg" type="CHECK">
 | 
						|
stringification.cpp(0):
 | 
						|
CHECK( "tralala" == dummy ) is NOT correct!
 | 
						|
  values: CHECK( tralala == omg )
 | 
						|
 | 
						|
      </failure>
 | 
						|
      <failure message="[1, 2, 3] == [1, 2, 4]" type="CHECK">
 | 
						|
stringification.cpp(0):
 | 
						|
CHECK( vec1 == vec2 ) is NOT correct!
 | 
						|
  values: CHECK( [1, 2, 3] == [1, 2, 4] )
 | 
						|
 | 
						|
      </failure>
 | 
						|
      <failure message="[1, 42, 3] == [1, 2, 666]" type="CHECK">
 | 
						|
stringification.cpp(0):
 | 
						|
CHECK( lst_1 == lst_2 ) is NOT correct!
 | 
						|
  values: CHECK( [1, 42, 3] == [1, 2, 666] )
 | 
						|
 | 
						|
      </failure>
 | 
						|
      <failure message="MyOtherType: 42 == MyOtherType: 666" type="CHECK">
 | 
						|
stringification.cpp(0):
 | 
						|
CHECK( s1 == s2 ) is NOT correct!
 | 
						|
  values: CHECK( MyOtherType: 42 == MyOtherType: 666 )
 | 
						|
  logged: s1=MyOtherType: 42 s2=MyOtherType: 666
 | 
						|
 | 
						|
      </failure>
 | 
						|
      <failure message="MyOtherType: 42 == MyOtherType: 666" type="CHECK">
 | 
						|
stringification.cpp(0):
 | 
						|
CHECK( s1 == s2 ) is NOT correct!
 | 
						|
  values: CHECK( MyOtherType: 42 == MyOtherType: 666 )
 | 
						|
  logged: s1=MyOtherType: 42 s2=MyOtherType: 666
 | 
						|
          MyOtherType: 42 is not really MyOtherType: 666
 | 
						|
 | 
						|
      </failure>
 | 
						|
      <failure message="a == Contains( aaa )" type="CHECK">
 | 
						|
stringification.cpp(0):
 | 
						|
CHECK( "a" == doctest::Contains("aaa") ) is NOT correct!
 | 
						|
  values: CHECK( a == Contains( aaa ) )
 | 
						|
 | 
						|
      </failure>
 | 
						|
      <error message="exception">
 | 
						|
        MyTypeInherited<int>(5, 4)
 | 
						|
      </error>
 | 
						|
    </testcase>
 | 
						|
    <testcase classname="stringification.cpp" name="a test case that registers an exception translator for int and then throws one" status="run">
 | 
						|
      <error message="exception">
 | 
						|
        5
 | 
						|
      </error>
 | 
						|
    </testcase>
 | 
						|
  </testsuite>
 | 
						|
</testsuites>
 | 
						|
Program code.
 |