LightweightRTObjectServantTests.cpp
Go to the documentation of this file.
1 // -*- C++ -*-
12 /*
13  * $Log$
14  *
15  */
16 
17 #ifndef LightweightRTObjectServant_cpp
18 #define LightweightRTObjectServant_cpp
19 
20 #include <cppunit/ui/text/TestRunner.h>
21 #include <cppunit/extensions/HelperMacros.h>
22 #include <cppunit/TestAssert.h>
23 
29 {
31  : public CppUnit::TestFixture
32  {
36 
37  private:
38 
39  public:
40 
45  {
46  }
47 
52  {
53  }
54 
58  virtual void setUp()
59  {
60  }
61 
65  virtual void tearDown()
66  {
67  }
68 
69  /* test case */
70  void test_case0()
71  {
72  CPPUNIT_FAIL("Automatic failue.");
73  }
74  };
75 }; // namespace LightweightRTObjectServant
76 
77 /*
78  * Register test suite
79  */
81 
82 #ifdef LOCAL_MAIN
83 int main(int argc, char* argv[])
84 {
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);
90  bool retcode = runner.run();
91  return !retcode;
92 }
93 #endif // MAIN
94 #endif // LightweightRTObjectServant_cpp
int main(int argc, char **argv)
CPPUNIT_TEST_SUITE_REGISTRATION(LightweightRTObjectServant::LightweightRTObjectServantTests)


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Mon Feb 28 2022 23:00:43