|
template<typename ContainerT > |
void | deleteAll (ContainerT &container) |
|
template<typename AssociativeContainerT > |
void | deleteAllValues (AssociativeContainerT &container) |
|
template<typename ContainerT , typename Function > |
void | forEach (ContainerT &container, Function function) |
|
template<typename ContainerT , typename Function > |
void | forEach (ContainerT const &container, Function function) |
|
bool | startsWith (std::string const &s, std::string const &prefix) |
|
bool | endsWith (std::string const &s, std::string const &suffix) |
|
bool | contains (std::string const &s, std::string const &infix) |
|
void | toLowerInPlace (std::string &s) |
|
std::string | toLower (std::string const &s) |
|
std::ostream & | operator<< (std::ostream &os, SourceLineInfo const &info) |
|
bool | isTrue (bool value) |
|
void | throwLogicError (std::string const &message, SourceLineInfo const &locationInfo) |
|
IGeneratorsForTest * | createGeneratorsForTest () |
|
IContext & | getCurrentContext () |
|
IMutableContext & | getCurrentMutableContext () |
|
void | cleanUpContext () |
|
Stream | createStream (std::string const &streamName) |
|
template<typename T > |
std::string | toString (T const &value) |
| converts any type to a string More...
|
|
std::string | toString (std::string const &value) |
|
std::string | toString (std::wstring const &value) |
|
std::string | toString (const char *const value) |
|
std::string | toString (char *const value) |
|
std::string | toString (int value) |
|
std::string | toString (unsigned long value) |
|
std::string | toString (unsigned int value) |
|
std::string | toString (const double value) |
|
std::string | toString (bool value) |
|
std::string | toString (char value) |
|
std::string | toString (signed char value) |
|
std::string | toString (unsigned char value) |
|
bool | isOk (ResultWas::OfType resultType) |
|
bool | isJustInfo (int flags) |
|
ResultDisposition::Flags | operator| (ResultDisposition::Flags lhs, ResultDisposition::Flags rhs) |
|
bool | shouldContinueOnFailure (int flags) |
|
bool | shouldNegate (int flags) |
|
bool | shouldSuppressFailure (int flags) |
|
TestCase | makeTestCase (ITestCase *testCase, std::string const &className, std::string const &name, std::string const &description, SourceLineInfo const &lineInfo) |
|
std::string | trim (std::string const &str) |
|
IRegistryHub & | getRegistryHub () |
|
IMutableRegistryHub & | getMutableRegistryHub () |
|
void | cleanUp () |
|
std::string | translateActiveException () |
|
IResultCapture & | getResultCapture () |
|
template<typename MatcherT > |
ExpressionResultBuilder | expressionResultBuilderFromMatcher (MatcherT const &matcher, std::string const &matcherCallAsString) |
|
template<typename MatcherT , typename ArgT > |
ExpressionResultBuilder | expressionResultBuilderFromMatcher (MatcherT const &matcher, ArgT const &arg, std::string const &matcherCallAsString) |
|
template<typename MatcherT , typename ArgT > |
ExpressionResultBuilder | expressionResultBuilderFromMatcher (MatcherT const &matcher, ArgT *arg, std::string const &matcherCallAsString) |
|
template<> |
std::string | toString< Detail::Approx > (Detail::Approx const &value) |
|