X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=include%2Fanna%2Ftesting%2FTestCase.hpp;h=e87750c71137f546a4e1a5057752f0461c6ab4f6;hp=6ec64ad86f3e097e0b5e34add5ea29d682f26eac;hb=2f2cc741b21502b2bd37060a1059084a54cb8b6e;hpb=a5d4c4f2e8bd10de42bb5a0bfa20acaceaf2e67a diff --git a/include/anna/testing/TestCase.hpp b/include/anna/testing/TestCase.hpp index 6ec64ad..e87750c 100644 --- a/include/anna/testing/TestCase.hpp +++ b/include/anna/testing/TestCase.hpp @@ -78,6 +78,7 @@ public: bool isFinished() const throw() { return (getState() == State::Failed || getState() == State::Success); } bool inProgress() const throw() { return (getState() == State::InProgress); } bool isFailed() const throw() { return (getState() == State::Failed); } + bool isSuccess() const throw() { return (getState() == State::Success); } bool hasSameCondition(const TestDiameterCondition &condition) const throw(); const DebugSummary & getDebugSummary() const throw() { return a_debugSummary; }