OpenWalnut  1.4.0
Public Member Functions
WSubjectTest Class Reference

The tests for our subject class. More...

#include <WSubject_test.h>

+ Inheritance diagram for WSubjectTest:

List of all members.

Public Member Functions

void testInstantiation (void)
 Test instantiation of objects of WSubject class.
void testInstantiationWithName (void)
 Test instantiation of objects of WSubject class with name.
void TestConstructorWithInfo ()
 Test whether we have put the info where it belongs and intialized the rest.
void testGetName ()
 Test whether we can retrieve the right info with getName function.
void testAddGetDataSet ()
 Test adding and iterating of data sets.
void testGetNumberOfDataSet ()
 Test getting number of datasets.

Detailed Description

The tests for our subject class.

Definition at line 37 of file WSubject_test.h.


Member Function Documentation

Test adding and iterating of data sets.

Definition at line 83 of file WSubject_test.h.

References WSubject::addDataSet(), WSubject::getDatasets(), WSubject::m_datasets, and WSharedSequenceContainer< S >::size().

Test whether we have put the info where it belongs and intialized the rest.

Definition at line 60 of file WSubject_test.h.

References WPersonalInformation::createDummyInformation(), and WSubject::m_personalInfo.

void WSubjectTest::testGetName ( ) [inline]

Test getting number of datasets.

Definition at line 110 of file WSubject_test.h.

References WSubject::addDataSet(), WSubject::m_datasets, and WSharedSequenceContainer< S >::size().

void WSubjectTest::testInstantiation ( void  ) [inline]

Test instantiation of objects of WSubject class.

Definition at line 43 of file WSubject_test.h.

void WSubjectTest::testInstantiationWithName ( void  ) [inline]

Test instantiation of objects of WSubject class with name.

Definition at line 51 of file WSubject_test.h.

References WPersonalInformation::createDummyInformation().


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