ParCompMarkTest::TestTimer Class Reference

#include <TestTimer.h>

List of all members.


Detailed Description

Test suite for ParCompMark::Timer.

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

Definition at line 56 of file TestTimer.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_getSystemTime ()
 Tests method Timer::getSystemTime().
void test_getApplicationTime ()
 Tests method Timer::getApplicationTime().
void test_getUncorrectedSystemTime ()
 Tests method Timer::getUncorrectedSystemTime().
void test_getTimeString_cbool_cbool_cbool_cbool_cReal ()
 Tests method Timer::getTimeString(const bool &microseconds = true, const bool &seconds = true, const bool &minutes = true, const bool &hours = true, const Real &correction = 0.0).
void test_getDateString_cbool_cbool_cbool_cReal ()
 Tests method Timer::getDateString(const bool &days = true, const bool &months = true, const bool &years = true, const Real &correction = 0.0).
void test_getTimeDateString_cbool_cbool_cbool_cbool_cbool_cbool_cbool_cReal ()
 Tests method Timer::getTimeDateString(const bool &microseconds = true, const bool &seconds = true, const bool &minutes = true, const bool &hours = true, const bool &days = true, const bool &months = true, const bool &years = true, const Real &correction = 0.0).
void test_sleep_cReal ()
 Tests method Timer::sleep(const Real time).

Member Function Documentation

void ParCompMarkTest::TestTimer::setUp (  ) 

Sets up context before running a test.

Definition at line 34 of file TestTimer.cpp.

void ParCompMarkTest::TestTimer::tearDown (  ) 

Cleans up after the test run.

Definition at line 58 of file TestTimer.cpp.

void ParCompMarkTest::TestTimer::test_getApplicationTime (  )  [protected]

Tests method Timer::getApplicationTime().

Definition at line 82 of file TestTimer.cpp.

void ParCompMarkTest::TestTimer::test_getDateString_cbool_cbool_cbool_cReal (  )  [protected]

Tests method Timer::getDateString(const bool &days = true, const bool &months = true, const bool &years = true, const Real &correction = 0.0).

Definition at line 124 of file TestTimer.cpp.

void ParCompMarkTest::TestTimer::test_getSystemTime (  )  [protected]

Tests method Timer::getSystemTime().

Definition at line 68 of file TestTimer.cpp.

void ParCompMarkTest::TestTimer::test_getTimeDateString_cbool_cbool_cbool_cbool_cbool_cbool_cbool_cReal (  )  [protected]

Tests method Timer::getTimeDateString(const bool &microseconds = true, const bool &seconds = true, const bool &minutes = true, const bool &hours = true, const bool &days = true, const bool &months = true, const bool &years = true, const Real &correction = 0.0).

Definition at line 138 of file TestTimer.cpp.

void ParCompMarkTest::TestTimer::test_getTimeString_cbool_cbool_cbool_cbool_cReal (  )  [protected]

Tests method Timer::getTimeString(const bool &microseconds = true, const bool &seconds = true, const bool &minutes = true, const bool &hours = true, const Real &correction = 0.0).

Definition at line 110 of file TestTimer.cpp.

void ParCompMarkTest::TestTimer::test_getUncorrectedSystemTime (  )  [protected]

Tests method Timer::getUncorrectedSystemTime().

Definition at line 96 of file TestTimer.cpp.

void ParCompMarkTest::TestTimer::test_sleep_cReal (  )  [protected]

Tests method Timer::sleep(const Real time).

Definition at line 152 of file TestTimer.cpp.


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