OpenWalnut  1.2.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
WProgressTest Class Reference

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

#include <WProgress_test.h>

+ Inheritance diagram for WProgressTest:

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

void WProgressTest::testDeterminedFlag ( )
inline

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

Definition at line 52 of file WProgress_test.h.

References WProgress::isDetermined().

void WProgressTest::testFinish ( )
inline

Test whether finish() sets pending to false.

Definition at line 64 of file WProgress_test.h.

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

void WProgressTest::testInstantiation ( void  )
inline

Test whether WProgress is instantiatable.

Definition at line 44 of file WProgress_test.h.

void WProgressTest::testInternalState ( )
inline

Test whether the state is updated properly.

Definition at line 78 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 112 of file WProgress_test.h.

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


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