SDOServiceServantTests.cpp
Go to the documentation of this file.
00001 // -*- C++ -*-
00012 /*
00013  * $Log$
00014  *
00015  */
00016 
00017 #ifndef SDOServiceServant_cpp
00018 #define SDOServiceServant_cpp
00019 
00020 #include <cppunit/ui/text/TestRunner.h>
00021 #include <cppunit/extensions/HelperMacros.h>
00022 #include <cppunit/TestAssert.h>
00023 
00028 namespace SDOServiceServant
00029 {
00030   class SDOServiceServantTests
00031    : public CppUnit::TestFixture
00032   {
00033     CPPUNIT_TEST_SUITE(SDOServiceServantTests);
00034     CPPUNIT_TEST(test_case0);
00035     CPPUNIT_TEST_SUITE_END();
00036   
00037   private:
00038   
00039   public:
00040   
00044     SDOServiceServantTests()
00045     {
00046     }
00047     
00051     ~SDOServiceServantTests()
00052     {
00053     }
00054   
00058     virtual void setUp()
00059     {
00060     }
00061     
00065     virtual void tearDown()
00066     { 
00067     }
00068   
00069     /* test case */
00070     void test_case0()
00071     {
00072       CPPUNIT_FAIL("Automatic failue.");
00073     }
00074   };
00075 }; // namespace SDOServiceServant
00076 
00077 /*
00078  * Register test suite
00079  */
00080 CPPUNIT_TEST_SUITE_REGISTRATION(SDOServiceServant::SDOServiceServantTests);
00081 
00082 #ifdef LOCAL_MAIN
00083 int main(int argc, char* argv[])
00084 {
00085     CppUnit::TextUi::TestRunner runner;
00086     runner.addTest(CppUnit::TestFactoryRegistry::getRegistry().makeTest());
00087     CppUnit::Outputter* outputter = 
00088       new CppUnit::TextOutputter(&runner.result(), std::cout);
00089     runner.setOutputter(outputter);
00090     bool retcode = runner.run();
00091     return !retcode;
00092 }
00093 #endif // MAIN
00094 #endif // SDOServiceServant_cpp


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Sat Jun 8 2019 18:49:07