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

Test WProperties. More...

#include <WProperties_test.h>

+ Inheritance diagram for WPropertiesTest:
+ Collaboration diagram for WPropertiesTest:

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

Detailed Description

Test WProperties.

Definition at line 41 of file WProperties_test.h.

Member Function Documentation

◆ setTemporary1()

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

+ Here is the caller graph for this function:

◆ setTemporary2()

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

+ Here is the caller graph for this function:

◆ testAdd()

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

+ Here is the call graph for this function:

◆ testClear()

void WPropertiesTest::testClear ( void  )
inline

Test the clear() method.

Definition at line 119 of file WProperties_test.h.

References WException::disableBacktrace().

+ Here is the call graph for this function:

◆ testClone()

void WPropertiesTest::testClone ( )
inline

Tests the cloning functionality.

Definition at line 311 of file WProperties_test.h.

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

+ Here is the call graph for this function:

◆ testGetAndExistsAndFind()

void WPropertiesTest::testGetAndExistsAndFind ( void  )
inline

Test the features to find and get properties.

Definition at line 211 of file WProperties_test.h.

References WException::disableBacktrace().

+ Here is the call graph for this function:

◆ testGetAndExistsAndFindRecursive()

void WPropertiesTest::testGetAndExistsAndFindRecursive ( void  )
inline

Test the recursive search mechanism.

Definition at line 259 of file WProperties_test.h.

◆ testInstantiation()

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.

◆ testRecursiveSetByProperty()

void WPropertiesTest::testRecursiveSetByProperty ( void  )
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().

+ Here is the call graph for this function:

◆ testRemove()

void WPropertiesTest::testRemove ( void  )
inline

Test the removeProperty() method.

Definition at line 144 of file WProperties_test.h.

References WException::disableBacktrace().

+ Here is the call graph for this function:

Member Data Documentation

◆ m_testTemporary1

bool WPropertiesTest::m_testTemporary1

A temporary holder for some value.

Definition at line 47 of file WProperties_test.h.

Referenced by setTemporary1(), and testClone().

◆ m_testTemporary2

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: