![]() |
User Manual, Developers Guide and API Documentation |
![]() |
Classes | |
| class | DetailedListener |
| Prints the name of each test and "OK" or "FAILED" plus the time needed for the test. More... | |
Functions | |
| bool | compareFile (const std::string filename, const std::string regex) |
| Match a file against a regular expression. | |
| bool | compareString (const std::string content, const std::string regex, bool matchEntireContent=true) |
| Match a string against a regular expression. | |
| bool | matchInFile (const std::string filename, std::vector< std::string > regexps) |
| Check whether a file matches a list of regexps. | |
| bool | matchInFile (const std::string filename, const std::string regex) |
| Check whether a file matches a regexp. | |
| bool | matchInString (const std::string content, std::vector< std::string > regexps) |
| Check whether a string matches a list of regexps. | |
| bool | matchInString (const std::string content, const std::string regex) |
| Check whether a string matches a regexp. | |
| bool wns::testing::compareFile | ( | const std::string | filename, | |
| const std::string | regex | |||
| ) |
Definition at line 38 of file TestTool.cpp.
| bool wns::testing::compareString | ( | const std::string | content, | |
| const std::string | regex, | |||
| bool | matchEntireContent | |||
| ) |
Definition at line 52 of file TestTool.cpp.
| bool wns::testing::matchInFile | ( | const std::string | filename, | |
| std::vector< std::string > | regexps | |||
| ) |
Definition at line 117 of file TestTool.cpp.
| bool wns::testing::matchInFile | ( | const std::string | filename, | |
| const std::string | regex | |||
| ) |
Definition at line 105 of file TestTool.cpp.
| bool wns::testing::matchInString | ( | const std::string | content, | |
| std::vector< std::string > | regexps | |||
| ) |
Definition at line 135 of file TestTool.cpp.
| bool wns::testing::matchInString | ( | const std::string | content, | |
| std::string | regex | |||
| ) |
Definition at line 129 of file TestTool.cpp.
1.5.5