javawrapper::TestPlantingBehaviors Class Reference

Tests the PlantingBehavior class. More...

List of all members.

Public Member Functions

void testAddPlantingData () throws ModelException
 Tests the AddPlantingData method.
void testReadXML ()
 Tests parameter file reading.
void testChangeOfSpecies ()
 Tests change of species.

Protected Member Functions

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

Private Attributes

PlantingBehaviors m_oPlantingBehaviors = null
 Test object.


Detailed Description

Tests the PlantingBehavior 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)
May 24, 2004: Added testing of XML parsing (LEM)


Member Function Documentation

void javawrapper::TestPlantingBehaviors::setUp (  )  throws Exception [inline, protected]

Does set up by creating the test object.

Exceptions:
Exception Won't.

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

Does tear down.

Exceptions:
Exception Won't.

void javawrapper::TestPlantingBehaviors::testAddPlantingData (  )  throws ModelException [inline]

Tests the AddPlantingData method.

Exceptions:
ModelException if a test fails.

String javawrapper::TestPlantingBehaviors::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:
------------------
May 24, 2004: Created (LEM)


The documentation for this class was generated from the following file:
Generated on Fri Jan 5 14:00:40 2007 for SORTIE Java Interface by  doxygen 1.4.7