17 #ifndef MonitoringServant_cpp 18 #define MonitoringServant_cpp 21 #include <cppunit/ui/text/TestRunner.h> 22 #include <cppunit/extensions/HelperMacros.h> 23 #include <cppunit/TestAssert.h> 38 :
public CppUnit::TestFixture
79 CPPUNIT_FAIL(
"Automatic failue.");
90 int main(
int argc,
char* argv[])
92 CppUnit::TextUi::TestRunner runner;
93 runner.addTest(CppUnit::TestFactoryRegistry::getRegistry().makeTest());
94 CppUnit::Outputter* outputter =
95 new CppUnit::TextOutputter(&runner.result(), std::cout);
96 runner.setOutputter(outputter);
101 #endif // MonitoringServant_cpp int main(int argc, char **argv)
MonitoringServantTests()
Constructor.
virtual void tearDown()
Test finalization.
doil implementation base class
~MonitoringServantTests()
Destructor.
CPPUNIT_TEST_SUITE(MonitoringServantTests)
virtual void setUp()
Test initialization.
CPPUNIT_TEST_SUITE_REGISTRATION(MonitoringServant::MonitoringServantTests)