javawrapper.TestOtherDisturbanceBehaviors Class Reference

Tests certain behaviors of the DisturbanceBehavior class. More...

Inheritance diagram for javawrapper.TestOtherDisturbanceBehaviors:

javawrapper.ModelTestCase

List of all members.

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 ()
 Tests the reading of the parameter file.
void testChangeOfSpecies ()
 Makes sure that competition harvest lambda values are managed correctly when species change.
void testCopySpecies ()
 Makes sure that competition harvest lambda values are managed correctly when species are copied.
void testValidateData ()
 Tests ValidateData().

Protected Member Functions

String WriteXMLValidCompetitionHarvestFile1 () throws java.io.IOException
 Writes a valid competition harvest file.
String WriteXMLValidCompetitionHarvestFile2 () throws java.io.IOException
 Writes a valid competition harvest file with extra tweaks to help catch validation problems.


Detailed Description

Tests certain behaviors of the DisturbanceBehavior class.

Copyright: Copyright (c) Charles D. Canham 2007 Company: Institute of Ecosystem Studies

Author:
Lora E. Murphy
Version:
1.0

Member Function Documentation

void javawrapper.TestOtherDisturbanceBehaviors.testDoSetup (  ) 

This test makes sure that lambdas are reset correctly if species are changed.

void javawrapper.TestOtherDisturbanceBehaviors.testFormatDataForDisplay (  ) 

Tests that the correct parameters are displayed for each behavior.

void javawrapper.TestOtherDisturbanceBehaviors.testReadParFile (  ) 

Tests the reading of the parameter file.

void javawrapper.TestOtherDisturbanceBehaviors.testChangeOfSpecies (  ) 

Makes sure that competition harvest lambda values are managed correctly when species change.

void javawrapper.TestOtherDisturbanceBehaviors.testCopySpecies (  ) 

Makes sure that competition harvest lambda values are managed correctly when species are copied.

void javawrapper.TestOtherDisturbanceBehaviors.testValidateData (  ) 

Tests ValidateData().

String javawrapper.TestOtherDisturbanceBehaviors.WriteXMLValidCompetitionHarvestFile1 (  )  throws java.io.IOException [protected]

Writes a valid competition harvest file.

Returns:
The file name.
Exceptions:
IOException if there is a problem writing the file.

String javawrapper.TestOtherDisturbanceBehaviors.WriteXMLValidCompetitionHarvestFile2 (  )  throws java.io.IOException [protected]

Writes a valid competition harvest file with extra tweaks to help catch validation problems.

Returns:
The file name.
Exceptions:
IOException if there is a problem writing the file.


The documentation for this class was generated from the following file:

Generated on Wed Oct 28 14:01:25 2009 for SORTIE Java Interface by  doxygen 1.5.6