OpenWalnut  1.4.0
Public Member Functions
WProgressTest Class Reference

Test Class for the base progress class. More...

#include <WProgress_test.h>

+ Inheritance diagram for WProgressTest:

List of all members.

Public Member Functions

void testInstantiation ()
 Test whether WProgress is instantiatable.
void testDeterminedFlag ()
 Test whether isDetermined returns the right value, depending on construction parameters of WProgress.
void testFinish ()
 Test whether finish() sets pending to false.
void testInternalState ()
 Test whether the state is updated properly.
void testInternalStateOfIndetermined ()
 Test whether the state is updated properly if the instance is a indetermined one.

Detailed Description

Test Class for the base progress class.

Definition at line 37 of file WProgress_test.h.


Member Function Documentation

Test whether isDetermined returns the right value, depending on construction parameters of WProgress.

Definition at line 51 of file WProgress_test.h.

References WProgress::isDetermined().

void WProgressTest::testFinish ( ) [inline]

Test whether finish() sets pending to false.

Definition at line 63 of file WProgress_test.h.

References WProgress::finish(), and WProgress::isPending().

void WProgressTest::testInstantiation ( void  ) [inline]

Test whether WProgress is instantiatable.

Definition at line 43 of file WProgress_test.h.

Test whether the state is updated properly.

Definition at line 77 of file WProgress_test.h.

References WProgress::getProgress(), and WProgress::update().

Test whether the state is updated properly if the instance is a indetermined one.

Definition at line 111 of file WProgress_test.h.

References WProgress::getProgress(), and WProgress::update().


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