OpenWalnut
1.5.0dev
|
Test WProperties. More...
#include <WProperties_test.h>
Public Member Functions | |
void | setTemporary1 () |
Helper function which simply sets the value above to true. More... | |
void | setTemporary2 () |
Helper function which simply sets the value above to true. More... | |
void | testInstantiation (void) |
Test instantiation, also test name and description and type (from WPropertyBase) More... | |
void | testAdd (void) |
Test the add features, also tests the type of properties added. More... | |
void | testClear (void) |
Test the clear() method. More... | |
void | testRemove (void) |
Test the removeProperty() method. More... | |
void | testRecursiveSetByProperty (void) |
Tests whether the properties children can be set by the WProperties::set call using a other WProperties instance. More... | |
void | testGetAndExistsAndFind (void) |
Test the features to find and get properties. More... | |
void | testGetAndExistsAndFindRecursive (void) |
Test the recursive search mechanism. More... | |
void | testClone () |
Tests the cloning functionality. More... | |
Public Attributes | |
bool | m_testTemporary1 |
A temporary holder for some value. More... | |
bool | m_testTemporary2 |
A temporary holder for some value. More... | |
Test WProperties.
Definition at line 41 of file WProperties_test.h.
|
inline |
Helper function which simply sets the value above to true.
It is used to test some conditions here.
Definition at line 57 of file WProperties_test.h.
References m_testTemporary1.
Referenced by testClone().
|
inline |
Helper function which simply sets the value above to true.
It is used to test some conditions here.
Definition at line 65 of file WProperties_test.h.
References m_testTemporary2.
Referenced by testClone().
|
inline |
Test the add features, also tests the type of properties added.
Definition at line 89 of file WProperties_test.h.
References WException::disableBacktrace().
|
inline |
Test the clear() method.
Definition at line 119 of file WProperties_test.h.
References WException::disableBacktrace().
|
inline |
Tests the cloning functionality.
Definition at line 311 of file WProperties_test.h.
References m_testTemporary1, m_testTemporary2, setTemporary1(), and setTemporary2().
|
inline |
Test the features to find and get properties.
Definition at line 211 of file WProperties_test.h.
References WException::disableBacktrace().
|
inline |
Test the recursive search mechanism.
Definition at line 259 of file WProperties_test.h.
|
inline |
Test instantiation, also test name and description and type (from WPropertyBase)
Definition at line 73 of file WProperties_test.h.
|
inline |
Tests whether the properties children can be set by the WProperties::set call using a other WProperties instance.
Definition at line 170 of file WProperties_test.h.
References WException::disableBacktrace().
|
inline |
Test the removeProperty() method.
Definition at line 144 of file WProperties_test.h.
References WException::disableBacktrace().
bool WPropertiesTest::m_testTemporary1 |
A temporary holder for some value.
Definition at line 47 of file WProperties_test.h.
Referenced by setTemporary1(), and testClone().
bool WPropertiesTest::m_testTemporary2 |
A temporary holder for some value.
Definition at line 52 of file WProperties_test.h.
Referenced by setTemporary2(), and testClone().