OpenWalnut
1.5.0dev
|
Test Class for the base progress class. More...
#include <WProgress_test.h>
Public Member Functions | |
void | testInstantiation () |
Test whether WProgress is instantiatable. More... | |
void | testDeterminedFlag () |
Test whether isDetermined returns the right value, depending on construction parameters of WProgress. More... | |
void | testFinish () |
Test whether finish() sets pending to false. More... | |
void | testInternalState () |
Test whether the state is updated properly. More... | |
void | testInternalStateOfIndetermined () |
Test whether the state is updated properly if the instance is a indetermined one. More... | |
Test Class for the base progress class.
Definition at line 37 of file WProgress_test.h.
|
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().
|
inline |
Test whether finish() sets pending to false.
Definition at line 63 of file WProgress_test.h.
References WProgress::finish(), and WProgress::isPending().
|
inline |
Test whether WProgress is instantiatable.
Definition at line 43 of file WProgress_test.h.
|
inline |
Test whether the state is updated properly.
Definition at line 77 of file WProgress_test.h.
References WProgress::getProgress(), WProgress::isPending(), WProgress::m_count, and WProgress::update().
|
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(), WProgress::m_count, and WProgress::update().