javawrapper::TestMortalityBehaviors Class Reference

Tests the MortalityBehaviors class. More...

Inheritance diagram for javawrapper::TestMortalityBehaviors:

javawrapper::ModelTestCase List of all members.

Public Member Functions

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

void setUp () throws Exception
 Does set up by creating the tree population object.
String WriteXMLFile2 () throws java.io.IOException
 Writes test XML file.
String WriteNoMortalityXMLFile () throws java.io.IOException
 Writes a file with no mortality settings.

Private Attributes

TreePopulation m_oPop = null
 Tree population object for testing.

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::setUp (  )  throws Exception [inline, protected]

Does set up by creating the tree population object.

Exceptions:
Exception Won't.

String javawrapper::TestMortalityBehaviors::WriteNoMortalityXMLFile (  )  throws java.io.IOException [inline, 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)

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

Writes test XML file.

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


The documentation for this class was generated from the following file:
Generated on Wed Nov 29 08:45:07 2006 for SORTIE Java Interface by  doxygen 1.4.7