clTestGLIPoints Class Reference

This class tests the clGLIPoints class. More...

#include <TestGLIPoints.h>

List of all members.

Public Member Functions

void TestGLIPoints ()
 Puts the tests together into one.

Private Member Functions

void TestNormalProcessing (clSimManager *p_oSimManager)
 Tests normal processing calculations.
void TestErrorProcessing (clSimManager *p_oSimManager)
 This tests error processing during setup.
char * WriteXMLFile1 ()
 Writes a parameter file to direct testing.
char * WriteXMLErrorFile1 ()
 Writes a parameter file with no points in the points list.
char * WriteXMLErrorFile2 ()
 Writes a parameter file where the number of azimuth angles is less than 0.
char * WriteXMLErrorFile3 ()
 Writes a parameter file where the number of altitude angles is less than 0.
char * WriteXMLErrorFile4 ()
 Writes a parameter file where a point's X or Y coordinate is outside the plot.
char * WriteXMLErrorFile5 ()
 Writes a parameter file where a point's height is negative.

Private Attributes

char * m_sFileName
 The filename.


Detailed Description

This class tests the clGLIPoints class.


Member Function Documentation

void clTestGLIPoints::TestNormalProcessing ( clSimManager *  p_oSimManager  )  [private]

Tests normal processing calculations.

WriteXMLFile1() is used for setup. This only has one behavior, GLI points. It is run. Then this will read in the output file and test the values.

Parameters:
p_oSimManager Object to run a test with.

void clTestGLIPoints::TestErrorProcessing ( clSimManager *  p_oSimManager  )  [private]

This tests error processing during setup.

This inputs bad files and makes sure that errors result.

Parameters:
p_oSimManager Object to run a test with.

char* clTestGLIPoints::WriteXMLFile1 (  )  [private]

Writes a parameter file to direct testing.

There is one species and one behavior: GLI points.

Returns:
Filename written.

char* clTestGLIPoints::WriteXMLErrorFile1 (  )  [private]

Writes a parameter file with no points in the points list.

Returns:
Filename written.

char* clTestGLIPoints::WriteXMLErrorFile2 (  )  [private]

Writes a parameter file where the number of azimuth angles is less than 0.

Returns:
Filename written.

char* clTestGLIPoints::WriteXMLErrorFile3 (  )  [private]

Writes a parameter file where the number of altitude angles is less than 0.

Returns:
Filename written.

char* clTestGLIPoints::WriteXMLErrorFile4 (  )  [private]

Writes a parameter file where a point's X or Y coordinate is outside the plot.

Returns:
Filename written.

char* clTestGLIPoints::WriteXMLErrorFile5 (  )  [private]

Writes a parameter file where a point's height is negative.

Returns:
Filename written.


Member Data Documentation

char* clTestGLIPoints::m_sFileName [private]

The filename.


The documentation for this class was generated from the following file:
Generated on Thu May 24 09:35:10 2007 for SORTIE C++ Test Documentation by  doxygen 1.5.2