#include <TestGLIMap.h>
Public Member Functions | |
void | TestGLIMap () |
Rolls all other tests into a single function to call. | |
Protected Member Functions | |
void | TestGridSetup (clSimManager *p_oSimManager) |
Tests the setup for the "GLI Map" grid. | |
void | TestParameterSetup (clSimManager *p_oSimManager) |
Tests the setup for the parameters. | |
void | TestNormalProcessing (clSimManager *p_oSimManager) |
Makes sure the GLI map is created correctly. | |
void | TestErrorProcessing (clSimManager *p_oSimManager) |
Tests error processing. | |
char * | WriteXMLFile1 () |
Writes a parameter file to direct testing. | |
char * | WriteXMLFile2 () |
Writes a parameter file to direct testing. | |
char * | WriteXMLFile3 () |
Writes a parameter file to direct testing. | |
char * | WriteXMLFile4 () |
Writes a parameter file to direct testing. | |
char * | WriteXMLFile5 () |
Writes a parameter file to direct testing. | |
char * | WriteXMLFile6 () |
Writes a parameter file to direct testing. | |
char * | WriteXMLErrorFile1 () |
Writes a parameter file to direct error testing. | |
char * | WriteXMLErrorFile2 () |
Writes a parameter file to direct error testing. | |
char * | WriteXMLErrorFile3 () |
Writes a parameter file to direct error testing. | |
void | WriteCommonStuff (std::fstream &oOut) |
Writes common portions of the test parameter files (tree pop, plot, etc). |
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< TO DO: Prepare a couple of GLI points for an 8 by 8 grid to test GLI when the GLI Map behavior is the only one in the run. Then add them to TestNormalProcessing. <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
void clTestGLIMap::TestGridSetup | ( | clSimManager * | p_oSimManager | ) | [protected] |
Tests the setup for the "GLI Map" grid.
Tests the following conditions:
void clTestGLIMap::TestParameterSetup | ( | clSimManager * | p_oSimManager | ) | [protected] |
Tests the setup for the parameters.
Tests the following conditions:
void clTestGLIMap::TestNormalProcessing | ( | clSimManager * | p_oSimManager | ) | [protected] |
Makes sure the GLI map is created correctly.
void clTestGLIMap::TestErrorProcessing | ( | clSimManager * | p_oSimManager | ) | [protected] |
Tests error processing.
Each of the error files is fed in to make sure that clGLIMap correctly throws an error.
char* clTestGLIMap::WriteXMLFile1 | ( | ) | [protected] |
Writes a parameter file to direct testing.
char* clTestGLIMap::WriteXMLFile2 | ( | ) | [protected] |
Writes a parameter file to direct testing.
char* clTestGLIMap::WriteXMLFile3 | ( | ) | [protected] |
Writes a parameter file to direct testing.
char* clTestGLIMap::WriteXMLFile4 | ( | ) | [protected] |
Writes a parameter file to direct testing.
char* clTestGLIMap::WriteXMLFile5 | ( | ) | [protected] |
Writes a parameter file to direct testing.
char* clTestGLIMap::WriteXMLFile6 | ( | ) | [protected] |
Writes a parameter file to direct testing.
char* clTestGLIMap::WriteXMLErrorFile1 | ( | ) | [protected] |
Writes a parameter file to direct error testing.
The number of azimuth grids for GLI Map is less than or equal to 0.
char* clTestGLIMap::WriteXMLErrorFile2 | ( | ) | [protected] |
Writes a parameter file to direct error testing.
The number of altitude grids for GLI Map is less than or equal to 0.
char* clTestGLIMap::WriteXMLErrorFile3 | ( | ) | [protected] |
Writes a parameter file to direct error testing.
The height of the GLI photo is less than 0.
void clTestGLIMap::WriteCommonStuff | ( | std::fstream & | oOut | ) | [protected] |
Writes common portions of the test parameter files (tree pop, plot, etc).
oOut | File stream to write to. |