Welcome to mirror list, hosted at ThFree Co, Russian Federation.

stringification.cpp_junit.txt « test_output « all_features « examples - github.com/onqtam/doctest.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3044abdfda8548fd039f5a40e2d42af6310f9eea (plain)
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<?xml version="1.0" encoding="UTF-8"?>
<testsuites>
  <testsuite name="all_features" errors="2" failures="13" tests="21">
    <testcase classname="double_stringification.cpp" name="toString std::string ret type" status="run"/>
    <testcase classname="stringification.cpp" name="operator&lt;&lt;" 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&lt;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.