ParCompMarkTest::TestThread Class Reference

#include <TestThread.h>

List of all members.


Detailed Description

Test suite for ParCompMark::Thread.

This is a CppUnit test suite for class ParCompMark::Thread of project ParCompMark.

Definition at line 56 of file TestThread.h.


Public Member Functions

void setUp ()
 Sets up context before running a test.
void tearDown ()
 Cleans up after the test run.

Protected Member Functions

void test_constructor_cstd__string ()
 Tests constructor Thread::Thread(const std::string &name).
void test_destructor ()
 Tests destructor Thread::~Thread().
void test_yield ()
 Tests method Thread::yield().
void test_getUSTime ()
 Tests method Thread::getUSTime().
void test_entryPoint_void_p ()
 Tests method Thread::entryPoint(void * arg).
void test_initThread_cu32_cu32_cbool_cbool ()
 Tests method Thread::initThread(const u32 &iterationNumber = 0, const u32 &expectedFPS = 0, const bool &joinable = false, const bool &waitThread = false).
void test_threadInitialize ()
 Tests method Thread::threadInitialize().
void test_threadFinalize ()
 Tests method Thread::threadFinalize().
void test_startThread ()
 Tests method Thread::startThread().
void test_joinThread ()
 Tests method Thread::joinThread().
void test_shutDownThread ()
 Tests method Thread::shutDownThread().
void test_stopThread ()
 Tests method Thread::stopThread().
void test_go ()
 Tests method Thread::go().
void test_thread ()
 Tests method Thread::thread().
void test_iteration ()
 Tests method Thread::iteration().
void test_task ()
 Tests method Thread::task().
void test_wait ()
 Tests method Thread::wait().

Member Function Documentation

void ParCompMarkTest::TestThread::setUp (  ) 

Sets up context before running a test.

Definition at line 34 of file TestThread.cpp.

void ParCompMarkTest::TestThread::tearDown (  ) 

Cleans up after the test run.

Definition at line 58 of file TestThread.cpp.

void ParCompMarkTest::TestThread::test_constructor_cstd__string (  )  [protected]

Tests constructor Thread::Thread(const std::string &name).

Definition at line 68 of file TestThread.cpp.

void ParCompMarkTest::TestThread::test_destructor (  )  [protected]

Tests destructor Thread::~Thread().

Definition at line 85 of file TestThread.cpp.

References ParCompMark::Thread::initThread().

Here is the call graph for this function:

void ParCompMarkTest::TestThread::test_entryPoint_void_p (  )  [protected]

Tests method Thread::entryPoint(void * arg).

Definition at line 150 of file TestThread.cpp.

void ParCompMarkTest::TestThread::test_getUSTime (  )  [protected]

Tests method Thread::getUSTime().

Definition at line 126 of file TestThread.cpp.

void ParCompMarkTest::TestThread::test_go (  )  [protected]

Tests method Thread::go().

Definition at line 345 of file TestThread.cpp.

void ParCompMarkTest::TestThread::test_initThread_cu32_cu32_cbool_cbool (  )  [protected]

Tests method Thread::initThread(const u32 &iterationNumber = 0, const u32 &expectedFPS = 0, const bool &joinable = false, const bool &waitThread = false).

Definition at line 168 of file TestThread.cpp.

References ParCompMark::Thread::initThread(), ParCompMark::Thread::mExpectedFPS, and ParCompMark::Thread::mIterationNumber.

Here is the call graph for this function:

void ParCompMarkTest::TestThread::test_iteration (  )  [protected]

Tests method Thread::iteration().

Definition at line 373 of file TestThread.cpp.

void ParCompMarkTest::TestThread::test_joinThread (  )  [protected]

Tests method Thread::joinThread().

Definition at line 258 of file TestThread.cpp.

References ParCompMark::Thread::initThread(), and ParCompMark::Thread::startThread().

Here is the call graph for this function:

void ParCompMarkTest::TestThread::test_shutDownThread (  )  [protected]

Tests method Thread::shutDownThread().

Definition at line 309 of file TestThread.cpp.

void ParCompMarkTest::TestThread::test_startThread (  )  [protected]

Tests method Thread::startThread().

Definition at line 220 of file TestThread.cpp.

References ParCompMark::Thread::initThread(), and ParCompMark::Thread::startThread().

Here is the call graph for this function:

void ParCompMarkTest::TestThread::test_stopThread (  )  [protected]

Tests method Thread::stopThread().

Definition at line 323 of file TestThread.cpp.

References ParCompMark::Thread::initThread(), ParCompMark::Thread::startThread(), and ParCompMark::Thread::stopThread().

Here is the call graph for this function:

void ParCompMarkTest::TestThread::test_task (  )  [protected]

Tests method Thread::task().

Definition at line 387 of file TestThread.cpp.

void ParCompMarkTest::TestThread::test_thread (  )  [protected]

Tests method Thread::thread().

Definition at line 359 of file TestThread.cpp.

void ParCompMarkTest::TestThread::test_threadFinalize (  )  [protected]

Tests method Thread::threadFinalize().

Definition at line 206 of file TestThread.cpp.

void ParCompMarkTest::TestThread::test_threadInitialize (  )  [protected]

Tests method Thread::threadInitialize().

Definition at line 192 of file TestThread.cpp.

void ParCompMarkTest::TestThread::test_wait (  )  [protected]

Tests method Thread::wait().

Definition at line 403 of file TestThread.cpp.

void ParCompMarkTest::TestThread::test_yield (  )  [protected]

Tests method Thread::yield().

Definition at line 112 of file TestThread.cpp.


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