X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=example%2Fdiameter%2Flauncher%2Ftesting%2FTestManager.hpp;h=1719faffd3f04cd3cb020c46f148c3fc5851607f;hb=eb1546671c9e29befae4bd5052de9ee804b1a389;hp=1756315420fcaa9f9381756e7e6bce8d8f6178ad;hpb=e3f60b6b4a178c63ebd6f8915431bfa485a2e601;p=anna.git diff --git a/example/diameter/launcher/testing/TestManager.hpp b/example/diameter/launcher/testing/TestManager.hpp index 1756315..1719faf 100644 --- a/example/diameter/launcher/testing/TestManager.hpp +++ b/example/diameter/launcher/testing/TestManager.hpp @@ -61,7 +61,8 @@ class TestManager : public anna::timex::TimeEventObserver, public anna::Singleto // Pool of test cases test_pool_t a_testPool; test_pool_it a_currentTestIt; - bool a_poolRepeat; // repeat pool when finish + int a_poolRepeats; // repeat pool N times + int a_poolCycle; // current cycle, from 1 to N unsigned int a_inProgressCount; unsigned int a_inProgressLimit; // limit load to have this value @@ -108,8 +109,10 @@ class TestManager : public anna::timex::TimeEventObserver, public anna::Singleto bool clearPool() throw(); bool resetPool(bool hard /* hard reset includes in-progress test cases */) throw(); - void setPoolRepeat(bool repeat) throw() { a_poolRepeat = repeat; } - bool getPoolRepeat() const throw() { return a_poolRepeat; } + void setPoolRepeats(int repeats) throw() { a_poolRepeats = repeats; } + int getPoolRepeats() const throw() { return a_poolRepeats; } + int getPoolCycle() const throw() { return a_poolCycle; } + unsigned int getInProgressCount() const throw() { return a_inProgressCount; } void setInProgressCountDelta(unsigned int delta) throw() { a_inProgressCount += delta; } unsigned int getInProgressLimit() const throw() { return a_inProgressLimit; }