X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=include%2Fanna%2Ftesting%2FTestCase.hpp;h=3ebd5354f9dffd3e5b19feac0651053b2c122547;hp=e87750c71137f546a4e1a5057752f0461c6ab4f6;hb=21054b5919e21b14627fac09e718262ae2812af4;hpb=882e3764e48fdf93aeb078c1832b10a956288da3 diff --git a/include/anna/testing/TestCase.hpp b/include/anna/testing/TestCase.hpp index e87750c..3ebd535 100644 --- a/include/anna/testing/TestCase.hpp +++ b/include/anna/testing/TestCase.hpp @@ -119,6 +119,9 @@ public: // Reset test case and underlaying information (steps context) bool reset(bool hard /* hard reset includes in-progress test cases */) throw(); + // Check for clear (destroy steps) + bool safeToClear(); // false if something pending (running threads steps) + // getters const unsigned int &getId() const throw() { return a_id; } const std::string &getDescription() const throw() { return a_description; }