OrganizationServantTests.cpp
Go to the documentation of this file.
1 // -*- C++ -*-
12 /*
13  * $Log$
14  *
15  */
16 
17 #ifndef OrganizationServant_cpp
18 #define OrganizationServant_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 OrganizationServant
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 // OrganizationServant_cpp
int main(int argc, char **argv)
CPPUNIT_TEST_SUITE_REGISTRATION(OrganizationServant::OrganizationServantTests)
CPPUNIT_TEST_SUITE(OrganizationServantTests)


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Mon Jun 10 2019 14:07:53