Main Page
Namespaces
Classes
Files
File List
File Members
src
lib
doil
utils
omniidl_be
tests
unitTest
ExecutionContextServiceServant
ExecutionContextServiceServantTests.cpp
Go to the documentation of this file.
1
// -*- C++ -*-
12
/*
13
* $Log$
14
*
15
*/
16
17
#ifndef ExecutionContextServiceServant_cpp
18
#define ExecutionContextServiceServant_cpp
19
20
#include <cppunit/ui/text/TestRunner.h>
21
#include <cppunit/extensions/HelperMacros.h>
22
#include <cppunit/TestAssert.h>
23
28
namespace
ExecutionContextServiceServant
29
{
30
class
ExecutionContextServiceServantTests
31
:
public
CppUnit::TestFixture
32
{
33
CPPUNIT_TEST_SUITE
(
ExecutionContextServiceServantTests
);
34
CPPUNIT_TEST
(
test_case0
);
35
CPPUNIT_TEST_SUITE_END
();
36
37
private
:
38
39
public
:
40
44
ExecutionContextServiceServantTests
()
45
{
46
}
47
51
~ExecutionContextServiceServantTests
()
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 ExecutionContextServiceServant
76
77
/*
78
* Register test suite
79
*/
80
CPPUNIT_TEST_SUITE_REGISTRATION
(
ExecutionContextServiceServant::ExecutionContextServiceServantTests
);
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 // ExecutionContextServiceServant_cpp
main
int main(int argc, char **argv)
Definition:
AutoTestInComp.cpp:74
ExecutionContextServiceServant::ExecutionContextServiceServantTests::~ExecutionContextServiceServantTests
~ExecutionContextServiceServantTests()
Destructor.
Definition:
ExecutionContextServiceServantTests.cpp:51
ExecutionContextServiceServant::ExecutionContextServiceServantTests::test_case0
void test_case0()
Definition:
ExecutionContextServiceServantTests.cpp:70
CPPUNIT_TEST_SUITE_REGISTRATION
CPPUNIT_TEST_SUITE_REGISTRATION(ExecutionContextServiceServant::ExecutionContextServiceServantTests)
ExecutionContextServiceServant::ExecutionContextServiceServantTests::ExecutionContextServiceServantTests
ExecutionContextServiceServantTests()
Constructor.
Definition:
ExecutionContextServiceServantTests.cpp:44
ExecutionContextServiceServant::ExecutionContextServiceServantTests
Definition:
ExecutionContextServiceServantTests.cpp:30
ExecutionContextServiceServant::ExecutionContextServiceServantTests::setUp
virtual void setUp()
Test initialization.
Definition:
ExecutionContextServiceServantTests.cpp:58
ExecutionContextServiceServant::ExecutionContextServiceServantTests::tearDown
virtual void tearDown()
Test finalization.
Definition:
ExecutionContextServiceServantTests.cpp:65
ExecutionContextServiceServant::ExecutionContextServiceServantTests::CPPUNIT_TEST
CPPUNIT_TEST(test_case0)
ExecutionContextServiceServant::ExecutionContextServiceServantTests::CPPUNIT_TEST_SUITE
CPPUNIT_TEST_SUITE(ExecutionContextServiceServantTests)
ExecutionContextServiceServant::ExecutionContextServiceServantTests::CPPUNIT_TEST_SUITE_END
CPPUNIT_TEST_SUITE_END()
ExecutionContextServiceServant
Definition:
ExecutionContextServiceServantTests.cpp:28
AddRemoveRTCTest.retcode
retcode
Definition:
AddRemoveRTCTest.py:73
openrtm_aist
Author(s): Noriaki Ando
autogenerated on Mon Jun 10 2019 14:07:52