17 #ifndef OrganizationServant_cpp 18 #define OrganizationServant_cpp 20 #include <cppunit/ui/text/TestRunner.h> 21 #include <cppunit/extensions/HelperMacros.h> 22 #include <cppunit/TestAssert.h> 31 :
public CppUnit::TestFixture
72 CPPUNIT_FAIL(
"Automatic failue.");
83 int main(
int argc,
char* argv[])
85 CppUnit::TextUi::TestRunner runner;
86 runner.addTest(CppUnit::TestFactoryRegistry::getRegistry().makeTest());
87 CppUnit::Outputter* outputter =
88 new CppUnit::TextOutputter(&runner.result(), std::cout);
89 runner.setOutputter(outputter);
94 #endif // OrganizationServant_cpp int main(int argc, char **argv)
virtual void tearDown()
Test finalization.
OrganizationServantTests()
Constructor.
virtual void setUp()
Test initialization.
CPPUNIT_TEST_SUITE_REGISTRATION(OrganizationServant::OrganizationServantTests)
~OrganizationServantTests()
Destructor.
CPPUNIT_TEST_SUITE(OrganizationServantTests)