SORTIE C++ Test Documentation
Functions
TestSimManager.h File Reference

Functions

const char * WriteSimManagerXMLFile1 ()
 Tests the class clSimManager. More...
 
const char * WriteSimManagerXMLFile2 ()
 Writes the text of an XML file. More...
 
const char * WriteSimManagerXMLFile3 ()
 Writes the text of an XML file. More...
 
const char * WriteSimManagerXMLErrorFile1 ()
 Writes an XML file which contains a data error, to test if the test object will throw an exception. More...
 
const char * WriteSimManagerXMLErrorFile2 ()
 Writes an XML file which contains a data error, to test if the test object will throw an exception. More...
 
const char * WriteSimManagerXMLErrorFile3 ()
 Writes an XML file which contains a data error, to test if the test object will throw an exception. More...
 

Function Documentation

◆ WriteSimManagerXMLErrorFile1()

const char* WriteSimManagerXMLErrorFile1 ( )

Writes an XML file which contains a data error, to test if the test object will throw an exception.

Number of timesteps is negative.

Returns
The filename of the XML file to parse.

◆ WriteSimManagerXMLErrorFile2()

const char* WriteSimManagerXMLErrorFile2 ( )

Writes an XML file which contains a data error, to test if the test object will throw an exception.

Current timestep is too big.

Returns
The filename of the XML file to parse.

◆ WriteSimManagerXMLErrorFile3()

const char* WriteSimManagerXMLErrorFile3 ( )

Writes an XML file which contains a data error, to test if the test object will throw an exception.

Years per timestep is 0.

Returns
The filename of the XML file to parse.

◆ WriteSimManagerXMLFile1()

const char* WriteSimManagerXMLFile1 ( )

Tests the class clSimManager.

Writes the text of an XML file. This contains a positive random seed, which should become negative.

Returns
The filename of the XML file to parse.

◆ WriteSimManagerXMLFile2()

const char* WriteSimManagerXMLFile2 ( )

Writes the text of an XML file.

This contains a random seed of 0, which should become negative.

Returns
The filename of the XML file to parse.

◆ WriteSimManagerXMLFile3()

const char* WriteSimManagerXMLFile3 ( )

Writes the text of an XML file.

This contains a negative random seed, which should be left alone.

Returns
The filename of the XML file to parse.