CppUnit project page | FAQ | CppUnit home page |
#include <cppunit/Portability.h>
#include <cppunit/Exception.h>
#include <string>
Include dependency graph for TestAssert.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces | |
namespace | CppUnit |
namespace | CppUnit::TestAssert |
Defines | |
#define | CPPUNIT_ASSERT(condition) |
A set of macros which allow us to get the line number and file name at the point of an error. More... | |
#define | CPPUNIT_ASSERT_MESSAGE(message, condition) |
Assertion with a user specified message. More... | |
#define | CPPUNIT_ASSERT_EQUAL(expected, actual) |
Equality and string representation can be defined with an appropriate assertion_traits class. More... | |
#define | CPPUNIT_ASSERT_DOUBLES_EQUAL(expected, actual, delta) |
Macro for primitive value comparisons. More... |
|
Value: (CppUnit::TestAssert::assertImplementation ((condition),"",\ __LINE__, __FILE__)) Just goes to show that preprocessors do have some redeeming qualities. |
|
Value: (CppUnit::TestAssert::assertEquals ((expected),\ (actual),(delta),__LINE__,__FILE__))
|
|
Value: (CppUnit::TestAssert::assertEquals ((expected),\ (actual),__LINE__,__FILE__)) A diagnostic is printed if actual and expected values disagree. |
|
Value: (CppUnit::TestAssert::assertImplementation( condition, \ message, \ __LINE__, \ __FILE__ ) )
|
|
hosts this site. |
Send comments to: CppUnit Developers |