+anna::xml::Node* TestStepIpLimit::asXML(anna::xml::Node* parent)
+throw() {
+ anna::xml::Node* result = TestStep::asXML(parent);
+ std::string limit = (a_ipLimit != UINT_MAX) ? anna::functions::asString(a_ipLimit) : "<no limit>";
+ result->createAttribute("IpLimit", limit);
+
+ return result;
+}
+
+bool TestStepIpLimit::do_execute() throw() {
+ TestManager::instantiate().setInProgressLimit(a_ipLimit);
+ complete();
+ return true; // go next
+}
+
+void TestStepIpLimit::do_complete() throw() {
+ if (TestManager::instantiate().getDumpStdout()) {
+ std::string limit = (a_ipLimit != UINT_MAX) ? anna::functions::asString(a_ipLimit) : "<no limit>";
+ std::cout << "Executed IpLimit Test Step (value = " << limit << ")" << std::endl;
+ }
+}
+