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.
doctest/examples/all_features/test_output/stringification.cpp_xml.txt

220 lines
7.1 KiB
Plaintext

<?xml version="1.0" encoding="UTF-8"?>
<doctest binary="all_features">
<Options order_by="file" rand_seed="324" first="0" last="4294967295" abort_after="0" subcase_filter_levels="2147483647" case_sensitive="false" no_throw="false" no_skip="false"/>
<TestSuite>
<TestCase name="toString std::string ret type" filename="double_stringification.cpp" line="0">
<OverallResultsAsserts successes="3" failures="0" test_case_success="true"/>
</TestCase>
<TestCase name="operator&lt;&lt;" filename="stringification.cpp" line="0">
<Message type="WARNING" filename="stringification.cpp" line="0">
<Text>
A
</Text>
</Message>
<Message type="WARNING" filename="stringification.cpp" line="0">
<Text>
B
</Text>
</Message>
<Message type="WARNING" filename="stringification.cpp" line="0">
<Text>
C
</Text>
</Message>
<OverallResultsAsserts successes="0" failures="0" test_case_success="true"/>
</TestCase>
<TestCase name="no headers" filename="stringification.cpp" line="0">
<Message type="WARNING" filename="stringification.cpp" line="0">
<Text>
1as
</Text>
</Message>
<Expression success="false" type="CHECK" filename="stringification.cpp" line="0">
<Original>
chs == nullptr
</Original>
<Expanded>
1as == nullptr
</Expanded>
</Expression>
<Message type="WARNING" filename="stringification.cpp" line="0">
<Text>
1as
</Text>
</Message>
<Expression success="false" type="CHECK" filename="stringification.cpp" line="0">
<Original>
"1as" == nullptr
</Original>
<Expanded>
1as == nullptr
</Expanded>
</Expression>
<Message type="WARNING" filename="stringification.cpp" line="0">
<Text>
[0, 1, 1, 2, 3, 5, 8, 13]
</Text>
</Message>
<Expression success="false" type="CHECK" filename="stringification.cpp" line="0">
<Original>
ints == nullptr
</Original>
<Expanded>
[0, 1, 1, 2, 3, 5, 8, 13] == nullptr
</Expanded>
</Expression>
<Message type="WARNING" filename="stringification.cpp" line="0">
<Text>
[0, 1, 1, 2, 3, 5, 8, 13]
</Text>
</Message>
<Message type="WARNING" filename="stringification.cpp" line="0">
<Text>
nullptr
</Text>
</Message>
<Expression success="false" type="CHECK" filename="stringification.cpp" line="0">
<Original>
cnptr != nullptr
</Original>
<Expanded>
nullptr != nullptr
</Expanded>
</Expression>
<Message type="WARNING" filename="stringification.cpp" line="0">
<Text>
0
</Text>
</Message>
<Expression success="false" type="CHECK" filename="stringification.cpp" line="0">
<Original>
A == C
</Original>
<Expanded>
0 == 100
</Expanded>
</Expression>
<Message type="WARNING" filename="stringification.cpp" line="0">
<Text>
int
</Text>
</Message>
<OverallResultsAsserts successes="2" failures="5" test_case_success="false"/>
</TestCase>
<TestCase name="all asserts should fail and show how the objects get stringified" filename="stringification.cpp" line="0">
<Message type="WARNING" filename="stringification.cpp" line="0">
<Text>
Foo{}
</Text>
</Message>
<Expression success="false" type="CHECK" filename="stringification.cpp" line="0">
<Original>
f1 == f2
</Original>
<Expanded>
Foo{} == Foo{}
</Expanded>
</Expression>
<Message type="WARNING" filename="stringification.cpp" line="0">
<Text>
omg
</Text>
</Message>
<Expression success="false" type="CHECK" filename="stringification.cpp" line="0">
<Original>
dummy == "tralala"
</Original>
<Expanded>
omg == tralala
</Expanded>
</Expression>
<Expression success="false" type="CHECK" filename="stringification.cpp" line="0">
<Original>
"tralala" == dummy
</Original>
<Expanded>
tralala == omg
</Expanded>
</Expression>
<Message type="WARNING" filename="stringification.cpp" line="0">
<Text>
[1, 2, 3]
</Text>
</Message>
<Expression success="false" type="CHECK" filename="stringification.cpp" line="0">
<Original>
vec1 == vec2
</Original>
<Expanded>
[1, 2, 3] == [1, 2, 4]
</Expanded>
</Expression>
<Message type="WARNING" filename="stringification.cpp" line="0">
<Text>
[1, 42, 3]
</Text>
</Message>
<Expression success="false" type="CHECK" filename="stringification.cpp" line="0">
<Original>
lst_1 == lst_2
</Original>
<Expanded>
[1, 42, 3] == [1, 2, 666]
</Expanded>
</Expression>
<Expression success="false" type="CHECK" filename="stringification.cpp" line="0">
<Original>
s1 == s2
</Original>
<Expanded>
MyOtherType: 42 == MyOtherType: 666
</Expanded>
<Info>
s1=MyOtherType: 42 s2=MyOtherType: 666
</Info>
</Expression>
<Expression success="false" type="CHECK" filename="stringification.cpp" line="0">
<Original>
s1 == s2
</Original>
<Expanded>
MyOtherType: 42 == MyOtherType: 666
</Expanded>
<Info>
s1=MyOtherType: 42 s2=MyOtherType: 666
</Info>
<Info>
MyOtherType: 42 is not really MyOtherType: 666
</Info>
</Expression>
<Expression success="false" type="CHECK" filename="stringification.cpp" line="0">
<Original>
"a" == doctest::Contains("aaa")
</Original>
<Expanded>
a == Contains( aaa )
</Expanded>
</Expression>
<Exception crash="false">
MyTypeInherited&lt;int>(5, 4)
</Exception>
<OverallResultsAsserts successes="4" failures="8" test_case_success="false"/>
</TestCase>
<TestCase name="a test case that registers an exception translator for int and then throws one" filename="stringification.cpp" line="0">
<Exception crash="false">
5
</Exception>
<OverallResultsAsserts successes="0" failures="0" test_case_success="false"/>
</TestCase>
<TestCase name="pointer comparisons" filename="stringification.cpp" line="0">
<OverallResultsAsserts successes="4" failures="0" test_case_success="true"/>
</TestCase>
<TestCase name="enum with operator&lt;&lt;" filename="stringification.cpp" line="0">
<OverallResultsAsserts successes="1" failures="0" test_case_success="true"/>
</TestCase>
</TestSuite>
<OverallResultsAsserts successes="14" failures="13"/>
<OverallResultsTestCases successes="4" failures="3"/>
</doctest>
Program code.