integrated AssertionHandler into INTERNAL_CATCH_THROWS_AS

This commit is contained in:
Phil Nash committed 2017-08-08 19:43:07 +01:00
1 parent f033f4f184
commit 8a97beece2
3 files changed
+11 -7

No files matched your search

@@ -90,6 +90,9 @@ namespace Catch {
void AssertionHandler::handle( ResultWas::OfType resultType ) {
handle( resultType, nullptr, false );
}
auto AssertionHandler::allowThrows() const -> bool {
return getCurrentContext().getConfig()->allowThrows();
}
auto AssertionHandler::shouldDebugBreak() const -> bool {
return m_shouldDebugBreak;