Test important functionality of WDataHandler class. More...
#include <WDataHandler_test.h>
Inheritance diagram for WDataHandlerTest:
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 46 of file WDataHandler_test.h.
References WLogger::startup().
| void WDataHandlerTest::testAddSubjects | ( | ) | [inline] |
Test adding and iterating subjects.
Definition at line 71 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 54 of file WDataHandler_test.h.
| void WDataHandlerTest::testRemoveSubjects | ( | ) | [inline] |
Test the remove and clean functionality.
Definition at line 102 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 62 of file WDataHandler_test.h.
References WDataHandler::getDataHandler().
1.7.1