From: Eduardo Ramos Testillano Date: Wed, 9 Dec 2015 02:54:46 +0000 (+0100) Subject: Correct init at constructor X-Git-Tag: REFACTORING_TESTING_LIBRARY~66 X-Git-Url: https://git.teslayout.com/public/public/public/?a=commitdiff_plain;h=45f145bf512ec538cbc84e28180677d87def2723;p=anna.git Correct init at constructor --- diff --git a/example/diameter/launcher/testing/TestManager.cpp b/example/diameter/launcher/testing/TestManager.cpp index 1317ee3..d4b4759 100644 --- a/example/diameter/launcher/testing/TestManager.cpp +++ b/example/diameter/launcher/testing/TestManager.cpp @@ -95,7 +95,7 @@ TestManager::TestManager() : a_inProgressLimit = UINT_MAX; // no limit a_clock = NULL; //a_testPool.clear(); - a_statSummary.clear(); + //a_statSummary.clear(); a_currentTestIt = a_testPool.end(); } diff --git a/example/diameter/launcher/testing/TestManager.hpp b/example/diameter/launcher/testing/TestManager.hpp index 9e007df..10ca097 100644 --- a/example/diameter/launcher/testing/TestManager.hpp +++ b/example/diameter/launcher/testing/TestManager.hpp @@ -62,6 +62,7 @@ class TestManager : public anna::timex::TimeEventObserver, public anna::Singleto unsigned int a_sucessTcs; public: + StatSummary() { clear(); } void newTCState(const TestCase::State::_v beginState, const TestCase::State::_v endState) throw(); void clear() throw(); unsigned int getInProgressCount() const throw() { return a_inprogressTcs; }