DataFlowComponentServantTests.cpp
Go to the documentation of this file.
00001 // -*- C++ -*-
00012 /*
00013  * $Log$
00014  *
00015  */
00016 
00017 #ifndef DataFlowComponentServant_cpp
00018 #define DataFlowComponentServant_cpp
00019 
00020 #include <cppunit/ui/text/TestRunner.h>
00021 #include <cppunit/extensions/HelperMacros.h>
00022 #include <cppunit/TestAssert.h>
00023 
00028 namespace DataFlowComponentServant
00029 {
00030   class DataFlowComponentServantTests
00031    : public CppUnit::TestFixture
00032   {
00033     CPPUNIT_TEST_SUITE(DataFlowComponentServantTests);
00034     CPPUNIT_TEST(test_case0);
00035     CPPUNIT_TEST_SUITE_END();
00036   
00037   private:
00038   
00039   public:
00040   
00044     DataFlowComponentServantTests()
00045     {
00046     }
00047     
00051     ~DataFlowComponentServantTests()
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 DataFlowComponentServant
00076 
00077 /*
00078  * Register test suite
00079  */
00080 CPPUNIT_TEST_SUITE_REGISTRATION(DataFlowComponentServant::DataFlowComponentServantTests);
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 // DataFlowComponentServant_cpp


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Sun Mar 26 2017 03:37:15