javawrapper.TestMortalityBehaviors Class Reference

Tests the MortalityBehaviors class. More...

Inheritance diagram for javawrapper.TestMortalityBehaviors:

javawrapper.ModelTestCase

List of all members.

Public Member Functions

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 testFormatDataForDisplay ()
 Tests that the correct parameters are displayed for each behavior.
void testBackwardsCompatibility ()
 Tests backwards compatibility for Weibull snag mortality behavior and NCI mortality.
void testValidateData ()
 Tests ValidateData().

Protected Member Functions

String WriteXMLFile2 () throws java.io.IOException
 Writes test XML file.
String WriteNoMortalityXMLFile () throws java.io.IOException
 Writes a file with no mortality settings.


Detailed Description

Tests the MortalityBehaviors class.

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

Author:
Lora E. Murphy
Version:
1.0

Member Function Documentation

void javawrapper.TestMortalityBehaviors.testChangeOfSpecies (  ) 

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

void javawrapper.TestMortalityBehaviors.testCopySpecies (  ) 

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

void javawrapper.TestMortalityBehaviors.testFormatDataForDisplay (  ) 

Tests that the correct parameters are displayed for each behavior.

void javawrapper.TestMortalityBehaviors.testBackwardsCompatibility (  ) 

Tests backwards compatibility for Weibull snag mortality behavior and NCI mortality.

void javawrapper.TestMortalityBehaviors.testValidateData (  ) 

Tests ValidateData().

String javawrapper.TestMortalityBehaviors.WriteXMLFile2 (  )  throws java.io.IOException [protected]

Writes test XML file.

Exceptions:
IOException if there is a problem writing the file.
Returns:
String Filename of file just written.

String javawrapper.TestMortalityBehaviors.WriteNoMortalityXMLFile (  )  throws java.io.IOException [protected]

Writes a file with no mortality settings.

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

Edit history:
------------------
August 18, 2006: Created (LEM)


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