OpenWalnut
1.5.0dev
|
Test important functionality of WDataSetSingle class. More...
#include <WDataSetSingle_test.h>
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< WGrid > | gridDummy |
Dummy grid used in the tests. More... | |
std::shared_ptr< WValueSetBase > | valueSetDummy |
Dummy value set used in the tests. More... | |
Test important functionality of WDataSetSingle class.
Definition at line 44 of file WDataSetSingle_test.h.
|
inline |
Constructs unit test environment.
Definition at line 53 of file WDataSetSingle_test.h.
References gridDummy, WLogger::startup(), and valueSetDummy.
|
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.
|
inline |
Retrieving a WValueSetBase should always give the original pointer.
Definition at line 74 of file WDataSetSingle_test.h.
|
inline |
During instantiation nothing should be thrown.
Definition at line 66 of file WDataSetSingle_test.h.
References gridDummy, and valueSetDummy.
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().
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().