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

Test important functionality of WDataSetSingle class. More...

#include <WDataSetSingle_test.h>

+ Inheritance diagram for WDataSetSingleTest:
+ Collaboration diagram for WDataSetSingleTest:

Public Member Functions

void setUp (void)
 Constructs unit test environment. More...
 
void testInstantiation (void)
 During instantiation nothing should be thrown. More...
 
void testGetValueSet (void)
 Retrieving a WValueSetBase should always give the original pointer. More...
 
void testGetGrid (void)
 Retrieving a WGrid should always give the original pointer. More...
 

Public Attributes

std::shared_ptr< WGridgridDummy
 Dummy grid used in the tests. More...
 
std::shared_ptr< WValueSetBasevalueSetDummy
 Dummy value set used in the tests. More...
 

Detailed Description

Test important functionality of WDataSetSingle class.

Definition at line 44 of file WDataSetSingle_test.h.

Member Function Documentation

◆ setUp()

void WDataSetSingleTest::setUp ( void  )
inline

Constructs unit test environment.

Definition at line 53 of file WDataSetSingle_test.h.

References gridDummy, WLogger::startup(), and valueSetDummy.

+ Here is the call graph for this function:

◆ testGetGrid()

void WDataSetSingleTest::testGetGrid ( void  )
inline

Retrieving a WGrid should always give the original pointer.

Definition at line 87 of file WDataSetSingle_test.h.

References WDataSetSingle::getGrid(), gridDummy, and valueSetDummy.

+ Here is the call graph for this function:

◆ testGetValueSet()

void WDataSetSingleTest::testGetValueSet ( void  )
inline

Retrieving a WValueSetBase should always give the original pointer.

Definition at line 74 of file WDataSetSingle_test.h.

◆ testInstantiation()

void WDataSetSingleTest::testInstantiation ( void  )
inline

During instantiation nothing should be thrown.

Definition at line 66 of file WDataSetSingle_test.h.

References gridDummy, and valueSetDummy.

Member Data Documentation

◆ gridDummy

std::shared_ptr< WGrid > WDataSetSingleTest::gridDummy

Dummy grid used in the tests.

Definition at line 47 of file WDataSetSingle_test.h.

Referenced by setUp(), testGetGrid(), and testInstantiation().

◆ valueSetDummy

std::shared_ptr< WValueSetBase > WDataSetSingleTest::valueSetDummy

Dummy value set used in the tests.

Definition at line 48 of file WDataSetSingle_test.h.

Referenced by setUp(), testGetGrid(), and testInstantiation().


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