clTestTreeRemover Class Reference

Tests the clTreeRemover class. More...

#include <TestTreeRemover.h>

List of all members.

Public Member Functions

void TestTreeRemover ()
 Tests TreeRemover.

Protected Member Functions

char * WriteXMLFile1 ()
 Writes a parameter file with the specifications given for TestTreeRemover().
char * WriteXMLFile2 ()
 Writes a parameter file with an error - the TreeRemover behavior is assigned to a tree species/type combo that is not also assigned to a mortality behavior.


Detailed Description

Tests the clTreeRemover class.


Member Function Documentation

void clTestTreeRemover::TestTreeRemover (  ) 

Tests TreeRemover.

Reads in the file created by WriteXMLFile1(). The file has the following characteristics:

The value of the "dead" data member is set to true for trees 1 and 3. Then the TreeRemover behavior is run. Only tree 1 should go away.

Once that's finished, error processing occurs with WriteXMLFile2(), which has TreeRemover assigned to a tree species/type combo without mortality.

char* clTestTreeRemover::WriteXMLFile1 (  )  [protected]

Writes a parameter file with the specifications given for TestTreeRemover().

Returns:
Filename written.

char* clTestTreeRemover::WriteXMLFile2 (  )  [protected]

Writes a parameter file with an error - the TreeRemover behavior is assigned to a tree species/type combo that is not also assigned to a mortality behavior.

Returns:
Filename written.


The documentation for this class was generated from the following file:
Generated on Wed Nov 15 11:27:27 2006 for SORTIE C++ Test Documentation by  doxygen 1.4.7