CppUnit project page | CppUnit home page |
Classes | |
struct | CppUT::EqualityTraits< AType, BType > |
struct | CppUT::NoSpecificEqualityTest |
struct | CppUT::DefaultStringizer< ValueType > |
A generic functor that can be used to convert a value into a string.
It is used as default argument by function template that allow the user to pass a specific functor to convert data to string. More... | |
struct | CppUT::RefStringizer< ValueType > |
struct | CppUT::DerefStringizer< ValueType > |
struct | CppUT::NotConvertibleToStdString |
Functions | |
NoSpecificEqualityTest | CppUT::isEqual (...) |
template<typename AType, typename BType> | |
implementation_detail bool | CppUT::equalityTest (const AType &a, const BType &b) |
std::string | CppUT::getStdString (const char *cstr) |
std::string | CppUT::getStdString (const std::string &s) |
std::string | CppUT::getStdString (const CppTL::ConstString &s) |
template<class T> | |
NotConvertibleToStdString | CppUT::getStdString (const T &) |
template<class StringType> | |
std::string | CppUT::convertToString (const StringType &s) |
template<typename ValueType> | |
implementation_detail std::string | CppUT::stringize (const ValueType &value) |
template<typename ValueType> | |
std::string | CppUT::defaultStringize (const ValueType &value) |
std::string CppUT::convertToString | ( | const StringType & | s | ) | [inline] |
References CppUT::getStdString().
Referenced by CppUT::checkStringContains(), CppUT::checkStringEndsWith(), CppUT::checkStringEquals(), and CppUT::checkStringStartsWith().
std::string CppUT::defaultStringize | ( | const ValueType & | value | ) | [inline] |
implementation_detail bool CppUT::equalityTest | ( | const AType & | a, | |
const BType & | b | |||
) | [inline] |
References CppUT::isEqual().
Referenced by CppUT::checkEquals(), CppUT::checkNotEquals(), CppUT::RefComparator< AType, BType >::operator()(), and CppUT::DefaultComparator< AType, BType >::operator()().
NotConvertibleToStdString CppUT::getStdString | ( | const T & | ) | [inline] |
std::string CppUT::getStdString | ( | const CppTL::ConstString & | s | ) | [inline] |
References CppTL::ConstString::c_str().
std::string CppUT::getStdString | ( | const std::string & | s | ) | [inline] |
std::string CppUT::getStdString | ( | const char * | cstr | ) | [inline] |
Referenced by CppUT::convertToString(), and CppUT::stringize().
NoSpecificEqualityTest CppUT::isEqual | ( | ... | ) | [inline] |
Referenced by CppUT::equalityTest().
implementation_detail std::string CppUT::stringize | ( | const ValueType & | value | ) | [inline] |
References CppUT::getStdString().
Referenced by CppUT::checkCustomHeterogeneousSequenceEqual(), CppUT::checkStdStringEquals(), CppUT::makeEqualityFailedMessage(), CppUT::makeUnequalityFailedMessage(), CppUT::DerefStringizer< ValueType >::operator()(), CppUT::RefStringizer< ValueType >::operator()(), CppUT::DefaultStringizer< ValueType >::operator()(), and CppUT::stringizeEnumItem().
hosts this site. |
Send comments to: CppUnit Developers |