• Home
  • Raw
  • Download

Lines Matching refs:TEST_CASE

77 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]" ) {
146 TEST_CASE("Custom std-exceptions can be custom translated", "[.][failing][!throws]" ) {
150 TEST_CASE( "Custom exceptions can be translated when testing for nothrow", "[.][failing][!throws]" …
154 TEST_CASE( "Custom exceptions can be translated when testing for throwing as something else", "[.][…
158 TEST_CASE( "Unexpected exceptions can be translated", "[.][failing][!throws]" ) {
162 TEST_CASE("Thrown string literals are translated", "[.][failing][!throws]") {
166 TEST_CASE("thrown std::strings are translated", "[.][failing][!throws]") {
173 TEST_CASE( "Exception messages can be tested for", "[!throws]" ) {
189 TEST_CASE( "Mismatching exception messages failing the test", "[.][failing][!throws]" ) {
195 TEST_CASE( "#748 - captures with unexpected exceptions", "[.][failing][!throws][!shouldfail]" ) {