Inherits junit::framework::TestCase.
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. | |
Copyright: Copyright (c) Charles D. Canham 2003
Company: Institute of Ecosystem Studies
| void javawrapper.TestHarvestData.setUp | ( | ) | throws Exception [protected] |
Does setup by creating the test object.
| Exception | Doesn't, really. |
| void javawrapper.TestHarvestData.tearDown | ( | ) | throws Exception [protected] |
Does teardown.
| Exception | Doesn't, really. |
| void javawrapper.TestHarvestData.testGetSetCutAmountType | ( | ) |
Tests the GetCutAmountType and SetCutAmountType methods.
| void javawrapper.TestHarvestData.testGetSetCutType | ( | ) |
Tests the SetCutType and GetCutType methods.
| void javawrapper.TestHarvestData.testGetSetTimestep | ( | ) |
Tests the GetTimestep and SetTimestep methods.
| void javawrapper.TestHarvestData.testAddSpecies | ( | ) |
Tests the AddSpecies method.
| void javawrapper.TestHarvestData.testRemoveSpecies | ( | ) |
Tests the RemoveSpecies method.
| void javawrapper.TestHarvestData.testCutRanges | ( | ) |
Tests cut ranges.
| void javawrapper.TestHarvestData.testCells | ( | ) |
Tests methods for cells.
| void javawrapper.TestHarvestData.testValidation | ( | ) |
Tests validation of HarvestData objects.
| String javawrapper.TestHarvestData.WriteXMLFile1 | ( | ) | throws ModelException [protected] |
This writes an XML file to test value setting.
| ModelException | if there is an IO problem. |
HarvestData javawrapper.TestHarvestData.m_oHarvestData = null [private] |
Object upon which the tests will be conducted.
1.5.6