OpenWalnut
1.4.0
|
Test important functionality of WDataHandler class. More...
#include <WDataHandler_test.h>
Public Member Functions | |
void | setUp () |
Setup logger and other stuff for each test. | |
void | testInstantiation () |
Instatiation should throw nothing. | |
void | testSingleton () |
Singleton getter should create an instance. | |
void | testAddSubjects () |
Test adding and iterating subjects. | |
void | testRemoveSubjects () |
Test the remove and clean functionality. |
Test important functionality of WDataHandler class.
Definition at line 39 of file WDataHandler_test.h.
void WDataHandlerTest::setUp | ( | void | ) | [inline] |
Setup logger and other stuff for each test.
Definition at line 45 of file WDataHandler_test.h.
References WLogger::startup().
void WDataHandlerTest::testAddSubjects | ( | ) | [inline] |
Test adding and iterating subjects.
Definition at line 70 of file WDataHandler_test.h.
References WPersonalInformation::createDummyInformation(), WDataHandler::getDataHandler(), WPersonalInformation::setLastName(), and WPersonalInformation::setSubjectID().
void WDataHandlerTest::testInstantiation | ( | void | ) | [inline] |
Instatiation should throw nothing.
Definition at line 53 of file WDataHandler_test.h.
void WDataHandlerTest::testRemoveSubjects | ( | ) | [inline] |
Test the remove and clean functionality.
Definition at line 101 of file WDataHandler_test.h.
References WPersonalInformation::createDummyInformation(), WDataHandler::getDataHandler(), WPersonalInformation::setLastName(), and WPersonalInformation::setSubjectID().
void WDataHandlerTest::testSingleton | ( | ) | [inline] |
Singleton getter should create an instance.
Definition at line 61 of file WDataHandler_test.h.
References WDataHandler::getDataHandler().