clTestEpiphyticEstablishment Class Reference

Tests the class clEpiphyticEstablishment. More...

#include <TestEpiphyticEstablishment.h>

List of all members.

Public Member Functions

void TestEpiphyticEstablishment ()
 Rolls all other tests into a single function to call.

Protected Member Functions

void TestNormalProcessingRun1 (clSimManager *p_oSimManager)
 WriteXMLFile1() does setup.
void TestNormalProcessingRun2 (clSimManager *p_oSimManager)
 Make sure GLI gets set up right.
void TestErrorProcessing (clSimManager *p_oSimManager)
 Tests error processing.
char * WriteXMLFile1 ()
 Writes a parameter file to direct testing for normal processing run one.
char * WriteXMLFile2 ()
 Writes a parameter file to direct testing for normal processing run two.
char * WriteXMLErrorFile1 ()
 Writes a file where the number of altitude angles is less than 1.
char * WriteXMLErrorFile2 ()
 Writes a file where the number of azimuth angles is less than 1.
char * WriteXMLErrorFile3 ()
 Writes a file where the behavior is applied to seedlings.
char * WriteXMLErrorFile4 ()
 Writes a file where some of the trees don't have mortality applied.
void WriteErrorCommonStuff (std::fstream &oOut)
 Writes common portions of the test parameter files.


Detailed Description

Tests the class clEpiphyticEstablishment.

Member Function Documentation

void clTestEpiphyticEstablishment::TestEpiphyticEstablishment (  ) 

Rolls all other tests into a single function to call.

void clTestEpiphyticEstablishment::TestNormalProcessingRun1 ( clSimManager *  p_oSimManager  )  [protected]

WriteXMLFile1() does setup.

Four groups of substrate trees are distributed around the plot, and the resulting seedlings are identified and counted. This verifies that substrate trees are correctly identified, that seedling probabilities are correctly calculated, and that seedling heights are correctly determined.

Parameters:
p_oSimManager Sim manager

void clTestEpiphyticEstablishment::TestNormalProcessingRun2 ( clSimManager *  p_oSimManager  )  [protected]

Make sure GLI gets set up right.

Parameters:
p_oSimManager Sim manager

void clTestEpiphyticEstablishment::TestErrorProcessing ( clSimManager *  p_oSimManager  )  [protected]

Tests error processing.

Parameters:
p_oSimManager Sim manager

char* clTestEpiphyticEstablishment::WriteXMLFile1 (  )  [protected]

Writes a parameter file to direct testing for normal processing run one.

Returns:
Filename written.

char* clTestEpiphyticEstablishment::WriteXMLFile2 (  )  [protected]

Writes a parameter file to direct testing for normal processing run two.

Returns:
Filename written.

char* clTestEpiphyticEstablishment::WriteXMLErrorFile1 (  )  [protected]

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

Returns:
Filename written.

char* clTestEpiphyticEstablishment::WriteXMLErrorFile2 (  )  [protected]

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

Returns:
Filename written.

char* clTestEpiphyticEstablishment::WriteXMLErrorFile3 (  )  [protected]

Writes a file where the behavior is applied to seedlings.

Returns:
Filename written.

char* clTestEpiphyticEstablishment::WriteXMLErrorFile4 (  )  [protected]

Writes a file where some of the trees don't have mortality applied.

Returns:
Filename written.

void clTestEpiphyticEstablishment::WriteErrorCommonStuff ( std::fstream &  oOut  )  [protected]

Writes common portions of the test parameter files.

Parameters:
oOut File stream to write to.


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

Generated on Tue Apr 19 14:05:59 2011 for SORTIE C++ Test Documentation by  doxygen 1.5.6