Home
last modified time | relevance | path

Searched refs:TEST_CASE (Results 1 – 25 of 239) sorted by relevance

12345678910

/external/catch2/projects/SelfTest/UsageTests/
DMessage.tests.cpp12 TEST_CASE( "INFO and WARN do not abort tests", "[messages][.]" ) {
17 TEST_CASE( "#1455 - INFO and WARN can start with a linebreak", "[messages][.]" ) {
24 TEST_CASE( "SUCCEED counts as a test pass", "[messages]" ) {
28 TEST_CASE( "INFO gets logged on failure", "[failing][messages][.]" ) {
35 TEST_CASE( "INFO gets logged on failure, even if captured before successful assertions", "[failing]…
53 TEST_CASE( "FAIL aborts the test", "[failing][messages][.]" ) {
58 TEST_CASE( "FAIL_CHECK does not abort the test", "[failing][messages][.]" ) {
63 TEST_CASE( "FAIL does not require an argument", "[failing][messages][.]" ) {
67 TEST_CASE( "SUCCEED does not require an argument", "[messages][.]" ) {
71 TEST_CASE( "Output from all sections is reported", "[failing][messages][.]" ) {
[all …]
DException.tests.cpp77 TEST_CASE( "When checked exceptions are thrown they can be expected or unexpected", "[!throws]" ) {
83 TEST_CASE( "Expected exceptions that don't throw or unexpected exceptions fail the test", "[.][fail…
89 TEST_CASE( "When unchecked exceptions are thrown directly they are always failures", "[.][failing][…
93 TEST_CASE( "An unchecked exception reports the line of the last assertion", "[.][failing][!throws]"…
98 TEST_CASE( "When unchecked exceptions are thrown from sections they are always failures", "[.][fail…
104 TEST_CASE( "When unchecked exceptions are thrown from functions they are always failures", "[.][fai…
108 TEST_CASE( "When unchecked exceptions are thrown during a REQUIRE the test should abort fail", "[.]…
113 TEST_CASE( "When unchecked exceptions are thrown during a CHECK the test should continue", "[.][fai…
122 TEST_CASE( "When unchecked exceptions are thrown, but caught, they do not affect the test", "[!thro…
142 TEST_CASE("Non-std exceptions can be translated", "[.][failing][!throws]" ) {
[all …]
DMisc.tests.cpp78 TEST_CASE( "random SECTION tests", "[.][sections][failing]" ) {
92 TEST_CASE( "nested SECTION tests", "[.][sections][failing]" ) {
106 TEST_CASE( "more nested SECTION tests", "[sections][failing][.]" ) {
124 TEST_CASE( "even more nested SECTION tests", "[sections]" ) {
140 TEST_CASE( "looped SECTION tests", "[.][failing][sections]" ) {
150 TEST_CASE( "looped tests", "[.][failing]" ) {
159 TEST_CASE( "Sends stuff to stdout and stderr", "[.]" ) {
165 TEST_CASE( "null strings" ) {
170 TEST_CASE( "checkedIf" ) {
174 TEST_CASE( "checkedIf, failing", "[failing][.]" ) {
[all …]
DTricky.tests.cpp25 TEST_CASE
36 TEST_CASE
62 TEST_CASE
78 TEST_CASE
89 TEST_CASE
157 TEST_CASE
181 TEST_CASE( "Test enum bit values", "[Tricky]" )
195 TEST_CASE("boolean member", "[Tricky]")
214 TEST_CASE( "(unimplemented) static bools can be evaluated", "[Tricky]" )
267 TEST_CASE( "Objects that evaluated in boolean contexts can be checked", "[Tricky][SafeBool]" )
[all …]
DApprox.tests.cpp39 TEST_CASE( "A comparison that uses literals instead of the normal constructor", "[Approx]" ) {
51 TEST_CASE( "Some simple comparisons between doubles", "[Approx]" ) {
67 TEST_CASE( "Approximate comparisons with different epsilons", "[Approx]" ) {
75 TEST_CASE( "Less-than inequalities with different epsilons", "[Approx]" ) {
85 TEST_CASE( "Greater-than inequalities with different epsilons", "[Approx]" ) {
95 TEST_CASE( "Approximate comparisons with floats", "[Approx]" ) {
101 TEST_CASE( "Approximate comparisons with ints", "[Approx]" ) {
107 TEST_CASE( "Approximate comparisons with mixed numeric types", "[Approx]" ) {
120 TEST_CASE( "Use a custom approx", "[Approx][custom]" ) {
136 TEST_CASE( "Approximate PI", "[Approx][PI]" ) {
[all …]
DMatchers.tests.cpp114 TEST_CASE("String matchers", "[matchers]") {
126 TEST_CASE("Contains string matcher", "[.][failing][matchers]") {
131 TEST_CASE("StartsWith string matcher", "[.][failing][matchers]") {
136 TEST_CASE("EndsWith string matcher", "[.][failing][matchers]") {
141 TEST_CASE("Equals string matcher", "[.][failing][matchers]") {
146 TEST_CASE("Equals", "[matchers]") {
154 TEST_CASE("Regex string matcher -- libstdc++-4.8 workaround", "[matchers][approvals]") {
182 TEST_CASE("Regex string matcher", "[matchers][.failing]") {
188TEST_CASE("Matchers can be (AllOf) composed with the && operator", "[matchers][operators][operator…
196TEST_CASE("Matchers can be (AnyOf) composed with the || operator", "[matchers][operators][operator…
[all …]
DCompilation.tests.cpp125 TEST_CASE("#809") {
137 TEST_CASE("#833") {
145 TEST_CASE("#872") {
153 TEST_CASE("#1027") {
161 TEST_CASE("#1147") {
172 TEST_CASE("#1238") {
186 TEST_CASE("#1403", "[compilation]") {
191 TEST_CASE("Optionally static assertions", "[compilation]") {
196 TEST_CASE("#1548", "[compilation]") {
218TEST_CASE("#925: comparing function pointer to function address failed to compile", "[!nonportable…
[all …]
DCondition.tests.cpp53 TEST_CASE( "Equality checks that should succeed" )
71 TEST_CASE( "Equality checks that should fail", "[.][failing][!mayfail]" )
92 TEST_CASE( "Inequality checks that should succeed" )
109 TEST_CASE( "Inequality checks that should fail", "[.][failing][!shouldfail]" )
121 TEST_CASE( "Ordering comparison checks that should succeed" )
148 TEST_CASE( "Ordering comparison checks that should fail", "[.][failing]" )
183 TEST_CASE( "Comparisons with int literals don't warn when mixing signed/ unsigned" )
221 TEST_CASE( "comparisons between int variables" )
235 TEST_CASE( "comparisons between const int variables" )
248 TEST_CASE( "Comparisons between unsigned ints and negative signed ints match c++ standard behaviour…
[all …]
DToStringWhich.tests.cpp69 TEST_CASE( "stringify( has_operator )", "[toString]" ) {
75 TEST_CASE( "stringify( has_maker )", "[toString]" ) {
81 TEST_CASE( "stringify( has_maker_and_operator )", "[toString]" ) {
86 TEST_CASE("stringify( has_neither )", "[toString]") {
92 TEST_CASE( "stringify( has_template_operator )", "[toString]" ) {
100 TEST_CASE( "stringify( vectors<has_operator> )", "[toString]" ) {
105 TEST_CASE( "stringify( vectors<has_maker> )", "[toString]" ) {
110 TEST_CASE( "stringify( vectors<has_maker_and_operator> )", "[toString]" ) {
188 TEST_CASE("stringify ranges", "[toString]") {
DToStringTuple.tests.cpp6 TEST_CASE( "tuple<>", "[toString][tuple]" )
14 TEST_CASE( "tuple<int>", "[toString][tuple]" )
21 TEST_CASE( "tuple<float,int>", "[toString][tuple]" )
28 TEST_CASE( "tuple<string,string>", "[toString][tuple]" )
34 TEST_CASE( "tuple<tuple<int>,tuple<>,float>", "[toString][tuple]" )
41 TEST_CASE( "tuple<nullptr,int,const char *>", "[toString][tuple]" )
DToStringVariant.tests.cpp21 TEST_CASE( "variant<std::monostate>", "[toString][variant][approvals]")
30 TEST_CASE( "variant<int>", "[toString][variant][approvals]")
36 TEST_CASE( "variant<float, int>", "[toString][variant][approvals]")
43 TEST_CASE( "variant -- valueless-by-exception", "[toString][variant][approvals]" ) {
53 TEST_CASE( "variant<string, int>", "[toString][variant][approvals]")
60 TEST_CASE( "variant<variant<float, int>, string>", "[toString][variant][approvals]")
83 TEST_CASE( "variant<nullptr,int,const char *>", "[toString][variant][approvals]" )
DGenerators.tests.cpp7 TEST_CASE("Generators -- simple", "[generators]") {
22 TEST_CASE("3x3x3 ints", "[generators]") {
33 TEST_CASE("tables", "[generators]") {
60 TEST_CASE( "strlen2", "[approvals][generators]" ) {
76 TEST_CASE( "strlen3", "[generators]" ) {
117 TEST_CASE("Generators -- adapters", "[generators][generic]") {
183 TEST_CASE("Random generator", "[generators][approvals]") {
199 TEST_CASE("Nested generators and captured variables", "[generators]") {
233 TEST_CASE("Copy and then generate a range", "[generators]") {
DToStringGeneral.tests.cpp14 TEST_CASE( "Character pretty printing" ){
45 TEST_CASE( "Capture and info messages" ) {
58 TEST_CASE( "std::map is convertible string", "[toString]" ) {
83 TEST_CASE( "std::set is convertible string", "[toString]" ) {
104 TEST_CASE("Static arrays are convertible to string", "[toString]") {
121 TEST_CASE("String views are stringified like other strings", "[toString][approvals]") {
131 TEST_CASE("Precision of floating point stringification can be set", "[toString][floatingPoint]") {
206 TEST_CASE("Exception as a value (e.g. in REQUIRE_THROWS_MATCHES) can be stringified", "[toString][e…
/external/catch2/examples/
D207-Rpt-TeamCityReporter.cpp22 TEST_CASE( "TeamCity passes unconditionally succeeding assertion", "[teamcity]" ) {
27 TEST_CASE( "TeamCity reports unconditionally failing assertion", "[teamcity]" ) {
32 TEST_CASE( "TeamCity reports failing check", "[teamcity]" ) {
37 TEST_CASE( "TeamCity reports failing check-false", "[teamcity]" ) {
42 TEST_CASE( "TeamCity reports failing check-that", "[teamcity]" ) {
49 TEST_CASE( "TeamCity reports unexpected exception", "[teamcity]" ) {
54 TEST_CASE( "TeamCity reports undesired exception", "[teamcity]" ) {
59 TEST_CASE( "TeamCity reports missing expected exception", "[teamcity]" ) {
64 TEST_CASE( "TeamCity reports missing specific expected exception", "[teamcity]" ) {
69 TEST_CASE( "TeamCity reports unexpected message in expected exception", "[teamcity]" ) {
[all …]
D030-Asn-Require-Check.cpp19 TEST_CASE( "Assert that something is true (pass)", "[require]" ) {
23 TEST_CASE( "Assert that something is true (fail)", "[require]" ) {
27 TEST_CASE( "Assert that something is true (stop at first failure)", "[require]" ) {
34 TEST_CASE( "Assert that something is true (continue after failure)", "[check]" ) {
41 TEST_CASE( "Assert that something is false (stops at first failure)", "[require-false]" ) {
48 TEST_CASE( "Assert that something is false (continue after failure)", "[check-false]" ) {
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.relative/
Drelative.pass.cpp32 TEST_CASE(test_signature_0) { in TEST_CASE() function
38 TEST_CASE(test_signature_1) { in TEST_CASE() function
44 TEST_CASE(test_signature_2) { in TEST_CASE() function
50 TEST_CASE(test_signature_3) { in TEST_CASE() function
56 TEST_CASE(test_signature_4) { in TEST_CASE() function
62 TEST_CASE(test_signature_5) { in TEST_CASE() function
68 TEST_CASE(test_signature_6) { in TEST_CASE() function
76 TEST_CASE(test_signature_7) { in TEST_CASE() function
82 TEST_CASE(test_signature_8) { in TEST_CASE() function
88 TEST_CASE(test_signature_9) { in TEST_CASE() function
[all …]
/external/llvm-project/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.relative/
Drelative.pass.cpp31 TEST_CASE(test_signature_0) { in TEST_CASE() function
37 TEST_CASE(test_signature_1) { in TEST_CASE() function
43 TEST_CASE(test_signature_2) { in TEST_CASE() function
50 TEST_CASE(test_signature_3) { in TEST_CASE() function
57 TEST_CASE(test_signature_4) { in TEST_CASE() function
64 TEST_CASE(test_signature_5) { in TEST_CASE() function
71 TEST_CASE(test_signature_6) { in TEST_CASE() function
80 TEST_CASE(test_signature_7) { in TEST_CASE() function
87 TEST_CASE(test_signature_8) { in TEST_CASE() function
94 TEST_CASE(test_signature_9) { in TEST_CASE() function
[all …]
/external/libabigail/tests/
Dtest-kmi-whitelist.cc85 TEST_CASE("NoWhitelists", "[whitelists]")
93 TEST_CASE("WhitelistWithASingleEntry", "[whitelists]")
103 TEST_CASE("WhitelistWithADuplicateEntry", "[whitelists]")
113 TEST_CASE("TwoWhitelists", "[whitelists]")
125 TEST_CASE("TwoWhitelistsWithDuplicates", "[whitelists]")
137 TEST_CASE("WhitelistWithTwoSections", "[whitelists]")
147 TEST_CASE("NoSymbolLists", "[symbol_lists]")
155 TEST_CASE("SymbolListWithASingleEntry", "[symbol_lists]")
165 TEST_CASE("SymbolListWithADuplicateEntry", "[symbol_lists]")
175 TEST_CASE("TwoSymbolLists", "[symbol_lists]")
[all …]
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_empty/
Dis_empty.pass.cpp29 TEST_CASE(signature_test) in TEST_CASE() function
37 TEST_CASE(test_exist_not_found) in TEST_CASE() function
46 TEST_CASE(test_is_empty_directory) in TEST_CASE() function
52 TEST_CASE(test_is_empty_directory_dynamic) in TEST_CASE() function
60 TEST_CASE(test_is_empty_file) in TEST_CASE() function
66 TEST_CASE(test_is_empty_fails) in TEST_CASE() function
80 TEST_CASE(test_directory_access_denied) in TEST_CASE() function
96 TEST_CASE(test_fifo_fails) in TEST_CASE() function
/external/llvm-project/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_empty/
Dis_empty.pass.cpp28 TEST_CASE(signature_test) in TEST_CASE() function
36 TEST_CASE(test_exist_not_found) in TEST_CASE() function
46 TEST_CASE(test_is_empty_directory) in TEST_CASE() function
53 TEST_CASE(test_is_empty_directory_dynamic) in TEST_CASE() function
61 TEST_CASE(test_is_empty_file) in TEST_CASE() function
68 TEST_CASE(test_is_empty_fails) in TEST_CASE() function
82 TEST_CASE(test_directory_access_denied) in TEST_CASE() function
98 TEST_CASE(test_fifo_fails) in TEST_CASE() function
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.current_path/
Dcurrent_path.pass.cpp31 TEST_CASE(current_path_signature_test) in TEST_CASE() function
41 TEST_CASE(current_path_test) in TEST_CASE() function
53 TEST_CASE(current_path_after_change_test) in TEST_CASE() function
60 TEST_CASE(current_path_is_file_test) in TEST_CASE() function
70 TEST_CASE(set_to_non_absolute_path) in TEST_CASE() function
83 TEST_CASE(set_to_empty) in TEST_CASE() function
/external/llvm-project/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.current_path/
Dcurrent_path.pass.cpp30 TEST_CASE(current_path_signature_test) in TEST_CASE() function
40 TEST_CASE(current_path_test) in TEST_CASE() function
52 TEST_CASE(current_path_after_change_test) in TEST_CASE() function
61 TEST_CASE(current_path_is_file_test) in TEST_CASE() function
73 TEST_CASE(set_to_non_absolute_path) in TEST_CASE() function
88 TEST_CASE(set_to_empty) in TEST_CASE() function
/external/libcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.members/
Dmove_assign.pass.cpp37 TEST_CASE(test_assignment_signature) in TEST_CASE() function
43 TEST_CASE(test_move_to_end_iterator) in TEST_CASE() function
58 TEST_CASE(test_move_from_end_iterator) in TEST_CASE() function
72 TEST_CASE(test_move_valid_iterator) in TEST_CASE() function
93 TEST_CASE(test_returns_reference_to_self) in TEST_CASE() function
102 TEST_CASE(test_self_move) in TEST_CASE() function
/external/llvm-project/libcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.members/
Dmove_assign.pass.cpp36 TEST_CASE(test_assignment_signature) in TEST_CASE() function
42 TEST_CASE(test_move_to_end_iterator) in TEST_CASE() function
58 TEST_CASE(test_move_from_end_iterator) in TEST_CASE() function
73 TEST_CASE(test_move_valid_iterator) in TEST_CASE() function
95 TEST_CASE(test_returns_reference_to_self) in TEST_CASE() function
104 TEST_CASE(test_self_move) in TEST_CASE() function
Dctor.pass.cpp33 TEST_CASE(test_constructor_signatures) in TEST_CASE() function
60 TEST_CASE(test_construction_from_bad_path) in TEST_CASE() function
87 TEST_CASE(access_denied_test_case) in TEST_CASE() function
123 TEST_CASE(access_denied_to_file_test_case) in TEST_CASE() function
151 TEST_CASE(test_open_on_empty_directory_equals_end) in TEST_CASE() function
170 TEST_CASE(test_open_on_directory_succeeds) in TEST_CASE() function
192 TEST_CASE(test_open_on_file_fails) in TEST_CASE() function
208 TEST_CASE(test_open_on_empty_string) in TEST_CASE() function
219 TEST_CASE(test_open_on_dot_dir) in TEST_CASE() function
228 TEST_CASE(test_open_on_symlink) in TEST_CASE() function

12345678910