OpenWalnut  1.2.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
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 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 57 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 65 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 89 of file WProperties_test.h.

References WException::disableBacktrace().

void WPropertiesTest::testClear ( void  )
inline

Test the clear() method.

Definition at line 119 of file WProperties_test.h.

References WException::disableBacktrace().

void WPropertiesTest::testClone ( )
inline

Tests the cloning functionality.

Definition at line 271 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 171 of file WProperties_test.h.

References WException::disableBacktrace().

void WPropertiesTest::testGetAndExistsAndFindRecursive ( void  )
inline

Test the recursive search mechanism.

Definition at line 219 of file WProperties_test.h.

void WPropertiesTest::testInstantiation ( void  )
inline

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

Definition at line 73 of file WProperties_test.h.

void WPropertiesTest::testRemove ( void  )
inline

Test the removeProperty() method.

Definition at line 144 of file WProperties_test.h.

References WException::disableBacktrace().


Member Data Documentation

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


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