blob: 9bec5b7bc04173ef0af08393a57ce2918302b989 (
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
|
<?xml version="1.0" encoding="UTF-8"?>
<doctest binary="all_features">
<Options order_by="name" 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=" Scenario: vectors can be sized and resized" filename="subcases.cpp" line="0" skipped="true"/>
<TestCase name="CHECK level of asserts fail the test case but don't abort it" filename="assertion_macros.cpp" line="0" skipped="true"/>
<TestCase name="Nested - related to https://github.com/onqtam/doctest/issues/282" filename="subcases.cpp" line="0" skipped="true"/>
<TestCase name="REQUIRE level of asserts fail and abort the test case - 1" filename="assertion_macros.cpp" line="0" skipped="true"/>
<TestCase name="REQUIRE level of asserts fail and abort the test case - 10" filename="assertion_macros.cpp" line="0" skipped="true"/>
<TestCase name="REQUIRE level of asserts fail and abort the test case - 11" filename="assertion_macros.cpp" line="0" skipped="true"/>
<TestCase name="REQUIRE level of asserts fail and abort the test case - 12" filename="assertion_macros.cpp" line="0" skipped="true"/>
<TestCase name="REQUIRE level of asserts fail and abort the test case - 13" filename="assertion_macros.cpp" line="0" skipped="true"/>
<TestCase name="REQUIRE level of asserts fail and abort the test case - 2" filename="assertion_macros.cpp" line="0" skipped="true"/>
<TestCase name="REQUIRE level of asserts fail and abort the test case - 3" filename="assertion_macros.cpp" line="0" skipped="true"/>
<TestCase name="REQUIRE level of asserts fail and abort the test case - 4" filename="assertion_macros.cpp" line="0" skipped="true"/>
<TestCase name="REQUIRE level of asserts fail and abort the test case - 5" filename="assertion_macros.cpp" line="0" skipped="true"/>
<TestCase name="REQUIRE level of asserts fail and abort the test case - 6" filename="assertion_macros.cpp" line="0" skipped="true"/>
<TestCase name="REQUIRE level of asserts fail and abort the test case - 7" filename="assertion_macros.cpp" line="0" skipped="true"/>
<TestCase name="REQUIRE level of asserts fail and abort the test case - 8" filename="assertion_macros.cpp" line="0" skipped="true"/>
<TestCase name="REQUIRE level of asserts fail and abort the test case - 9" filename="assertion_macros.cpp" line="0" skipped="true"/>
<TestCase name="WARN level of asserts don't fail the test case" filename="assertion_macros.cpp" line="0" skipped="true"/>
<TestCase name="[math] basic stuff" filename="main.cpp" line="0" skipped="true"/>
<TestCase name="[string] testing std::string" filename="main.cpp" line="0" skipped="true"/>
<TestCase name="a test case that registers an exception translator for int and then throws one" filename="stringification.cpp" line="0" skipped="true"/>
<TestCase name="a test case that will end from an exception" filename="logging.cpp" line="0" skipped="true"/>
<TestCase name="a test case that will end from an exception and should print the unprinted context" filename="logging.cpp" line="0" skipped="true"/>
<TestCase name="all asserts should fail and show how the objects get stringified" filename="stringification.cpp" line="0" skipped="true"/>
<TestCase name="all binary assertions" filename="assertion_macros.cpp" line="0" skipped="true"/>
<TestCase name="an empty test that will succeed - not part of a test suite" filename="test_cases_and_suites.cpp" line="0" skipped="true"/>
<TestCase name="bad stringification of type pair<int_pair>" filename="templated_test_cases.cpp" line="0" skipped="true"/>
<TestCase name="custom macros" filename="alternative_macros.cpp" line="0" skipped="true"/>
<TestCase name="default construction<char>" filename="templated_test_cases.cpp" line="0" skipped="true"/>
<TestCase name="default construction<double>" filename="templated_test_cases.cpp" line="0" skipped="true"/>
<TestCase name="default construction<double>" filename="templated_test_cases.cpp" line="0" skipped="true"/>
<TestCase name="default construction<int>" filename="templated_test_cases.cpp" line="0" skipped="true"/>
<TestCase name="default construction<short int>" filename="templated_test_cases.cpp" line="0" skipped="true"/>
<TestCase name="default construction<signed char>" filename="templated_test_cases.cpp" line="0" skipped="true"/>
<TestCase name="default construction<unsigned char>" filename="templated_test_cases.cpp" line="0" skipped="true"/>
</TestSuite>
<TestSuite name="test suite with a description">
<TestCase name="doesn't fail but it should have" filename="test_cases_and_suites.cpp" line="0" description="regarding failures" should_fail="true" skipped="true"/>
<TestCase name="doesn't fail which is fine" filename="test_cases_and_suites.cpp" line="0" description="regarding failures" may_fail="true" skipped="true"/>
</TestSuite>
<TestSuite>
<TestCase name="enum 1" filename="enums.cpp" line="0" skipped="true"/>
<TestCase name="enum 2" filename="enums.cpp" line="0" should_fail="true" skipped="true"/>
<TestCase name="exceptions-related macros" filename="assertion_macros.cpp" line="0" skipped="true"/>
<TestCase name="exceptions-related macros for std::exception" filename="assertion_macros.cpp" line="0" skipped="true"/>
<TestCase name="exercising tricky code paths of doctest" filename="coverage_maxout.cpp" line="0" skipped="true"/>
<TestCase name="explicit failures 1" filename="logging.cpp" line="0" skipped="true"/>
<TestCase name="explicit failures 2" filename="logging.cpp" line="0" skipped="true"/>
<TestCase name="expressions should be evaluated only once" filename="assertion_macros.cpp" line="0" skipped="true"/>
</TestSuite>
<TestSuite name="test suite with a description">
<TestCase name="fails - and its allowed" filename="test_cases_and_suites.cpp" line="0" description="regarding failures" may_fail="true" skipped="true"/>
<TestCase name="fails 1 time as it should" filename="test_cases_and_suites.cpp" line="0" description="regarding failures" skipped="true"/>
<TestCase name="fails as it should" filename="test_cases_and_suites.cpp" line="0" description="regarding failures" should_fail="true" skipped="true"/>
</TestSuite>
<TestSuite>
<TestCase name="fails from an exception but gets re-entered to traverse all subcases" filename="subcases.cpp" line="0" skipped="true"/>
</TestSuite>
<TestSuite name="test suite with a description">
<TestCase name="fails more times as it should" filename="test_cases_and_suites.cpp" line="0" description="regarding failures" skipped="true"/>
</TestSuite>
<TestSuite>
<TestCase name="fixtured test" filename="header.h" line="0" skipped="true"/>
<TestCase name="fixtured test - not part of a test suite" filename="test_cases_and_suites.cpp" line="0" skipped="true"/>
</TestSuite>
<TestSuite name="some TS">
<TestCase name="in TS" filename="header.h" line="0" skipped="true"/>
</TestSuite>
<TestSuite>
<TestCase name="logging the counter of a loop" filename="logging.cpp" line="0" skipped="true"/>
<TestCase name="lots of nested subcases" filename="subcases.cpp" line="0" skipped="true"/>
<TestCase name="multiple types<>" filename="templated_test_cases.cpp" line="0" skipped="true"/>
<TestCase name="multiple types<>" filename="templated_test_cases.cpp" line="0" skipped="true"/>
<TestCase name="multiple types<>" filename="templated_test_cases.cpp" line="0" skipped="true"/>
<TestCase name="namespace 1 global operator" filename="namespace1.cpp" line="0" skipped="true"/>
<TestCase name="namespace 2 friend operator" filename="namespace2.cpp" line="0" skipped="true"/>
<TestCase name="namespace 3 member operator" filename="namespace3.cpp" line="0" skipped="true"/>
<TestCase name="namespace 4 member vs member" filename="namespace4.cpp" line="0" skipped="true"/>
<TestCase name="namespace 5 member vs friend" filename="namespace5.cpp" line="0" skipped="true"/>
<TestCase name="namespace 6 friend vs friend" filename="namespace6.cpp" line="0" skipped="true"/>
<TestCase name="namespace 7 member vs global" filename="namespace7.cpp" line="0" skipped="true"/>
<TestCase name="namespace 8 friend vs global" filename="namespace8.cpp" line="0" skipped="true"/>
<TestCase name="namespace 9 both global" filename="namespace9.cpp" line="0" skipped="true"/>
<TestCase name="normal macros" filename="assertion_macros.cpp" line="0" skipped="true"/>
</TestSuite>
<TestSuite name="ts1">
<TestCase name="normal test in a test suite from a decorator" filename="test_cases_and_suites.cpp" line="0" skipped="true"/>
</TestSuite>
<TestSuite name="scoped test suite">
<TestCase name="part of scoped" filename="test_cases_and_suites.cpp" line="0" skipped="true"/>
<TestCase name="part of scoped 2" filename="test_cases_and_suites.cpp" line="0" skipped="true"/>
</TestSuite>
<TestSuite name="some TS">
<TestCase name="part of some TS" filename="test_cases_and_suites.cpp" line="0" skipped="true"/>
</TestSuite>
<TestSuite>
<TestCase name="should fail and no output" filename="test_cases_and_suites.cpp" line="0" should_fail="true" skipped="true"/>
<TestCase name="should fail because of an exception" filename="test_cases_and_suites.cpp" line="0" skipped="true"/>
<TestCase name="signed integers stuff<int>" filename="templated_test_cases.cpp" line="0" skipped="true"/>
<TestCase name="signed integers stuff<short int>" filename="templated_test_cases.cpp" line="0" skipped="true"/>
<TestCase name="signed integers stuff<signed char>" filename="templated_test_cases.cpp" line="0" skipped="true"/>
</TestSuite>
<TestSuite name="skipped test cases">
<TestCase name="skipped - inherited from the test suite" filename="test_cases_and_suites.cpp" line="0" skipped="true"/>
</TestSuite>
<TestSuite>
<TestCase name="some asserts used in a function called by a test case" filename="assertion_macros.cpp" line="0" skipped="true"/>
<TestCase name="subcases can be used in a separate function as well" filename="subcases.cpp" line="0" skipped="true"/>
<TestCase name="subcases with changing names" filename="subcases.cpp" line="0" skipped="true"/>
<TestCase name="template 1<char>" filename="header.h" line="0" skipped="true"/>
<TestCase name="template 2<doctest::String>" filename="header.h" line="0" skipped="true"/>
<TestCase name="test case should fail even though the last subcase passes" filename="subcases.cpp" line="0" skipped="true"/>
<TestCase name="third party asserts can report failures to doctest" filename="logging.cpp" line="0" skipped="true"/>
<TestCase name="threads..." filename="concurrency.cpp" line="0" skipped="true"/>
</TestSuite>
<TestSuite name="skipped test cases">
<TestCase name="unskipped" filename="test_cases_and_suites.cpp" line="0" description="this test has overridden its skip decorator" skipped="true"/>
</TestSuite>
<TestSuite>
<TestCase name="vector stuff<std::vector<int>>" filename="templated_test_cases.cpp" line="0" skipped="true"/>
</TestSuite>
<TestSuite name="exception related">
<TestCase name="will end from a const char* exception" filename="coverage_maxout.cpp" line="0" skipped="true"/>
<TestCase name="will end from a std::string exception" filename="coverage_maxout.cpp" line="0" skipped="true"/>
<TestCase name="will end from an unknown exception" filename="coverage_maxout.cpp" line="0" skipped="true"/>
</TestSuite>
<OverallResultsAsserts successes="0" failures="0"/>
<OverallResultsTestCases successes="0" failures="0" skipped="90"/>
</doctest>
Program code.
|