OpenWalnut  1.4.0
Public Member Functions | Public Attributes
WPropertiesTest Class Reference

Test WProperties. More...

#include <WProperties_test.h>

+ Inheritance diagram for WPropertiesTest:

List of all members.

Public Member Functions

void setTemporary1 ()
 Helper function which simply sets the value above to true.
void setTemporary2 ()
 Helper function which simply sets the value above to true.
void testInstantiation (void)
 Test instantiation, also test name and description and type (from WPropertyBase)
void testAdd (void)
 Test the add features, also tests the type of properties added.
void testClear (void)
 Test the clear() method.
void testRemove (void)
 Test the removeProperty() method.
void testRecursiveSetByProperty (void)
 Tests whether the properties children can be set by the WProperties::set call using a other WProperties instance.
void testGetAndExistsAndFind (void)
 Test the features to find and get properties.
void testGetAndExistsAndFindRecursive (void)
 Test the recursive search mechanism.
void testClone ()
 Tests the cloning functionality.

Public Attributes

bool m_testTemporary1
 A temporary holder for some value.
bool m_testTemporary2
 A temporary holder for some value.

Detailed Description

Test WProperties.

Definition at line 40 of file WProperties_test.h.


Member Function Documentation

void WPropertiesTest::setTemporary1 ( ) [inline]

Helper function which simply sets the value above to true.

It is used to test some conditions here.

Definition at line 56 of file WProperties_test.h.

References m_testTemporary1.

Referenced by testClone().

void WPropertiesTest::setTemporary2 ( ) [inline]

Helper function which simply sets the value above to true.

It is used to test some conditions here.

Definition at line 64 of file WProperties_test.h.

References m_testTemporary2.

Referenced by testClone().

void WPropertiesTest::testAdd ( void  ) [inline]

Test the add features, also tests the type of properties added.

Definition at line 88 of file WProperties_test.h.

References WException::disableBacktrace().

void WPropertiesTest::testClear ( void  ) [inline]

Test the clear() method.

Definition at line 118 of file WProperties_test.h.

References WException::disableBacktrace().

void WPropertiesTest::testClone ( ) [inline]

Tests the cloning functionality.

Definition at line 310 of file WProperties_test.h.

References m_testTemporary1, m_testTemporary2, setTemporary1(), and setTemporary2().

void WPropertiesTest::testGetAndExistsAndFind ( void  ) [inline]

Test the features to find and get properties.

Definition at line 210 of file WProperties_test.h.

References WException::disableBacktrace().

Test the recursive search mechanism.

Definition at line 258 of file WProperties_test.h.

void WPropertiesTest::testInstantiation ( void  ) [inline]

Test instantiation, also test name and description and type (from WPropertyBase)

Definition at line 72 of file WProperties_test.h.

Tests whether the properties children can be set by the WProperties::set call using a other WProperties instance.

Definition at line 169 of file WProperties_test.h.

References WException::disableBacktrace().

void WPropertiesTest::testRemove ( void  ) [inline]

Test the removeProperty() method.

Definition at line 143 of file WProperties_test.h.

References WException::disableBacktrace().


Member Data Documentation

A temporary holder for some value.

Definition at line 46 of file WProperties_test.h.

Referenced by setTemporary1(), and testClone().

A temporary holder for some value.

Definition at line 51 of file WProperties_test.h.

Referenced by setTemporary2(), and testClone().


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