Public Member Functions | |
void | testBackwardsCompatibility () |
Tests to make sure old substrate files are properly read. | |
void | testFormatDataForDisplay () |
Tests to make sure the appropriate parameters are displayed for each behavior. | |
void | testParFileRead () |
Tests to make sure parameter files are properly read. | |
void | testValidateData () throws ModelException |
Tests ValidateData(). | |
void | testChangeOfSpecies () |
Tests species changes. | |
Protected Member Functions | |
String | WriteXMLOldFile1 () throws java.io.IOException |
Writes an old-school substrate file to test backwards compatibility. | |
String | WriteXMLOldFile2 () throws java.io.IOException |
Writes a 6.05 substrate file. | |
String | WriteXMLValidFile1 () throws java.io.IOException |
Writes a 6.05 substrate file. | |
String | WriteNeutralFile () throws java.io.IOException |
Writes a file with no analysis behaviors. | |
String | WriteXMLValidFile2 () throws IOException |
Writes a detailed substrate file. | |
Private Member Functions | |
void | WritePlotAndTrees (FileWriter oOut) throws java.io.IOException |
This writes plot and tree information. |
Copyright: Copyright (c) Charles D. Canham 2003
Company: Institute of Ecosystem Studies
void javawrapper.TestSubstrateBehaviors.testBackwardsCompatibility | ( | ) |
Tests to make sure old substrate files are properly read.
void javawrapper.TestSubstrateBehaviors.testFormatDataForDisplay | ( | ) |
Tests to make sure the appropriate parameters are displayed for each behavior.
void javawrapper.TestSubstrateBehaviors.testParFileRead | ( | ) |
Tests to make sure parameter files are properly read.
void javawrapper.TestSubstrateBehaviors.testValidateData | ( | ) | throws ModelException |
void javawrapper.TestSubstrateBehaviors.testChangeOfSpecies | ( | ) |
Tests species changes.
Even though SubstrateBehaviors doesn't explicitly have code for changing species, this makes sure that it is treated correctly.
String javawrapper.TestSubstrateBehaviors.WriteXMLOldFile1 | ( | ) | throws java.io.IOException [protected] |
Writes an old-school substrate file to test backwards compatibility.
IOException | if there is a problem writing the file. |
String javawrapper.TestSubstrateBehaviors.WriteXMLOldFile2 | ( | ) | throws java.io.IOException [protected] |
Writes a 6.05 substrate file.
IOException | If there is a problem writing the file. |
String javawrapper.TestSubstrateBehaviors.WriteXMLValidFile1 | ( | ) | throws java.io.IOException [protected] |
Writes a 6.05 substrate file.
IOException | If there is a problem writing the file. |
void javawrapper.TestSubstrateBehaviors.WritePlotAndTrees | ( | FileWriter | oOut | ) | throws java.io.IOException [private] |
This writes plot and tree information.
oOut | FileWriter |
IOException |
String javawrapper.TestSubstrateBehaviors.WriteNeutralFile | ( | ) | throws java.io.IOException [protected] |
Writes a file with no analysis behaviors.
IOException | if there is a problem writing the file. |
String javawrapper.TestSubstrateBehaviors.WriteXMLValidFile2 | ( | ) | throws IOException [protected] |
Writes a detailed substrate file.
IOException | If there is a problem writing the file. |