
Public Member Functions | |
| void | testDoSetup () |
| This test makes sure that lambdas are reset correctly if species are changed. | |
| void | testFormatDataForDisplay () |
| Tests that the correct parameters are displayed for each behavior. | |
| void | testReadParFile () |
| Makes sure that nci lambda values are correctly read from parameter file. | |
| void | testChangeOfSpecies () |
| Makes sure that nci lambda values are managed correctly when species change. | |
| void | testCopySpecies () |
| Makes sure that nci lambda values are managed correctly when species are copied. | |
| void | testValidateData () |
| Tests ValidateData(). | |
Protected Member Functions | |
| String | WriteXMLValidFile1 () throws java.io.IOException |
| Writes a valid NCI growth file, Diam with auto height. | |
| String | WriteXMLValidFile2 () throws java.io.IOException |
| Writes a valid NCI growth file, Diam only. | |
| String | WriteXMLErrorFile1 () throws java.io.IOException |
| Creates error file 1. | |
| String | WriteXMLErrorFile2 () throws java.io.IOException |
| Creates error file 2. | |
| String | WriteXMLErrorFile3 () throws java.io.IOException |
| Creates error file 3. | |
| String | WriteXMLErrorFile4 () throws java.io.IOException |
| Creates error file 4. | |
| String | WriteXMLErrorFile5 () throws java.io.IOException |
| Creates error file 5. | |
| String | WriteXMLErrorFile6 () throws java.io.IOException |
| Creates error file 6. | |
| String | WriteXMLErrorFile7 () throws java.io.IOException |
| Creates error file 7. | |
| String | WriteXMLErrorFile8 () throws java.io.IOException |
| Creates error file 8. | |
| String | WriteXMLErrorFile9 () throws java.io.IOException |
| Creates error file 9. | |
| String | WriteXMLErrorFile10 () throws java.io.IOException |
| Creates error file 10. | |
| String | WriteXMLErrorFile11 () throws java.io.IOException |
| Creates error file 11. | |
| String | WriteXMLErrorFile12 () throws java.io.IOException |
| Creates error file 12. | |
| String | WriteXMLErrorFile13 () throws java.io.IOException |
| Creates error file 13. | |
| String | WriteXMLErrorFile14 () throws java.io.IOException |
| Creates error file 14. | |
| String | WriteXMLErrorFile15 () throws java.io.IOException |
| Creates error file 15. | |
| String | WriteXMLErrorFile16 () throws java.io.IOException |
| Creates error file 16. | |
| String | WriteXMLErrorFile17 () throws java.io.IOException |
| Creates error file 17. | |
| String | WriteXMLErrorFile18 () throws java.io.IOException |
| Creates error file 18. | |
| String | WriteNoGrowthXMLFile1 () throws java.io.IOException |
| Writes a file with no growth settings. | |
| String | WriteXMLFileForSpeciesCopy () throws java.io.IOException |
Private Member Functions | |
| void | WriteValidateFilePart1 (FileWriter oOut) throws java.io. IOException |
| Writes the common first part of parameter files. | |
| void | WriteBehaviorListDiamAuto (FileWriter oOut) throws java.io. IOException |
| Writes a behavior list for diameter NCI growth with auto height. | |
| void | WriteBehaviorListDiamOnly (FileWriter oOut) throws java.io. IOException |
| Writes a behavior list for diameter only NCI growth. | |
| void | WriteNCIMaxCrowdingRadius (FileWriter oOut) throws java.io. IOException |
| Writes NCI max crowding radius parameter. | |
| void | WriteNCIMinNeighborDBH (FileWriter oOut) throws java.io. IOException |
| Writes NCI minimum neighbor DBH parameter. | |
| void | WriteNCINeighborDBHEffect (FileWriter oOut) throws java.io. IOException |
| Writes NCI neighbor DBH effect parameter. | |
| void | WriteNCINeighborDistEffect (FileWriter oOut) throws java.io. IOException |
| Writes NCI neighbor distance effect parameter. | |
| void | WriteNCIMaxPotentialGrowth (FileWriter oOut) throws java.io. IOException |
| Writes NCI max potential growth parameter. | |
| void | WriteNCISizeSensNCI (FileWriter oOut) throws java.io. IOException |
| Writes NCI size sensitivity parameter. | |
| void | WriteNCISizeEffectMode (FileWriter oOut) throws java.io. IOException |
| Writes NCI size effect mode parameter. | |
| void | WriteNCISizeEffectVar (FileWriter oOut) throws java.io. IOException |
| Writes NCI size effect variance parameter. | |
| void | WriteNCISlope (FileWriter oOut) throws java.io.IOException |
| Writes NCI slope parameter. | |
| void | WriteNCISteepness (FileWriter oOut) throws java.io.IOException |
| Writes NCI steepness parameter. | |
| void | WriteNCIStormEffMedDmg (FileWriter oOut) throws java.io. IOException |
| Writes NCI storm effect medium damage parameter. | |
| void | WriteNCIStormEffFullDmg (FileWriter oOut) throws java.io. IOException |
| Writes NCI storm effect full damage parameter. | |
| void | WriteNCINeighStormEffMedDmg (FileWriter oOut) throws java.io. IOException |
| Writes NCI neighbor storm effect medium damage parameter. | |
| void | WriteNCINeighStormEffFullDmg (FileWriter oOut) throws java.io. IOException |
| Writes NCI neighbor storm effect full damage parameter. | |
| void | WriteNCIShadingCoefficient (FileWriter oOut) throws java.io. IOException |
| Writes NCI shading coefficient parameter. | |
| void | WriteNCIShadingExponent (FileWriter oOut) throws java.io. IOException |
| Writes NCI shading exponent parameter. | |
| void | WriteNCILambdas (FileWriter oOut) throws java.io.IOException |
| Writes NCI lambdas parameter. | |
| void | WriteValidFileEnd (FileWriter oOut) throws java.io.IOException |
| Writes the end for a valid parameter file. | |
| void | WriteErrorFile1End (FileWriter oOut) throws java.io.IOException |
| Writes an error condition where max radius of neighbor Effects is < 0. | |
| void | WriteErrorFile2End (FileWriter oOut) throws java.io.IOException |
| Writes an error condition where max growth for a species is < 0. | |
| void | WriteErrorFile3End (FileWriter oOut) throws java.io.IOException |
| Writes an error condition where Xb for a species = 0. | |
| void | WriteErrorFile4End (FileWriter oOut) throws java.io.IOException |
| Writes an error condition where X0 for a species = 0. | |
| void | WriteErrorFile5End (FileWriter oOut) throws java.io.IOException |
| Writes an error condition where med. | |
| void | WriteErrorFile6End (FileWriter oOut) throws java.io.IOException |
| Writes an error condition where full damage eta for a species is not a proportion. | |
| void | WriteErrorFile7End (FileWriter oOut) throws java.io.IOException |
| Writes an error condition where med. | |
| void | WriteErrorFile8End (FileWriter oOut) throws java.io.IOException |
| Writes an error condition where full damage storm Effect for a species is not a proportion. | |
| void | WriteErrorFile9End (FileWriter oOut) throws java.io.IOException |
| Writes an error condition where minimum neighbor DBH is less than 0. | |
Copyright: Copyright (c) Charles D. Canham 2003
Company: Institute of Ecosystem Studies
| void javawrapper.TestGrowthBehaviors.testDoSetup | ( | ) |
This test makes sure that lambdas are reset correctly if species are changed.
| void javawrapper.TestGrowthBehaviors.testFormatDataForDisplay | ( | ) |
Tests that the correct parameters are displayed for each behavior.
| void javawrapper.TestGrowthBehaviors.testReadParFile | ( | ) |
Makes sure that nci lambda values are correctly read from parameter file.
| void javawrapper.TestGrowthBehaviors.testChangeOfSpecies | ( | ) |
Makes sure that nci lambda values are managed correctly when species change.
| void javawrapper.TestGrowthBehaviors.testCopySpecies | ( | ) |
Makes sure that nci lambda values are managed correctly when species are copied.
| void javawrapper.TestGrowthBehaviors.testValidateData | ( | ) |
Tests ValidateData().
| String javawrapper.TestGrowthBehaviors.WriteXMLValidFile1 | ( | ) | throws java.io.IOException [protected] |
Writes a valid NCI growth file, Diam with auto height.
| IOException | if there is a problem writing the file. |
| String javawrapper.TestGrowthBehaviors.WriteXMLValidFile2 | ( | ) | throws java.io.IOException [protected] |
Writes a valid NCI growth file, Diam only.
| IOException | if there is a problem writing the file. |
| String javawrapper.TestGrowthBehaviors.WriteXMLErrorFile1 | ( | ) | throws java.io.IOException [protected] |
Creates error file 1.
| IOException | if there is a problem writing the file. |
| String javawrapper.TestGrowthBehaviors.WriteXMLErrorFile2 | ( | ) | throws java.io.IOException [protected] |
Creates error file 2.
| IOException | if there is a problem writing the file. |
| String javawrapper.TestGrowthBehaviors.WriteXMLErrorFile3 | ( | ) | throws java.io.IOException [protected] |
Creates error file 3.
| IOException | if there is a problem writing the file. |
| String javawrapper.TestGrowthBehaviors.WriteXMLErrorFile4 | ( | ) | throws java.io.IOException [protected] |
Creates error file 4.
| IOException | if there is a problem writing the file. |
| String javawrapper.TestGrowthBehaviors.WriteXMLErrorFile5 | ( | ) | throws java.io.IOException [protected] |
Creates error file 5.
| IOException | if there is a problem writing the file. |
| String javawrapper.TestGrowthBehaviors.WriteXMLErrorFile6 | ( | ) | throws java.io.IOException [protected] |
Creates error file 6.
| IOException | if there is a problem writing the file. |
| String javawrapper.TestGrowthBehaviors.WriteXMLErrorFile7 | ( | ) | throws java.io.IOException [protected] |
Creates error file 7.
| IOException | if there is a problem writing the file. |
| String javawrapper.TestGrowthBehaviors.WriteXMLErrorFile8 | ( | ) | throws java.io.IOException [protected] |
Creates error file 8.
| IOException | if there is a problem writing the file. |
| String javawrapper.TestGrowthBehaviors.WriteXMLErrorFile9 | ( | ) | throws java.io.IOException [protected] |
Creates error file 9.
| IOException | if there is a problem writing the file. |
| String javawrapper.TestGrowthBehaviors.WriteXMLErrorFile10 | ( | ) | throws java.io.IOException [protected] |
Creates error file 10.
| IOException | if there is a problem writing the file. |
| String javawrapper.TestGrowthBehaviors.WriteXMLErrorFile11 | ( | ) | throws java.io.IOException [protected] |
Creates error file 11.
| IOException | if there is a problem writing the file. |
| String javawrapper.TestGrowthBehaviors.WriteXMLErrorFile12 | ( | ) | throws java.io.IOException [protected] |
Creates error file 12.
| IOException | if there is a problem writing the file. |
| String javawrapper.TestGrowthBehaviors.WriteXMLErrorFile13 | ( | ) | throws java.io.IOException [protected] |
Creates error file 13.
| IOException | if there is a problem writing the file. |
| String javawrapper.TestGrowthBehaviors.WriteXMLErrorFile14 | ( | ) | throws java.io.IOException [protected] |
Creates error file 14.
| IOException | if there is a problem writing the file. |
| String javawrapper.TestGrowthBehaviors.WriteXMLErrorFile15 | ( | ) | throws java.io.IOException [protected] |
Creates error file 15.
| IOException | if there is a problem writing the file. |
| String javawrapper.TestGrowthBehaviors.WriteXMLErrorFile16 | ( | ) | throws java.io.IOException [protected] |
Creates error file 16.
| IOException | if there is a problem writing the file. |
| String javawrapper.TestGrowthBehaviors.WriteXMLErrorFile17 | ( | ) | throws java.io.IOException [protected] |
Creates error file 17.
| IOException | if there is a problem writing the file. |
| String javawrapper.TestGrowthBehaviors.WriteXMLErrorFile18 | ( | ) | throws java.io.IOException [protected] |
Creates error file 18.
| IOException | if there is a problem writing the file. |
| void javawrapper.TestGrowthBehaviors.WriteValidateFilePart1 | ( | FileWriter | oOut | ) | throws java.io. IOException [private] |
Writes the common first part of parameter files.
| IOException | if there is a problem writing the file. |
| oOut | File stream to write to. |
| void javawrapper.TestGrowthBehaviors.WriteBehaviorListDiamAuto | ( | FileWriter | oOut | ) | throws java.io. IOException [private] |
Writes a behavior list for diameter NCI growth with auto height.
| IOException | if there is a problem writing the file. |
| oOut | File stream to write to. |
| void javawrapper.TestGrowthBehaviors.WriteBehaviorListDiamOnly | ( | FileWriter | oOut | ) | throws java.io. IOException [private] |
Writes a behavior list for diameter only NCI growth.
| IOException | if there is a problem writing the file. |
| oOut | File stream to write to. |
| void javawrapper.TestGrowthBehaviors.WriteNCIMaxCrowdingRadius | ( | FileWriter | oOut | ) | throws java.io. IOException [private] |
Writes NCI max crowding radius parameter.
| IOException | if there is a problem writing the file. |
| oOut | File stream to write to. |
| void javawrapper.TestGrowthBehaviors.WriteNCIMinNeighborDBH | ( | FileWriter | oOut | ) | throws java.io. IOException [private] |
Writes NCI minimum neighbor DBH parameter.
| IOException | if there is a problem writing the file. |
| oOut | File stream to write to. |
| void javawrapper.TestGrowthBehaviors.WriteNCINeighborDBHEffect | ( | FileWriter | oOut | ) | throws java.io. IOException [private] |
Writes NCI neighbor DBH effect parameter.
| IOException | if there is a problem writing the file. |
| oOut | File stream to write to. |
| void javawrapper.TestGrowthBehaviors.WriteNCINeighborDistEffect | ( | FileWriter | oOut | ) | throws java.io. IOException [private] |
Writes NCI neighbor distance effect parameter.
| IOException | if there is a problem writing the file. |
| oOut | File stream to write to. |
| void javawrapper.TestGrowthBehaviors.WriteNCIMaxPotentialGrowth | ( | FileWriter | oOut | ) | throws java.io. IOException [private] |
Writes NCI max potential growth parameter.
| IOException | if there is a problem writing the file. |
| oOut | File stream to write to. |
| void javawrapper.TestGrowthBehaviors.WriteNCISizeSensNCI | ( | FileWriter | oOut | ) | throws java.io. IOException [private] |
Writes NCI size sensitivity parameter.
| IOException | if there is a problem writing the file. |
| oOut | File stream to write to. |
| void javawrapper.TestGrowthBehaviors.WriteNCISizeEffectMode | ( | FileWriter | oOut | ) | throws java.io. IOException [private] |
Writes NCI size effect mode parameter.
| IOException | if there is a problem writing the file. |
| oOut | File stream to write to. |
| void javawrapper.TestGrowthBehaviors.WriteNCISizeEffectVar | ( | FileWriter | oOut | ) | throws java.io. IOException [private] |
Writes NCI size effect variance parameter.
| IOException | if there is a problem writing the file. |
| oOut | File stream to write to. |
| void javawrapper.TestGrowthBehaviors.WriteNCISlope | ( | FileWriter | oOut | ) | throws java.io.IOException [private] |
Writes NCI slope parameter.
| IOException | if there is a problem writing the file. |
| oOut | File stream to write to. |
| void javawrapper.TestGrowthBehaviors.WriteNCISteepness | ( | FileWriter | oOut | ) | throws java.io.IOException [private] |
Writes NCI steepness parameter.
| IOException | if there is a problem writing the file. |
| oOut | File stream to write to. |
| void javawrapper.TestGrowthBehaviors.WriteNCIStormEffMedDmg | ( | FileWriter | oOut | ) | throws java.io. IOException [private] |
Writes NCI storm effect medium damage parameter.
| IOException | if there is a problem writing the file. |
| oOut | File stream to write to. |
| void javawrapper.TestGrowthBehaviors.WriteNCIStormEffFullDmg | ( | FileWriter | oOut | ) | throws java.io. IOException [private] |
Writes NCI storm effect full damage parameter.
| IOException | if there is a problem writing the file. |
| oOut | File stream to write to. |
| void javawrapper.TestGrowthBehaviors.WriteNCINeighStormEffMedDmg | ( | FileWriter | oOut | ) | throws java.io. IOException [private] |
Writes NCI neighbor storm effect medium damage parameter.
| IOException | if there is a problem writing the file. |
| oOut | File stream to write to. |
| void javawrapper.TestGrowthBehaviors.WriteNCINeighStormEffFullDmg | ( | FileWriter | oOut | ) | throws java.io. IOException [private] |
Writes NCI neighbor storm effect full damage parameter.
| IOException | if there is a problem writing the file. |
| oOut | File stream to write to. |
| void javawrapper.TestGrowthBehaviors.WriteNCIShadingCoefficient | ( | FileWriter | oOut | ) | throws java.io. IOException [private] |
Writes NCI shading coefficient parameter.
| IOException | if there is a problem writing the file. |
| oOut | File stream to write to. |
| void javawrapper.TestGrowthBehaviors.WriteNCIShadingExponent | ( | FileWriter | oOut | ) | throws java.io. IOException [private] |
Writes NCI shading exponent parameter.
| IOException | if there is a problem writing the file. |
| oOut | File stream to write to. |
| void javawrapper.TestGrowthBehaviors.WriteNCILambdas | ( | FileWriter | oOut | ) | throws java.io.IOException [private] |
Writes NCI lambdas parameter.
| IOException | if there is a problem writing the file. |
| oOut | File stream to write to. |
| void javawrapper.TestGrowthBehaviors.WriteValidFileEnd | ( | FileWriter | oOut | ) | throws java.io.IOException [private] |
Writes the end for a valid parameter file.
| IOException | if there is a problem writing the file. |
| oOut | File stream to write to. |
| void javawrapper.TestGrowthBehaviors.WriteErrorFile1End | ( | FileWriter | oOut | ) | throws java.io.IOException [private] |
Writes an error condition where max radius of neighbor Effects is < 0.
| oOut | FileWriter File to write to. |
| IOException | if there is a problem writing the file. |
| void javawrapper.TestGrowthBehaviors.WriteErrorFile2End | ( | FileWriter | oOut | ) | throws java.io.IOException [private] |
Writes an error condition where max growth for a species is < 0.
| oOut | FileWriter File to write to. |
| IOException | if there is a problem writing the file. |
| void javawrapper.TestGrowthBehaviors.WriteErrorFile3End | ( | FileWriter | oOut | ) | throws java.io.IOException [private] |
Writes an error condition where Xb for a species = 0.
| oOut | FileWriter File to write to. |
| IOException | if there is a problem writing the file. |
| void javawrapper.TestGrowthBehaviors.WriteErrorFile4End | ( | FileWriter | oOut | ) | throws java.io.IOException [private] |
Writes an error condition where X0 for a species = 0.
| oOut | FileWriter File to write to. |
| IOException | if there is a problem writing the file. |
| void javawrapper.TestGrowthBehaviors.WriteErrorFile5End | ( | FileWriter | oOut | ) | throws java.io.IOException [private] |
Writes an error condition where med.
damage eta for a species is not a proportion.
| oOut | FileWriter File to write to. |
| IOException | if there is a problem writing the file. |
| void javawrapper.TestGrowthBehaviors.WriteErrorFile6End | ( | FileWriter | oOut | ) | throws java.io.IOException [private] |
Writes an error condition where full damage eta for a species is not a proportion.
| oOut | FileWriter File to write to. |
| IOException | if there is a problem writing the file. |
| void javawrapper.TestGrowthBehaviors.WriteErrorFile7End | ( | FileWriter | oOut | ) | throws java.io.IOException [private] |
Writes an error condition where med.
damage storm Effect for a species is not a proportion.
| oOut | FileWriter File to write to. |
| IOException | if there is a problem writing the file. |
| void javawrapper.TestGrowthBehaviors.WriteErrorFile8End | ( | FileWriter | oOut | ) | throws java.io.IOException [private] |
Writes an error condition where full damage storm Effect for a species is not a proportion.
| oOut | FileWriter File to write to. |
| IOException | if there is a problem writing the file. |
| void javawrapper.TestGrowthBehaviors.WriteErrorFile9End | ( | FileWriter | oOut | ) | throws java.io.IOException [private] |
Writes an error condition where minimum neighbor DBH is less than 0.
| oOut | FileWriter File to write to. |
| IOException | if there is a problem writing the file. |
| String javawrapper.TestGrowthBehaviors.WriteNoGrowthXMLFile1 | ( | ) | throws java.io.IOException [protected] |
Writes a file with no growth settings.
| IOException | if there is a problem writing the file. |
| String javawrapper.TestGrowthBehaviors.WriteXMLFileForSpeciesCopy | ( | ) | throws java.io.IOException [protected] |
1.5.6