// Standard
#include <string>
#include <vector>
+#include <map>
// Project
#include <anna/core/DataBlock.hpp>
anna::xml::Node* asXML(anna::xml::Node* parent) const throw();
};
- TestCase(unsigned int id) : a_id(id), a_state(State::Initialized), a_startTime(0), a_interactiveAmount(-1) { /*a_stepsIt = a_steps.end()*/;}
+ TestCase(unsigned int id);
~TestCase();
struct State { enum _v { Initialized, InProgress, Failed, Success }; };
//helpers
int steps() const throw() { return a_steps.size(); }
+ void addStep(TestStep *step) throw() { a_steps.push_back(step); }
+
TestStepWait *searchNextWaitConditionFulfilled(const anna::DataBlock &message, bool waitFromEntity) throw();
// When a message arrives, we identify the test case by mean the Session-Id. Then, from the current step iterator (included),
// we search for a fulfilling condition for that message. The first found, is 'completed' and then breaks the search.