![]() |
OpenWalnut
1.5.0dev
|
The tests for our subject class. More...
#include <WSubject_test.h>
Public Member Functions | |
void | testInstantiation (void) |
Test instantiation of objects of WSubject class. More... | |
void | testInstantiationWithName (void) |
Test instantiation of objects of WSubject class with name. More... | |
void | TestConstructorWithInfo () |
Test whether we have put the info where it belongs and intialized the rest. More... | |
void | testGetName () |
Test whether we can retrieve the right info with getName function. More... | |
void | testAddGetDataSet () |
Test adding and iterating of data sets. More... | |
void | testGetNumberOfDataSet () |
Test getting number of datasets. More... | |
The tests for our subject class.
Definition at line 39 of file WSubject_test.h.
|
inline |
Test adding and iterating of data sets.
Definition at line 85 of file WSubject_test.h.
References WSubject::addDataSet(), WSubject::getDatasets(), WSubject::m_datasets, and WSharedSequenceContainer< S >::size().
|
inline |
Test whether we have put the info where it belongs and intialized the rest.
Definition at line 62 of file WSubject_test.h.
References WPersonalInformation::createDummyInformation(), and WSubject::m_personalInfo.
|
inline |
Test whether we can retrieve the right info with getName function.
Definition at line 73 of file WSubject_test.h.
References WPersonalInformation::createDummyInformation(), WPersonalInformation::getLastName(), WSubject::getName(), WPersonalInformation::setLastName(), and WPersonalInformation::setSubjectID().
|
inline |
Test getting number of datasets.
Definition at line 112 of file WSubject_test.h.
References WSubject::addDataSet(), WSubject::m_datasets, and WSharedSequenceContainer< S >::size().
|
inline |
Test instantiation of objects of WSubject class.
Definition at line 45 of file WSubject_test.h.
|
inline |
Test instantiation of objects of WSubject class with name.
Definition at line 53 of file WSubject_test.h.
References WPersonalInformation::createDummyInformation().