clTestCrownRadiusReporter Class Reference

Tests the class clCrownRadiusReporter. More...

#include <TestCrownRadiusReporter.h>

List of all members.

Public Member Functions

void TestCrownRadiusReporter ()
 Performs all the tests from one function.

Protected Member Functions

void TestNormalProcessingRun1 (clSimManager *p_oSimManager)
 Tests normal processing, run 1.
void TestErrorProcessing (clSimManager *p_oSimManager)
 Tests error processing.
char * WriteXMLFile1 ()
 Writes the parameter file for normal processing.
char * WriteXMLErrorFile1 ()
 Writes an error file where the behavior is applied to seedlings.


Detailed Description

Tests the class clCrownRadiusReporter.

Member Function Documentation

void clTestCrownRadiusReporter::TestCrownRadiusReporter (  ) 

Performs all the tests from one function.

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

Tests normal processing, run 1.

WriteXMLFile1() does setup. Several trees are created and their radii checked to make sure it's correct after each of two timesteps.

Parameters:
p_oSimManager Sim Manager object to call for runs.

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

Tests error processing.

This uses WriteXMLErrorFile1() to introduce errors and makes sure that they are caught.

char* clTestCrownRadiusReporter::WriteXMLFile1 (  )  [protected]

Writes the parameter file for normal processing.

There are 3 species; timestep length is 1 year; there are two behaviors, growth and the crown radius reporter behavior.

Returns:
Filename written.

char* clTestCrownRadiusReporter::WriteXMLErrorFile1 (  )  [protected]

Writes an error file where the behavior is applied to seedlings.


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

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