Bake exception guard into assertion handler flow
This commit is contained in:
parent
f052762c11
commit
5323202652
4 changed files with 9 additions and 18 deletions
|
@ -36,7 +36,7 @@ namespace Catch {
|
|||
AssertionInfo m_assertionInfo;
|
||||
bool m_shouldDebugBreak = false;
|
||||
bool m_shouldThrow = false;
|
||||
bool m_inExceptionGuard = false;
|
||||
bool m_handled = false;
|
||||
|
||||
public:
|
||||
AssertionHandler
|
||||
|
@ -62,8 +62,6 @@ namespace Catch {
|
|||
void reactWithDebugBreak() const;
|
||||
void reactWithoutDebugBreak() const;
|
||||
void useActiveException();
|
||||
void setExceptionGuard();
|
||||
void unsetExceptionGuard();
|
||||
};
|
||||
|
||||
void handleExceptionMatchExpr( AssertionHandler& handler, std::string const& str, StringRef matcherString );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue