OpenWalnut
1.4.0
|
Test Class for the base progress class. More...
#include <WProgress_test.h>
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. |
Test Class for the base progress class.
Definition at line 37 of file WProgress_test.h.
void WProgressTest::testDeterminedFlag | ( | ) | [inline] |
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.
void WProgressTest::testInternalState | ( | ) | [inline] |
Test whether the state is updated properly.
Definition at line 77 of file WProgress_test.h.
References WProgress::getProgress(), and WProgress::update().
void WProgressTest::testInternalStateOfIndetermined | ( | ) | [inline] |
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().