javawrapper::TestHarvestData Class Reference

Tests the HarvestData class. More...

List of all members.

Public Member Functions

void testGetSetCutAmountType ()
 Tests the GetCutAmountType and SetCutAmountType methods.
void testGetSetCutType ()
 Tests the SetCutType and GetCutType methods.
void testGetSetTimestep ()
 Tests the GetTimestep and SetTimestep methods.
void testAddSpecies ()
 Tests the AddSpecies method.
void testRemoveSpecies ()
 Tests the RemoveSpecies method.
void testCutRanges ()
 Tests cut ranges.
void testCells ()
 Tests methods for cells.
void testValidation ()
 Tests validation of HarvestData objects.

Protected Member Functions

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

Private Attributes

HarvestData m_oHarvestData = null
 Object upon which the tests will be conducted.


Detailed Description

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

Does setup by creating the test object.

Exceptions:
Exception Doesn't, really.

void javawrapper::TestHarvestData::tearDown (  )  throws Exception [inline, protected]

Does teardown.

Exceptions:
Exception Doesn't, really.

String javawrapper::TestHarvestData::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