CppUnit project page CppUnit home page

assert.cpp File Reference

#include <cpput/assertcommon.h>
#include <cpput/message.h>
#include <cpput/stringize.h>
#include <cpput/translate.h>

Include dependency graph for assert.cpp:


Namespaces

namespace  CppUT

Functions

CheckerResult CppUT::pass ()
CheckerResult CppUT::fail ()
CheckerResult CppUT::fail (const LazyMessage &message)
CheckerResult CppUT::checkTrue (bool shouldBeTrue, const LazyMessage &message=LazyMessage::none)
CheckerResult CppUT::checkFalse (bool shouldBeFalse, const LazyMessage &message=LazyMessage::none)
CheckerResult CppUT::checkAssertionFail (bool assertionFailed, const LazyMessage &message=LazyMessage::none)
CheckerResult CppUT::checkAssertionPass (bool assertionFailed, const LazyMessage &message=LazyMessage::none)
void CppUT::buildEqualityFailedMessage (CheckerResult &result, const std::string &expected, const std::string &actual, const LazyMessage &message=LazyMessage::none)
void CppUT::buildUnequalityFailedMessage (CheckerResult &result, const std::string &expected, const std::string &actual, const LazyMessage &message=LazyMessage::none)
CheckerResult CppUT::checkDoubleEquals (double expected, double actual, double tolerance, const LazyMessage &message=LazyMessage::none)
void CppUT::skipCurrentTest ()

SourceForge Logo hosts this site. Send comments to:
CppUnit Developers