Asserter.cpp File Reference

handle assertions More...

Go to the source code of this file.

Namespaces

namespace  mockpp
 

Namespace for project "Mock Objects for C++".


Functions

void mockpp::assertTrue (unsigned srcline, const char *srcfile, const String &message, bool condition)
 Asserts that a condition is true.
void mockpp::assertTrue (unsigned srcline, const char *srcfile, bool condition)
 Asserts that a condition is true.
void mockpp::assertFalse (unsigned srcline, const char *srcfile, const String &message, bool condition)
 Asserts that a condition is false.
void mockpp::assertFalse (unsigned srcline, const char *srcfile, bool condition)
 Asserts that a condition is false.
void mockpp::fail (unsigned srcline, const char *srcfile, const String &message)
 Fails a test with the given message (AssertionFailedError is thrown).
void mockpp::fail (unsigned srcline, const char *srcfile)
 Fails a test with no message.
void mockpp::assertEquals (unsigned srcline, const char *srcfile, const char *expected, const char *actual)
 Asserts that two c-string are equal.
void mockpp::assertEquals (unsigned srcline, const char *srcfile, const String &message, const char *expected, const char *actual)
 Asserts that two c-string are equal.
void mockpp::assertEquals (unsigned srcline, const char *srcfile, const wchar_t *expected, const wchar_t *actual)
 Asserts that two unicode c-string are equal.
void mockpp::assertEquals (unsigned srcline, const char *srcfile, const String &message, const wchar_t *expected, const wchar_t *actual)
 Asserts that two unicode c-string are equal.
void mockpp::assertDelta (unsigned srcline, const char *srcfile, const String &message, double expected, double actual, double delta)
 Asserts that two doubles are equal concerning a delta.
void mockpp::assertDelta (unsigned srcline, const char *srcfile, double expected, double actual, double delta)
 Asserts that two doubles are equal concerning a delta.
void mockpp::assertDelta (unsigned srcline, const char *srcfile, const String &message, float expected, float actual, float delta)
 Asserts that two floats are equal concerning a delta.
void mockpp::assertDelta (unsigned srcline, const char *srcfile, float expected, float actual, float delta)
 Asserts that two floats are equal concerning a delta.

Detailed Description

handle assertions

Id
Asserter.cpp 1503 2010-01-04 10:27:13Z ewald-arnold

Definition in file Asserter.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Friends Defines

Generated on Tue Jan 5 09:48:56 2010 for mockpp by  doxygen 1.6.1