javawrapper::TestSubstrateBehaviors Class Reference

Tests the SubstrateBehaviors class. More...

List of all members.

Public Member Functions

void testBackwardsCompatibility ()
 Tests to make sure old substrate files are properly read.
void testParFileRead ()
 Tests to make sure old substrate files are properly read.
void testValidateData () throws ModelException
 Tests ValidateData().

Protected Member Functions

String WriteXMLOldFile1 () throws java.io.IOException
 Writes an old-school substrate file to test backwards compatibility.
String WriteXMLOldFile2 () throws java.io.IOException
 Writes a 6.05 substrate file.
String WriteXMLValidFile1 () throws java.io.IOException
 Writes a 6.05 substrate file.

Private Member Functions

void WritePlotAndTrees (FileWriter oOut) throws java.io. IOException
 This writes plot and tree information.


Detailed Description

Tests the SubstrateBehaviors class.

Copyright: Copyright (c) Charles D. Canham 2003

Company: Institute of Ecosystem Studies

Author:
Lora E. Murphy
Version:
1.0

Edit history:
------------------
June 3, 2005: Created (LEM)


Member Function Documentation

void javawrapper::TestSubstrateBehaviors::testValidateData (  )  throws ModelException [inline]

Tests ValidateData().

Exceptions:
ModelException if there's an uncaught validation problem.

void javawrapper::TestSubstrateBehaviors::WritePlotAndTrees ( FileWriter  oOut  )  throws java.io. IOException [inline, private]

This writes plot and tree information.

Parameters:
oOut FileWriter
Exceptions:
IOException 

String javawrapper::TestSubstrateBehaviors::WriteXMLOldFile1 (  )  throws java.io.IOException [inline, protected]

Writes an old-school substrate file to test backwards compatibility.

Returns:
The file name.
Exceptions:
IOException if there is a problem writing the file.

Edit history:
------------------
June 3, 2005: Created (LEM)

String javawrapper::TestSubstrateBehaviors::WriteXMLOldFile2 (  )  throws java.io.IOException [inline, protected]

Writes a 6.05 substrate file.

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

String javawrapper::TestSubstrateBehaviors::WriteXMLValidFile1 (  )  throws java.io.IOException [inline, protected]

Writes a 6.05 substrate file.

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


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