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::Task * | testtk |
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] |
Definition at line 41 of file TaskTests.cpp.
Task::TaskTests::TaskTests | ( | ) | [inline] |
Constructor.
Definition at line 65 of file TaskTests.cpp.
Task::TaskTests::~TaskTests | ( | ) | [inline] |
Destructor.
Definition at line 80 of file TaskTests.cpp.
Task::TaskTests::CPPUNIT_TEST | ( | test_open_close | ) | [private] |
Task::TaskTests::CPPUNIT_TEST | ( | test_activate | ) | [private] |
Task::TaskTests::CPPUNIT_TEST | ( | test_activate2 | ) | [private] |
Task::TaskTests::CPPUNIT_TEST | ( | test_wait | ) | [private] |
Task::TaskTests::CPPUNIT_TEST | ( | test_suspend | ) | [private] |
Task::TaskTests::CPPUNIT_TEST | ( | test_resume | ) | [private] |
Task::TaskTests::CPPUNIT_TEST_SUITE | ( | TaskTests | ) | [private] |
Task::TaskTests::CPPUNIT_TEST_SUITE_END | ( | ) | [private] |
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.
void Task::TaskTests::test_activate2 | ( | ) | [inline] |
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.
void Task::TaskTests::test_open_close | ( | ) | [inline] |
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.
bool Task::TaskTests::m_statflag [private] |
Definition at line 56 of file TaskTests.cpp.
short Task::TaskTests::m_tasknumber [private] |
Definition at line 57 of file TaskTests.cpp.
short Task::TaskTests::m_threadcmd [private] |
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.