Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
Task::TaskTests Class Reference
Inheritance diagram for Task::TaskTests:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void setUp ()
 Test initialization.
int svc (void)
 Execute thread.
 TaskTests ()
 Constructor.
virtual void tearDown ()
 Test finalization.
void test_activate ()
void test_activate2 ()
 activate()
void test_case0 ()
void test_open_close ()
void test_resume ()
void test_suspend ()
void test_wait ()
 ~TaskTests ()
 Destructor.

Public Attributes

coil::Tasktesttk

Private Member Functions

 CPPUNIT_TEST (test_open_close)
 CPPUNIT_TEST (test_activate)
 CPPUNIT_TEST (test_activate2)
 CPPUNIT_TEST (test_wait)
 CPPUNIT_TEST (test_suspend)
 CPPUNIT_TEST (test_resume)
 CPPUNIT_TEST_SUITE (TaskTests)
 CPPUNIT_TEST_SUITE_END ()

Private Attributes

bool m_statflag
short m_tasknumber
short m_threadcmd
short m_threadcnt [256]

Detailed Description

Definition at line 41 of file TaskTests.cpp.


Constructor & Destructor Documentation

Constructor.

Definition at line 65 of file TaskTests.cpp.

Destructor.

Definition at line 80 of file TaskTests.cpp.


Member Function Documentation

virtual void Task::TaskTests::setUp ( ) [inline, virtual]

Test initialization.

Definition at line 87 of file TaskTests.cpp.

int Task::TaskTests::svc ( void  ) [inline, virtual]

Execute thread.

Execute thread

Reimplemented from coil::Task.

Definition at line 102 of file TaskTests.cpp.

virtual void Task::TaskTests::tearDown ( ) [inline, virtual]

Test finalization.

Definition at line 94 of file TaskTests.cpp.

void Task::TaskTests::test_activate ( ) [inline]

Definition at line 160 of file TaskTests.cpp.

activate()

This function tests the Task::activate function.

Definition at line 199 of file TaskTests.cpp.

void Task::TaskTests::test_case0 ( ) [inline]

Definition at line 132 of file TaskTests.cpp.

Definition at line 141 of file TaskTests.cpp.

void Task::TaskTests::test_resume ( ) [inline]

Definition at line 263 of file TaskTests.cpp.

void Task::TaskTests::test_suspend ( ) [inline]

Definition at line 250 of file TaskTests.cpp.

void Task::TaskTests::test_wait ( ) [inline]

Definition at line 237 of file TaskTests.cpp.


Member Data Documentation

Definition at line 56 of file TaskTests.cpp.

Definition at line 57 of file TaskTests.cpp.

Definition at line 58 of file TaskTests.cpp.

short Task::TaskTests::m_threadcnt[256] [private]

Definition at line 59 of file TaskTests.cpp.

Definition at line 61 of file TaskTests.cpp.


The documentation for this class was generated from the following file:


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Thu Aug 27 2015 14:16:42