| CppUnit project page | CppUnit home page | 
#include <cpput/testcase.h>#include <cpput/assertcommon.h>#include <cpput/exceptionguard.h>#include <cpptl/functor.h>#include <cpput/message.h>#include <cpput/resource.h>#include <cpput/testvisitor.h>

| Namespaces | |
| namespace | CppUT | 
| Functions | |
| TestPtr | CppUT::makeTestCase (void(*run)(), const std::string &name) | 
| Creates a TestCase with the specified name and run functor. | |
| TestPtr | CppUT::makeTestCase (const CppTL::Functor0 &run, const std::string &name) | 
| Creates a TestCase with the specified name and run functor. | |
| TestPtr | CppUT::makeTestCase (const CppTL::Functor0 &setUp, const CppTL::Functor0 &run, const CppTL::Functor0 &tearDown, const std::string &name) | 
| Creates a TestCase with the specified name and setUp, run, and tearDown functor. | |
| TestPtr | CppUT::makeFailingTestCase (const std::string &name, const Message &message) | 
| Creates a TestCase with the specified name that will always fail. 
The test case run body simply call CPPUT_FAIL() with the specified message.   | |
| Message message_ | 
|  | hosts this site. | Send comments to: CppUnit Developers |