
Public Member Functions | |
| virtual void | setUp () |
| Test initialization. More... | |
| int | svc (void) |
| Execute thread. More... | |
| TaskTests () | |
| Constructor. More... | |
| virtual void | tearDown () |
| Test finalization. More... | |
| void | test_activate () |
| void | test_activate2 () |
| activate() More... | |
| void | test_case0 () |
| void | test_open_close () |
| void | test_resume () |
| void | test_suspend () |
| void | test_wait () |
| ~TaskTests () | |
| Destructor. More... | |
Public Member Functions inherited from coil::Task | |
| virtual void | activate () |
| Create a thread. More... | |
| virtual void | activate () |
| Create a thread. More... | |
| virtual int | close (unsigned long flags=0) |
| Task close. More... | |
| virtual int | close (unsigned long flags=0) |
| Task close. More... | |
| virtual void | finalize () |
| Finalizing the task. More... | |
| virtual void | finalize () |
| Finalizing the task. More... | |
| virtual int | open (void *args=0) |
| Task open. More... | |
| virtual int | open (void *args=0) |
| Task open. More... | |
| virtual void | reset () |
| Reset of task count. More... | |
| virtual void | reset () |
| Reset of task count. More... | |
| virtual int | resume (void) |
| Resuming the suspended task. More... | |
| virtual int | resume (void) |
| Resuming the suspended task. More... | |
| virtual int | suspend (void) |
| Suspending the task. More... | |
| virtual int | suspend (void) |
| Suspending the task. More... | |
| Task () | |
| Constructor. More... | |
| Task () | |
| Constructor. More... | |
| virtual int | wait (void) |
| Waiting for the thread terminate. More... | |
| virtual int | wait (void) |
| Waiting for the thread terminate. More... | |
| virtual | ~Task () |
| Destructor. More... | |
| virtual | ~Task () |
| Destructor. More... | |
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] |
Additional Inherited Members | |
Static Public Member Functions inherited from coil::Task | |
| static void * | svc_run (void *args=0) |
| Start thread Execution. More... | |
| static unsigned int WINAPI | svc_run (void *args=0) |
| Start thread Execution. More... | |
Definition at line 41 of file TaskTests.cpp.
|
inline |
Constructor.
Definition at line 65 of file TaskTests.cpp.
|
inline |
Destructor.
Definition at line 80 of file TaskTests.cpp.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
inlinevirtual |
Test initialization.
Definition at line 87 of file TaskTests.cpp.
|
inlinevirtual |
Execute thread.
Execute thread
Reimplemented from coil::Task.
Definition at line 102 of file TaskTests.cpp.
|
inlinevirtual |
Test finalization.
Definition at line 94 of file TaskTests.cpp.
|
inline |
Definition at line 160 of file TaskTests.cpp.
|
inline |
This function tests the Task::activate function.
Definition at line 199 of file TaskTests.cpp.
|
inline |
Definition at line 132 of file TaskTests.cpp.
|
inline |
Definition at line 141 of file TaskTests.cpp.
|
inline |
Definition at line 263 of file TaskTests.cpp.
|
inline |
Definition at line 250 of file TaskTests.cpp.
|
inline |
Definition at line 237 of file TaskTests.cpp.
|
private |
Definition at line 56 of file TaskTests.cpp.
|
private |
Definition at line 57 of file TaskTests.cpp.
|
private |
Definition at line 58 of file TaskTests.cpp.
|
private |
Definition at line 59 of file TaskTests.cpp.
| coil::Task* Task::TaskTests::testtk |
Definition at line 61 of file TaskTests.cpp.