OpenWalnut  1.5.0dev
Public Member Functions | List of all members
WProgressCombinerTest Class Reference

Class testing the functionality of progress combiners. More...

#include <WProgressCombiner_test.h>

+ Inheritance diagram for WProgressCombinerTest:
+ Collaboration diagram for WProgressCombinerTest:

Public Member Functions

void testInstantiation ()
 Test whether WProgress is instantiatable. More...
 
void testInternalStateIgnoresIncrementAndFinish ()
 Test whether the combiner ignores manual increments. More...
 
void testWithChilds ()
 Test the combiner when some childs got added to it. More...
 

Detailed Description

Class testing the functionality of progress combiners.

Definition at line 39 of file WProgressCombiner_test.h.

Member Function Documentation

◆ testInstantiation()

void WProgressCombinerTest::testInstantiation ( )
inline

Test whether WProgress is instantiatable.

Definition at line 45 of file WProgressCombiner_test.h.

◆ testInternalStateIgnoresIncrementAndFinish()

void WProgressCombinerTest::testInternalStateIgnoresIncrementAndFinish ( )
inline

Test whether the combiner ignores manual increments.

Definition at line 53 of file WProgressCombiner_test.h.

References WProgressCombiner::finish(), WProgressCombiner::getProgress(), WProgress::isPending(), and WProgressCombiner::update().

+ Here is the call graph for this function:

◆ testWithChilds()

void WProgressCombinerTest::testWithChilds ( )
inline

Test the combiner when some childs got added to it.

Definition at line 71 of file WProgressCombiner_test.h.

References WProgressCombiner::addSubProgress(), WProgressCombiner::finish(), WProgressCombiner::getProgress(), WProgress::isDetermined(), WProgress::isPending(), WProgressCombiner::m_children, and WProgressCombiner::update().

+ Here is the call graph for this function:

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