Moved Catch NotImplementedException out of the common include path

We could probably toss it away completely, currently it is used
only by TeamCity reporter.
This commit is contained in:
Martin Hořeňovský
2017-07-12 15:05:01 +02:00
parent 4332b84c9b
commit 91c1556078
4 changed files with 5 additions and 11 deletions

View File

@@ -181,15 +181,6 @@ TEST_CASE( "Unexpected exceptions can be translated", "[.][failing][!throws]" )
throw double( 3.14 );
}
inline int thisFunctionNotImplemented( int ) {
CATCH_NOT_IMPLEMENTED;
}
TEST_CASE( "NotImplemented exception", "[!throws]" )
{
REQUIRE_THROWS( thisFunctionNotImplemented( 7 ) );
}
TEST_CASE( "Exception messages can be tested for", "[!throws]" ) {
using namespace Catch::Matchers;
SECTION( "exact match" )