clTestGermination Class Reference

This class tests the germination behavior. More...

#include <TestGermination.h>

List of all members.

Public Member Functions

void TestGermination ()
 Tests normal processing germination.

Private Member Functions

void TestGerminationNormalProcessing (clSimManager *p_oSimManager)
 Tests normal processing.
void TestGerminationErrorProcessing (clSimManager *p_oSimManager)
 This tests the two error processing files.
void VerifyXMLFile1 (clGridBase *p_oSeedGrid)
 Verifies the seedling counts for TestGermination.
char * WriteXMLFile1 ()
 Writes a parameter file to direct testing using the first set of testing conditions.
char * WriteXMLErrorFile1 ()
 Writes a parameter file with a germination parameter less than 0.
char * WriteXMLErrorFile2 ()
 Writes a parameter file with a germination parameter greater than 1.


Detailed Description

This class tests the germination behavior.

It writes out parameter files and uses them as input to perform setup; it then sets up the desired initial conditions, causes the behavior to run, then tests its output. There will be one normal processing run and two error runs.


Member Function Documentation

void clTestGermination::TestGermination (  ) 

Tests normal processing germination.

It will cause a parameter file to be written and then passed to a clSimManager object. This object will read it. The germination behavior is run and seedlings counted.

void clTestGermination::TestGerminationNormalProcessing ( clSimManager *  p_oSimManager  )  [private]

Tests normal processing.

Parameters:
p_oSimManager Sim Manager object.

void clTestGermination::TestGerminationErrorProcessing ( clSimManager *  p_oSimManager  )  [private]

This tests the two error processing files.

Parameters:
p_oSimManager Sim Manager object.

void clTestGermination::VerifyXMLFile1 ( clGridBase *  p_oSeedGrid  )  [private]

Verifies the seedling counts for TestGermination.

Parameters:
p_oSeedGrid Dispersed seeds grid.

char* clTestGermination::WriteXMLFile1 (  )  [private]

Writes a parameter file to direct testing using the first set of testing conditions.

This contains all tree information and disperse information. It also has a tree map so we'll be dealing with a known list of trees.

Returns:
Filename written.

char* clTestGermination::WriteXMLErrorFile1 (  )  [private]

Writes a parameter file with a germination parameter less than 0.

Returns:
Filename written.

char* clTestGermination::WriteXMLErrorFile2 (  )  [private]

Writes a parameter file with a germination parameter greater than 1.

Returns:
Filename written.


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