diff options
| author | Phil Nash | 2011-01-14 08:47:43 +0000 |
|---|---|---|
| committer | Phil Nash | 2011-01-14 08:47:43 +0000 |
| commit | 684baf105378fc5a90cbebd9e5c7e8898989983e (patch) | |
| tree | 8532de1f9ee4ce3dbe7e4caffe67a4c47b4d7c4d /Test/ExceptionTests.cpp | |
| parent | f36d7773437830ff8178d0491166a29b62b156ea (diff) | |
| download | catch3-684baf105378fc5a90cbebd9e5c7e8898989983e.tar.gz | |
Don't run tests starting with ./ by default. Changed all low-level self tests to be in ./
Diffstat (limited to 'Test/ExceptionTests.cpp')
| -rw-r--r-- | Test/ExceptionTests.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Test/ExceptionTests.cpp b/Test/ExceptionTests.cpp index 4be5a193..db5786cb 100644 --- a/Test/ExceptionTests.cpp +++ b/Test/ExceptionTests.cpp @@ -28,26 +28,26 @@ namespace } } -TEST_CASE( "succeeding/exceptions/explicit", "When checked exceptions are thrown they can be expected or unexpected" ) +TEST_CASE( "./succeeding/exceptions/explicit", "When checked exceptions are thrown they can be expected or unexpected" ) { REQUIRE_THROWS_AS( thisThrows(), std::domain_error ); REQUIRE_NOTHROW( thisDoesntThrow() ); REQUIRE_THROWS( thisThrows() ); } -TEST_CASE( "failing/exceptions/explicit", "When checked exceptions are thrown they can be expected or unexpected" ) +TEST_CASE( "./failing/exceptions/explicit", "When checked exceptions are thrown they can be expected or unexpected" ) { CHECK_THROWS_AS( thisThrows(), std::string ); CHECK_THROWS_AS( thisDoesntThrow(), std::domain_error ); CHECK_NOTHROW( thisThrows() ); } -TEST_CASE( "failing/exceptions/implicit", "When unchecked exceptions are thrown they are always failures" ) +TEST_CASE( "./failing/exceptions/implicit", "When unchecked exceptions are thrown they are always failures" ) { throw std::domain_error( "unexpected exception" ); } -TEST_CASE( "succeeding/exceptions/implicit", "When unchecked exceptions are thrown, but caught, they do not affect the test" ) +TEST_CASE( "./succeeding/exceptions/implicit", "When unchecked exceptions are thrown, but caught, they do not affect the test" ) { try { |