OpenWalnut  1.4.0
Public Member Functions | Public Attributes
WDataSetSingleTest Class Reference

Test important functionality of WDataSetSingle class. More...

#include <WDataSetSingle_test.h>

+ Inheritance diagram for WDataSetSingleTest:

List of all members.

Public Member Functions

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

Public Attributes

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

Detailed Description

Test important functionality of WDataSetSingle class.

Definition at line 43 of file WDataSetSingle_test.h.


Member Function Documentation

void WDataSetSingleTest::setUp ( void  ) [inline]

Constructs unit test environment.

Definition at line 52 of file WDataSetSingle_test.h.

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

void WDataSetSingleTest::testGetGrid ( void  ) [inline]

Retrieving a WGrid should always give the original pointer.

Definition at line 86 of file WDataSetSingle_test.h.

References gridDummy, and valueSetDummy.

void WDataSetSingleTest::testGetValueSet ( void  ) [inline]

Retrieving a WValueSetBase should always give the original pointer.

Definition at line 73 of file WDataSetSingle_test.h.

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

void WDataSetSingleTest::testInstantiation ( void  ) [inline]

During instantiation nothing should be thrown.

Definition at line 65 of file WDataSetSingle_test.h.

References gridDummy, and valueSetDummy.


Member Data Documentation

boost::shared_ptr< WGrid > WDataSetSingleTest::gridDummy

Dummy grid used in the tests.

Definition at line 46 of file WDataSetSingle_test.h.

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

Dummy value set used in the tests.

Definition at line 47 of file WDataSetSingle_test.h.

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


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