mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-02 21:35:40 +02:00
Remove assertionPassed fast path from the capture interface
As it is an internal helper for RunContext to speed-up handling of succesfull assertions, I have no idea why it was added to the interface back when it was first implemented.
This commit is contained in:
@@ -93,9 +93,7 @@ namespace Catch {
|
|||||||
AssertionReaction &reaction ) = 0;
|
AssertionReaction &reaction ) = 0;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
virtual bool lastAssertionPassed() = 0;
|
virtual bool lastAssertionPassed() = 0;
|
||||||
virtual void assertionPassed() = 0;
|
|
||||||
|
|
||||||
// Deprecated, do not use:
|
// Deprecated, do not use:
|
||||||
virtual std::string getCurrentTestName() const = 0;
|
virtual std::string getCurrentTestName() const = 0;
|
||||||
|
@@ -108,7 +108,7 @@ namespace Catch {
|
|||||||
|
|
||||||
bool lastAssertionPassed() override;
|
bool lastAssertionPassed() override;
|
||||||
|
|
||||||
void assertionPassed() override;
|
void assertionPassed();
|
||||||
|
|
||||||
public:
|
public:
|
||||||
// !TBD We need to do this another way!
|
// !TBD We need to do this another way!
|
||||||
|
Reference in New Issue
Block a user