OpenWalnut  1.4.0
Public Member Functions
WConditionSetTest Class Reference

Test WConditionSet. More...

#include <WConditionSet_test.h>

+ Inheritance diagram for WConditionSetTest:

List of all members.

Public Member Functions

void testInstantiation (void)
 An instantiation should never throw an exception, as well as tear down.
void testAddRemove (void)
 Tests add and remove methods.
void testWait (void)
 Tests whether the condition set really reacts on fired conditions.
void testWaitResetable (void)
 Tests the resetable feature.
void testResetOnNotResetable (void)
 Ensures reset() never throws something.

Detailed Description

Test WConditionSet.

Definition at line 68 of file WConditionSet_test.h.


Member Function Documentation

void WConditionSetTest::testAddRemove ( void  ) [inline]

Tests add and remove methods.

Also check double remove/add.

Definition at line 85 of file WConditionSet_test.h.

References WConditionSet::add(), WConditionSet::m_conditionSet, and WConditionSet::remove().

void WConditionSetTest::testInstantiation ( void  ) [inline]

An instantiation should never throw an exception, as well as tear down.

Definition at line 74 of file WConditionSet_test.h.

Ensures reset() never throws something.

Definition at line 213 of file WConditionSet_test.h.

References WConditionSet::reset(), and WConditionSet::setResetable().

void WConditionSetTest::testWait ( void  ) [inline]
void WConditionSetTest::testWaitResetable ( void  ) [inline]

Tests the resetable feature.

Definition at line 167 of file WConditionSet_test.h.

References WConditionSet::add(), WConditionSet::m_fired, WConditionSet::setResetable(), and WConditionSet::wait().


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