javawrapper::TestOutputBehaviors Class Reference

Tests the OutputBehaviors class. More...

List of all members.

Public Member Functions

void testAddDetailedGridSettings ()
 Tests the AddDetailedGridSettings method.
void testAddDetailedTreeSettings ()
 Tests the AddDetailedTreeSettings method.
void testClearDetailedGridSettings ()
 Tests the ClearDetailedGridSettings method.
void testClearDetailedTreeSettings ()
 Tests the ClearDetailedTreeSettings method.
void testReadXMLDetailedOutputSettings ()
 Tests reading of parameter file XML rundata settings.
void testReadXMLShortSettings1 ()
 Tests reading of parameter file XML rundata settings.
void testReadXMLShortSettings2 ()
 Tests reading of parameter file XML rundata settings.

Protected Member Functions

void setUp () throws Exception
 Does set up by creating testing objects.
String WriteXMLFile1 () throws ModelException
 This writes an XML file to test value setting.
String WriteXMLFile2 () throws ModelException
 This writes an XML file to test value setting.
String WriteXMLFile3 () throws ModelException
 This writes an XML file to test value setting.

Private Member Functions

boolean testEquals (DetailedTreeSettings o1, DetailedTreeSettings o2)
 Test two rundata settings for equality.
boolean testEquals (DetailedGridSettings o1, DetailedGridSettings o2)
 Test two rundata settings for equality.

Private Attributes

OutputBehaviors p_oOutputBehaviors = null
 Object for testing.


Detailed Description

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

Does set up by creating testing objects.

Exceptions:
Exception if there is a problem doing setup.

boolean javawrapper::TestOutputBehaviors::testEquals ( DetailedGridSettings  o1,
DetailedGridSettings  o2 
) [inline, private]

Test two rundata settings for equality.

Parameters:
o1 First settings to test.
o2 Second settings to test.
Returns:
True if all settings are the same, false if not.

boolean javawrapper::TestOutputBehaviors::testEquals ( DetailedTreeSettings  o1,
DetailedTreeSettings  o2 
) [inline, private]

Test two rundata settings for equality.

Parameters:
o1 First settings to test.
o2 Second settings to test.
Returns:
True if all settings are the same, false if not.

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

This writes an XML file to test value setting.

This file contains detailed output only.

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

String javawrapper::TestOutputBehaviors::WriteXMLFile2 (  )  throws ModelException [inline, protected]

This writes an XML file to test value setting.

This file contains short output settings only, for all (normal) types with everything set to true. It also contains subplots.

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

String javawrapper::TestOutputBehaviors::WriteXMLFile3 (  )  throws ModelException [inline, protected]

This writes an XML file to test value setting.

This file contains short output settings only, for all (normal) types with a mix of true, false, and absent.

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


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