OpenWalnut  1.5.0dev
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:
+ Collaboration diagram for WProgressTest:

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...
 

Detailed Description

Test Class for the base progress class.

Definition at line 37 of file WProgress_test.h.

Member Function Documentation

◆ testDeterminedFlag()

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().

+ Here is the call graph for this function:

◆ testFinish()

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().

+ Here is the call graph for this function:

◆ testInstantiation()

void WProgressTest::testInstantiation ( )
inline

Test whether WProgress is instantiatable.

Definition at line 43 of file WProgress_test.h.

◆ testInternalState()

void WProgressTest::testInternalState ( )
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().

+ Here is the call graph for this function:

◆ testInternalStateOfIndetermined()

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(), WProgress::m_count, and WProgress::update().

+ Here is the call graph for this function:

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