31 TestMethodName(methodName);
32 methodList.push_back(methodName);
41 throw(Poco::InvalidArgumentException)
43 std::size_t testIndex = 0;
44 std::size_t testLength = testNames.size();
47 for (std::size_t nX = 0; nX < methodList.size(); nX++)
49 const std::string& methodName = methodList[nX];
50 const std::string& testName = testNames[testIndex];
51 TestMethodName(testName);
52 if (testName == methodName)
54 if (testIndex >= testLength)
62 TestMethodName(methodName);
63 return std::find(methodList.begin(), methodList.end(), methodName) != methodList.end();
68 for (std::size_t i = 0; i < methodNames.size(); i++)
70 TestMethodName(methodNames[i]);
71 if (std::find(methodList.begin(), methodList.end(), methodNames[i]) == methodList.end())
79 return methodList.empty();
84 for (std::size_t i = 0; i < methodList.size(); i++)
85 out << methodList[i] << std::endl;
88 void CallHistory::TestMethodName(
const std::string&)
const
89 throw(
Poco::InvalidArgumentException)
bool VerifyOrder(const std::vector< std::string > &testNames) const
bool Contains(const std::string &methodName) const
void PrintTo(std::ostream &out) const
void Add(const std::string &methodName)