OpenWalnut  1.5.0dev
Public Member Functions | List of all members
WDataHandlerTest Class Reference

Test important functionality of WDataHandler class. More...

#include <WDataHandler_test.h>

+ Inheritance diagram for WDataHandlerTest:
+ Collaboration diagram for WDataHandlerTest:

Public Member Functions

void setUp ()
 Setup logger and other stuff for each test. More...
 
void testInstantiation ()
 Instatiation should throw nothing. More...
 
void testSingleton ()
 Singleton getter should create an instance. More...
 
void testAddSubjects ()
 Test adding and iterating subjects. More...
 
void testRemoveSubjects ()
 Test the remove and clean functionality. More...
 

Detailed Description

Test important functionality of WDataHandler class.

Definition at line 39 of file WDataHandler_test.h.

Member Function Documentation

◆ setUp()

void WDataHandlerTest::setUp ( )
inline

Setup logger and other stuff for each test.

Definition at line 45 of file WDataHandler_test.h.

References WLogger::startup().

+ Here is the call graph for this function:

◆ testAddSubjects()

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().

+ Here is the call graph for this function:

◆ testInstantiation()

void WDataHandlerTest::testInstantiation ( )
inline

Instatiation should throw nothing.

Definition at line 53 of file WDataHandler_test.h.

◆ testRemoveSubjects()

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().

+ Here is the call graph for this function:

◆ testSingleton()

void WDataHandlerTest::testSingleton ( )
inline

Singleton getter should create an instance.

Definition at line 61 of file WDataHandler_test.h.

References WDataHandler::getDataHandler().

+ Here is the call graph for this function:

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