Inheritance diagram for javawrapper::TestAnalysisBehaviors:

Public Member Functions | |
| void | testReadXMLVolumeSettings () |
| Tests reading of parameter file XML volume calculator settings. | |
| void | testReadXMLBiomassSettings () |
| Tests reading of parameter file XML biomass calculator settings. | |
| void | testFormatDataForDisplay () |
| Tests to make sure the appropriate parameters are displayed for each behavior. | |
| void | testValidateData () throws ModelException |
| Tests ValidateData() for data analysis behaviors. | |
Protected Member Functions | |
| String | WriteVolumeXMLFile1 () throws java.io.IOException |
| Writes a valid file for testing parameter file reading of volume calculator behavior parameters. | |
| String | WriteBoleVolumeXMLFile1 () throws java.io.IOException |
| Writes a valid file for testing parameter file reading of bole volume calculator behavior parameters. | |
| String | WriteBiomassXMLFile1 () throws java.io.IOException |
| Writes a valid file for testing parameter file reading of biomass calculator behavior parameters. | |
| String | WriteVolumeXMLErrorFile1 () throws java.io.IOException |
| Writes a file where the stump height is a negative number. | |
| String | WriteVolumeXMLErrorFile2 () throws java.io.IOException |
| Writes a file where the minimum usable diameter is a negative number. | |
| String | WriteVolumeXMLErrorFile3 () throws java.io.IOException |
| Writes a file where the segment length is a negative number. | |
| String | WriteBoleVolumeErrorXMLFile1 () throws java.io.IOException |
| Writes an error file for testing parameter file reading of bole volume calculator behavior parameters. | |
| String | WriteBoleVolumeErrorXMLFile2 () throws java.io.IOException |
| Writes an error file for testing parameter file reading of bole volume calculator behavior parameters. | |
| String | WriteNeutralFile () throws java.io.IOException |
| Writes a file with no analysis behaviors. | |
Private Member Functions | |
| void | WriteVolumeCommonStuff (FileWriter oOut) throws java.io. IOException |
| Writes common stuff for parameter files validating the volume calculator behavior. | |
| void | WriteBoleVolumeCommonStuff (FileWriter oOut) throws java.io. IOException |
| Writes common stuff for parameter files validating the bole volume calculator behavior. | |
| void | WriteBiomassCommonStuff (FileWriter oOut) throws java.io. IOException |
| Writes common stuff for parameter files validating the biomass calculator behavior. | |
Copyright: Copyright (c) Charles D. Canham 2003
Company: Institute of Ecosystem Studies
| void javawrapper::TestAnalysisBehaviors::testValidateData | ( | ) | throws ModelException [inline] |
Tests ValidateData() for data analysis behaviors.
| ModelException | if the validation happens incorrectly. |
| void javawrapper::TestAnalysisBehaviors::WriteBiomassCommonStuff | ( | FileWriter | oOut | ) | throws java.io. IOException [inline, private] |
Writes common stuff for parameter files validating the biomass calculator behavior.
| oOut | FileWriter File to write to. |
| IOException | if there is a problem writing to the file. |
| String javawrapper::TestAnalysisBehaviors::WriteBiomassXMLFile1 | ( | ) | throws java.io.IOException [inline, protected] |
Writes a valid file for testing parameter file reading of biomass calculator behavior parameters.
| IOException | if there is a problem writing the file. |
| void javawrapper::TestAnalysisBehaviors::WriteBoleVolumeCommonStuff | ( | FileWriter | oOut | ) | throws java.io. IOException [inline, private] |
Writes common stuff for parameter files validating the bole volume calculator behavior.
| oOut | FileWriter File to write to. |
| IOException | if there is a problem writing to the file. |
| String javawrapper::TestAnalysisBehaviors::WriteBoleVolumeErrorXMLFile1 | ( | ) | throws java.io.IOException [inline, protected] |
Writes an error file for testing parameter file reading of bole volume calculator behavior parameters.
This has a form class of less than 60.
| IOException | if there is a problem writing the file. |
| String javawrapper::TestAnalysisBehaviors::WriteBoleVolumeErrorXMLFile2 | ( | ) | throws java.io.IOException [inline, protected] |
Writes an error file for testing parameter file reading of bole volume calculator behavior parameters.
This has a form class of more than 100.
| IOException | if there is a problem writing the file. |
| String javawrapper::TestAnalysisBehaviors::WriteBoleVolumeXMLFile1 | ( | ) | throws java.io.IOException [inline, protected] |
Writes a valid file for testing parameter file reading of bole volume calculator behavior parameters.
| IOException | if there is a problem writing the file. |
| String javawrapper::TestAnalysisBehaviors::WriteNeutralFile | ( | ) | throws java.io.IOException [inline, protected] |
Writes a file with no analysis behaviors.
| IOException | if there is a problem writing the file. |
| void javawrapper::TestAnalysisBehaviors::WriteVolumeCommonStuff | ( | FileWriter | oOut | ) | throws java.io. IOException [inline, private] |
Writes common stuff for parameter files validating the volume calculator behavior.
| oOut | FileWriter File to write to. |
| IOException | if there is a problem writing to the file. |
| String javawrapper::TestAnalysisBehaviors::WriteVolumeXMLErrorFile1 | ( | ) | throws java.io.IOException [inline, protected] |
Writes a file where the stump height is a negative number.
Tests volume calculator behavior validation.
| IOException | if there is a problem writing the file. |
| String javawrapper::TestAnalysisBehaviors::WriteVolumeXMLErrorFile2 | ( | ) | throws java.io.IOException [inline, protected] |
Writes a file where the minimum usable diameter is a negative number.
Tests volume calculator behavior validation.
| IOException | if there is a problem writing the file. |
| String javawrapper::TestAnalysisBehaviors::WriteVolumeXMLErrorFile3 | ( | ) | throws java.io.IOException [inline, protected] |
Writes a file where the segment length is a negative number.
Tests volume calculator behavior validation.
| IOException | if there is a problem writing the file. |
| String javawrapper::TestAnalysisBehaviors::WriteVolumeXMLFile1 | ( | ) | throws java.io.IOException [inline, protected] |
Writes a valid file for testing parameter file reading of volume calculator behavior parameters.
| IOException | if there is a problem writing the file. |
1.4.7