Allow to automatically reserve an FSM test id
[anna.git] / include / anna / testing / TestManager.hpp
index 916177a..a6b0c21 100644 (file)
@@ -178,7 +178,7 @@ class TestManager : public anna::timex::TimeEventObserver, public anna::Singleto
     bool runTestCase(unsigned int id) ;
     TestCase *findTestCase(unsigned int id) const ; // id = -1 provides current test case triggered
     TestCase *getTestCase(unsigned int id, const std::string &description = "") ; // creates/reuses a test case
-
+                                                                                  // provide 0 to reserve the id = tests() + 1
     // Diameter-specific
     TestCase *getDiameterTestCaseFromSessionId(const anna::DataBlock &message, std::string &sessionId) ;
     TestCase *getDiameterTestCaseFromSubscriberId(const anna::DataBlock &message, std::string &subscriberId) ;