User Manual, Developers Guide and API Documentation

TestTool.hpp File Reference

#include <string>
#include <vector>

Include dependency graph for TestTool.hpp:

Go to the source code of this file.

Namespaces

namespace  wns
namespace  wns::testing

Functions

bool wns::testing::compareFile (const std::string filename, const std::string regex)
 Match a file against a regular expression.
bool wns::testing::compareString (const std::string content, const std::string regex, bool matchEntireContent=true)
 Match a string against a regular expression.
bool wns::testing::matchInFile (const std::string filename, std::vector< std::string > regexps)
 Check whether a file matches a list of regexps.
bool wns::testing::matchInFile (const std::string filename, const std::string regex)
 Check whether a file matches a regexp.
bool wns::testing::matchInString (const std::string content, std::vector< std::string > regexps)
 Check whether a string matches a list of regexps.
bool wns::testing::matchInString (const std::string content, const std::string regex)
 Check whether a string matches a regexp.


Generated on Sat May 26 03:32:19 2012 for openWNS by  doxygen 1.5.5