javawrapper::TestHarvestBehaviors Class Reference

Tests the Harvest and Natural Disturbance behaviors of the DisturbanceBehaviors class. More...

List of all members.

Public Member Functions

void testSpeciesChange ()
 This tests that a change of species is correctly handled in the harvest behaviors.
void testCompactHarvestList () throws ModelException
 Tests CompactHarvestList method.
void testAddHarvestData ()
 Tests the AddHarvestData method.
void testReadXML ()
 Tests parameter file reading.

Protected Member Functions

void setUp () throws Exception
 Does set up by creating the m_oHarvestBehaviors object.
void tearDown () throws Exception
 Does teardown.
String WriteXMLFile1 () throws ModelException
 This writes an XML file to test value setting.

Private Attributes

DisturbanceBehaviors m_oHarvestBehaviors = null
 Object on which to perform tests.


Detailed Description

Tests the Harvest and Natural Disturbance behaviors of the DisturbanceBehaviors class.

Copyright: Copyright (c) Charles D. Canham 2003

Company: Institute of Ecosystem Studies

Author:
Lora E. Murphy
Version:
1.0

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)


Member Function Documentation

void javawrapper::TestHarvestBehaviors::testCompactHarvestList (  )  throws ModelException [inline]

Tests CompactHarvestList method.

Exceptions:
ModelException if a test fails.

String javawrapper::TestHarvestBehaviors::WriteXMLFile1 (  )  throws ModelException [inline, protected]

This writes an XML file to test value setting.

Returns:
Name of file.
Exceptions:
ModelException if there is an IO problem.

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)


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