CppUnit project page | CppUnit home page |
#include <cpput/assertcommon.h>
Go to the source code of this file.
Namespaces | |
namespace | CppUT |
Defines | |
#define | CPPUT_ASSERTSTR_START |
Asserts that a string starts with the specified character sequence. | |
#define | CPPUT_ASSERTSTR_END |
Asserts that a string ends with the specified character sequence. | |
#define | CPPUT_ASSERTSTR_CONTAIN |
Asserts that a string contains the specified character sequence. | |
#define | CPPUT_ASSERTSTR_EQUAL |
Asserts that two string are identical.
Useful to compare | |
#define | CPPUT_CHECKSTR_START |
Asserts that a string starts with the specified character sequence. | |
#define | CPPUT_CHECKSTR_END |
Asserts that a string ends with the specified character sequence. | |
#define | CPPUT_CHECKSTR_CONTAIN |
Asserts that a string contains the specified character sequence. | |
#define | CPPUT_CHECKSTR_EQUAL |
Asserts that two string are identical.
Useful to compare | |
Functions | |
CheckerResult | CppUT::checkStdStringStartsWith (const std::string &string, const std::string &pattern, const Message &message) |
CheckerResult | CppUT::checkStdStringEndsWith (const std::string &string, const std::string &pattern, const Message &message) |
CheckerResult | CppUT::checkStdStringContains (const std::string &string, const std::string &pattern, const Message &message) |
CheckerResult | CppUT::checkStdStringEquals (const std::string &expected, const std::string &actual, const Message &message) |
template<typename String1, typename String2> | |
CheckerResult | CppUT::checkStringStartsWith (const String1 &string, const String2 &pattern, const Message &message=Message()) |
template<typename String1, typename String2> | |
CheckerResult | CppUT::checkStringEndsWith (const String1 &string, const String2 &pattern, const Message &message=Message()) |
template<typename String1, typename String2> | |
CheckerResult | CppUT::checkStringContains (const String1 &string, const String2 &pattern, const Message &message=Message()) |
template<typename String1, typename String2> | |
CheckerResult | CppUT::checkStringEquals (const String1 &expected, const String2 &actual, const Message &message=Message()) |
hosts this site. |
Send comments to: CppUnit Developers |