Public Member Functions | |
void | testRipleysKGridChange () |
Makes sure that changes in user parameters are correctly reflected in the Ripley's K grid and any output settings that may have been made from that grid. | |
void | testRelativeNeighborhoodDensityGridChange () |
Makes sure that changes in user parameters are correctly reflected in the Relative Neighborhood Density grid and any output settings that may have been made from that grid. | |
void | testReadXMLVolumeSettings () |
Tests reading of parameter file XML volume calculator settings. | |
void | testReadXMLBoleVolumeSettings () |
Tests reading of parameter file XML bole volume calculator settings. | |
void | testReadXMLDimensionAnalysisSettings () |
Tests reading of parameter file XML dimension analysis calculator settings. | |
void | testReadRipleysKSettings () |
Tests reading of parameter file XML Ripley's K calculator settings. | |
void | testReadConditsOmegaSettings () |
Tests reading of parameter file XML Condit's Omega (Relative Neighborhood Density) calculator settings. | |
void | testChangeOfSpecies () |
Tests species changes. | |
void | testReadPartitionedBiomassSettings () |
Tests reading parameter file values for partitioned biomass, including 6.8 backwards compatibility. | |
void | testReadFoliarChemistrySettings () |
Tests reading parameter file values for foliar chemistry. | |
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 IOException |
Writes a valid file for testing parameter file reading of volume calculator behavior parameters. | |
String | WritePartitionedBiomassXMLFile1 () throws IOException |
Writes a valid file for testing parameter file reading of partitioned biomass behavior parameters. | |
String | WriteFoliarChemistryXMLFile1 () throws IOException |
Writes a valid file for testing parameter file reading of foliar chemistry behavior parameters. | |
String | WriteRipleysKXMLFile1 () throws IOException |
Writes a valid file for testing parameter file reading of Ripley's K calculator behavior parameters. | |
String | WriteConditsOmegaXMLFile1 () throws IOException |
Writes a valid file for testing parameter file reading of Relative Neighborhood Density calculator (Condit's Omega) behavior parameters. | |
String | WriteComboXMLFile1 () throws IOException |
Writes a file with multiple analysis behaviors represented. | |
String | Write68PartitionedBiomassXMLFile () throws IOException |
Writes a file with 6.8 partitioned biomass parameters, to test backwards compatibility. | |
String | WriteBoleVolumeXMLFile1 () throws java.io.IOException |
Writes a valid file for testing parameter file reading of bole volume calculator behavior parameters. | |
String | WriteDimensionAnalysisXMLFile1 () throws java.io.IOException |
Writes a valid file for testing parameter file reading of dimension analysis 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 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 IOException |
Writes a file with no analysis behaviors. | |
Private Member Functions | |
void | WriteVolumeCommonStuff (FileWriter oOut) throws 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 | WriteDimensionAnalysisCommonStuff (FileWriter oOut) throws java.io. IOException |
Writes common stuff for parameter files validating the dimension analysis behavior. | |
void | WritePlotAndTrees (FileWriter oOut) throws IOException |
Writes plot and trees with three species. |
Copyright: Copyright (c) Charles D. Canham 2003 Company: Institute of Ecosystem Studies
void javawrapper.TestAnalysisBehaviors.testRipleysKGridChange | ( | ) |
Makes sure that changes in user parameters are correctly reflected in the Ripley's K grid and any output settings that may have been made from that grid.
void javawrapper.TestAnalysisBehaviors.testRelativeNeighborhoodDensityGridChange | ( | ) |
Makes sure that changes in user parameters are correctly reflected in the Relative Neighborhood Density grid and any output settings that may have been made from that grid.
void javawrapper.TestAnalysisBehaviors.testReadXMLVolumeSettings | ( | ) |
Tests reading of parameter file XML volume calculator settings.
void javawrapper.TestAnalysisBehaviors.testReadXMLBoleVolumeSettings | ( | ) |
Tests reading of parameter file XML bole volume calculator settings.
void javawrapper.TestAnalysisBehaviors.testReadXMLDimensionAnalysisSettings | ( | ) |
Tests reading of parameter file XML dimension analysis calculator settings.
void javawrapper.TestAnalysisBehaviors.testReadRipleysKSettings | ( | ) |
Tests reading of parameter file XML Ripley's K calculator settings.
void javawrapper.TestAnalysisBehaviors.testReadConditsOmegaSettings | ( | ) |
Tests reading of parameter file XML Condit's Omega (Relative Neighborhood Density) calculator settings.
void javawrapper.TestAnalysisBehaviors.testChangeOfSpecies | ( | ) |
Tests species changes.
Even though AnalysisBehaviors doesn't explicitly have code for changing species, this makes sure that it is treated correctly.
void javawrapper.TestAnalysisBehaviors.testReadPartitionedBiomassSettings | ( | ) |
Tests reading parameter file values for partitioned biomass, including 6.8 backwards compatibility.
void javawrapper.TestAnalysisBehaviors.testReadFoliarChemistrySettings | ( | ) |
Tests reading parameter file values for foliar chemistry.
void javawrapper.TestAnalysisBehaviors.testFormatDataForDisplay | ( | ) |
Tests to make sure the appropriate parameters are displayed for each behavior.
void javawrapper.TestAnalysisBehaviors.testValidateData | ( | ) | throws ModelException |
Tests ValidateData() for data analysis behaviors.
ModelException | if the validation happens incorrectly. |
String javawrapper.TestAnalysisBehaviors.WriteVolumeXMLFile1 | ( | ) | throws IOException [protected] |
Writes a valid file for testing parameter file reading of volume calculator behavior parameters.
IOException | if there is a problem writing the file. |
String javawrapper.TestAnalysisBehaviors.WritePartitionedBiomassXMLFile1 | ( | ) | throws IOException [protected] |
Writes a valid file for testing parameter file reading of partitioned biomass behavior parameters.
IOException | if there is a problem writing the file. |
String javawrapper.TestAnalysisBehaviors.WriteFoliarChemistryXMLFile1 | ( | ) | throws IOException [protected] |
Writes a valid file for testing parameter file reading of foliar chemistry behavior parameters.
IOException | if there is a problem writing the file. |
String javawrapper.TestAnalysisBehaviors.WriteRipleysKXMLFile1 | ( | ) | throws IOException [protected] |
Writes a valid file for testing parameter file reading of Ripley's K calculator behavior parameters.
IOException | if there is a problem writing the file. |
String javawrapper.TestAnalysisBehaviors.WriteConditsOmegaXMLFile1 | ( | ) | throws IOException [protected] |
Writes a valid file for testing parameter file reading of Relative Neighborhood Density calculator (Condit's Omega) behavior parameters.
IOException | if there is a problem writing the file. |
String javawrapper.TestAnalysisBehaviors.WriteComboXMLFile1 | ( | ) | throws IOException [protected] |
Writes a file with multiple analysis behaviors represented.
IOException | if there is a problem writing the file. |
String javawrapper.TestAnalysisBehaviors.Write68PartitionedBiomassXMLFile | ( | ) | throws IOException [protected] |
Writes a file with 6.8 partitioned biomass parameters, to test backwards compatibility.
IOException | if there is a problem writing the file. |
String javawrapper.TestAnalysisBehaviors.WriteBoleVolumeXMLFile1 | ( | ) | throws java.io.IOException [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.WriteDimensionAnalysisXMLFile1 | ( | ) | throws java.io.IOException [protected] |
Writes a valid file for testing parameter file reading of dimension analysis behavior parameters.
IOException | if there is a problem writing the file. |
String javawrapper.TestAnalysisBehaviors.WriteVolumeXMLErrorFile1 | ( | ) | throws java.io.IOException [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 [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 [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.WriteBoleVolumeErrorXMLFile1 | ( | ) | throws IOException [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 [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. |
void javawrapper.TestAnalysisBehaviors.WriteVolumeCommonStuff | ( | FileWriter | oOut | ) | throws IOException [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. |
void javawrapper.TestAnalysisBehaviors.WriteBoleVolumeCommonStuff | ( | FileWriter | oOut | ) | throws java.io. IOException [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. |
void javawrapper.TestAnalysisBehaviors.WriteDimensionAnalysisCommonStuff | ( | FileWriter | oOut | ) | throws java.io. IOException [private] |
Writes common stuff for parameter files validating the dimension analysis behavior.
oOut | FileWriter File to write to. |
IOException | if there is a problem writing to the file. |
String javawrapper.TestAnalysisBehaviors.WriteNeutralFile | ( | ) | throws IOException [protected] |
Writes a file with no analysis behaviors.
IOException | if there is a problem writing the file. |
void javawrapper.TestAnalysisBehaviors.WritePlotAndTrees | ( | FileWriter | oOut | ) | throws IOException [private] |
Writes plot and trees with three species.
oOut | FileWriter File to write to. |
IOException | if there is a problem writing to the file. |