OpenWalnut
1.4.0
|
Test important functionality of WDataSetSingle class. More...
#include <WDataSetSingle_test.h>
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< WGrid > | gridDummy |
Dummy grid used in the tests. | |
boost::shared_ptr< WValueSetBase > | valueSetDummy |
Dummy value set used in the tests. |
Test important functionality of WDataSetSingle class.
Definition at line 43 of file WDataSetSingle_test.h.
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.
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().
boost::shared_ptr< WValueSetBase > WDataSetSingleTest::valueSetDummy |
Dummy value set used in the tests.
Definition at line 47 of file WDataSetSingle_test.h.
Referenced by setUp(), testGetGrid(), testGetValueSet(), and testInstantiation().