#include <TestSimManager.h>
Public Member Functions | |
void | TestDoSetup1 () |
Tests DoSetup(). | |
void | TestDoSetup2 () |
Tests DoSetup(). | |
void | TestDoSetup3 () |
Tests DoSetup(). | |
Static Public Member Functions | |
static CppUnit::Test * | suite () |
Creates a test suite of all the test cases in this object. | |
Private Member Functions | |
char * | WriteXMLFile1 () |
Writes the text of an XML file. | |
char * | WriteXMLFile2 () |
Writes the text of an XML file. | |
char * | WriteXMLFile3 () |
Writes the text of an XML file. | |
char * | WriteXMLErrorFile1 () |
Writes an XML file which contains a data error, to test if the test object will throw an exception. | |
char * | WriteXMLErrorFile2 () |
Writes an XML file which contains a data error, to test if the test object will throw an exception. | |
char * | WriteXMLErrorFile3 () |
Writes an XML file which contains a data error, to test if the test object will throw an exception. |
|
Creates a test suite of all the test cases in this object. I'm putting it here so it will be easier to see and add new cases to.
|
|
Tests DoSetup(). Creates and parses an XML file, then feeds it to mp_oSimManager(). This parses the file from WriteXMLFile1(). |
|
Tests DoSetup(). Creates and parses an XML file, then feeds it to mp_oSimManager(). This parses the file from WriteXMLFile2(). |
|
Tests DoSetup(). Creates and parses an XML file, then feeds it to mp_oSimManager(). This parses the file from WriteXMLFile3(). |
|
Writes an XML file which contains a data error, to test if the test object will throw an exception. Number of timesteps is negative.
|
|
Writes an XML file which contains a data error, to test if the test object will throw an exception. Current timestep is too big.
|
|
Writes an XML file which contains a data error, to test if the test object will throw an exception. Years per timestep is 0.
|
|
Writes the text of an XML file. This file is abbreviated, and will be parsed within the test code itself rather than being passed to the test object for parsing. This contains a positive random seed, which should become negative.
|
|
Writes the text of an XML file. This file is abbreviated, and will be parsed within the test code itself rather than being passed to the test object for parsing. This contains a random seed of 0, which should become negative.
|
|
Writes the text of an XML file. This file is abbreviated, and will be parsed within the test code itself rather than being passed to the test object for parsing. This contains a negative random seed, which should be left alone.
|