clTestEstablishment Class Reference

This class tests the clEstablishment behavior. More...

#include <TestEstablishment.h>

List of all members.

Public Member Functions

void TestEstablishment ()
 Groups all establishment tests into one function.

Private Member Functions

void TestNormalProcessingRun1 (clSimManager *p_oSimManager)
 Tests establishment.
void TestNormalProcessingRun2 (clSimManager *p_oSimManager)
 Tests establishment.
void TestErrorProcessing (clSimManager *p_oSimManager)
 Runs through the error files to make sure that errors are caught correctly.
char * WriteXMLFile1 ()
 Writes a parameter file to direct testing.
char * WriteXMLFile2 ()
 Writes a parameter file to direct testing.
char * WriteXMLErrorFile1 ()
 Writes a parameter file with no disperse behaviors whatsoever.


Detailed Description

This class tests the clEstablishment behavior.

Member Function Documentation

void clTestEstablishment::TestEstablishment (  ) 

Groups all establishment tests into one function.

void clTestEstablishment::TestNormalProcessingRun1 ( clSimManager *  p_oSimManager  )  [private]

Tests establishment.

WriteXMLFile1() does setup. Non-spatial dispserse is included with parameters such that it creates no seeds. The "Dispersed Seeds" grid cells do not divide evenly into the plot lengths. The grid is populated with some initial values. Then one timestep of a simulation is run and this verifies that the number of seedlings is right, and the number of seeds is 0.

Parameters:
p_oSimManager Sim Manager object to run testing.

void clTestEstablishment::TestNormalProcessingRun2 ( clSimManager *  p_oSimManager  )  [private]

Tests establishment.

WriteXMLFile2() does setup. Non-spatial dispserse is included with parameters such that it creates no seeds. The "Dispersed Seeds" grid cells divide evenly into the plot lengths. The grid is populated with some initial values. Then one timestep of a simulation is run and this verifies that the number of seedlings is right, and the number of seeds is 0.

Parameters:
p_oSimManager Sim Manager object to run testing.

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

Runs through the error files to make sure that errors are caught correctly.

Parameters:
p_oSimManager Sim Manager object to run testing.

char* clTestEstablishment::WriteXMLFile1 (  )  [private]

Writes a parameter file to direct testing.

Returns:
Filename written.

char* clTestEstablishment::WriteXMLFile2 (  )  [private]

Writes a parameter file to direct testing.

Returns:
Filename written.

char* clTestEstablishment::WriteXMLErrorFile1 (  )  [private]

Writes a parameter file with no disperse behaviors whatsoever.

Returns:
Filename written.


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