Inherits junit::framework::TestCase.
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 | testChangeOfPlotResolution () |
Tests shrinking of subplots when the plot resolution is changed. | |
void | testReadXMLShortSettings1 () |
Tests reading of parameter file XML rundata settings. | |
void | testReadXMLShortSettings2 () |
Tests reading of parameter file XML rundata settings. | |
void | testChangeOfSpecies () |
Tests grid settings when species are changed. | |
void | testCopySpecies () |
Tests output settings when species are copied. | |
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. | |
String | WriteXMLFile4 () throws ModelException |
Writes a real-type file, so we can work with actual grids. | |
String | WriteXMLFile5 () throws ModelException |
Writes a real-type file, so we can work with actual grids. | |
String | WriteXMLFile6 () 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 | mp_oOutputBehaviors = null |
Object for testing. |
Copyright: Copyright (c) Charles D. Canham 2003
Company: Institute of Ecosystem Studies
void javawrapper.TestOutputBehaviors.setUp | ( | ) | throws Exception [protected] |
Does set up by creating testing objects.
Exception | if there is a problem doing setup. |
void javawrapper.TestOutputBehaviors.testAddDetailedGridSettings | ( | ) |
Tests the AddDetailedGridSettings method.
void javawrapper.TestOutputBehaviors.testAddDetailedTreeSettings | ( | ) |
Tests the AddDetailedTreeSettings method.
void javawrapper.TestOutputBehaviors.testClearDetailedGridSettings | ( | ) |
Tests the ClearDetailedGridSettings method.
void javawrapper.TestOutputBehaviors.testClearDetailedTreeSettings | ( | ) |
Tests the ClearDetailedTreeSettings method.
void javawrapper.TestOutputBehaviors.testReadXMLDetailedOutputSettings | ( | ) |
Tests reading of parameter file XML rundata settings.
Unfortunately, we can't do the grids this way anymore now that I validate data members against existing grids. But we're doing at least some testing of grid reading with testChangeOfSpecies.
void javawrapper.TestOutputBehaviors.testChangeOfPlotResolution | ( | ) |
Tests shrinking of subplots when the plot resolution is changed.
void javawrapper.TestOutputBehaviors.testReadXMLShortSettings1 | ( | ) |
Tests reading of parameter file XML rundata settings.
void javawrapper.TestOutputBehaviors.testReadXMLShortSettings2 | ( | ) |
Tests reading of parameter file XML rundata settings.
String javawrapper.TestOutputBehaviors.WriteXMLFile1 | ( | ) | throws ModelException [protected] |
This writes an XML file to test value setting.
This file contains detailed output only.
ModelException | if there is an IO problem. |
String javawrapper.TestOutputBehaviors.WriteXMLFile2 | ( | ) | throws ModelException [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.
ModelException | if there is an IO problem. |
String javawrapper.TestOutputBehaviors.WriteXMLFile3 | ( | ) | throws ModelException [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.
ModelException | if there is an IO problem. |
String javawrapper.TestOutputBehaviors.WriteXMLFile4 | ( | ) | throws ModelException [protected] |
Writes a real-type file, so we can work with actual grids.
ModelException | if there is a problem writing the file. |
String javawrapper.TestOutputBehaviors.WriteXMLFile5 | ( | ) | throws ModelException [protected] |
Writes a real-type file, so we can work with actual grids.
ModelException | if there is a problem writing the file. |
String javawrapper.TestOutputBehaviors.WriteXMLFile6 | ( | ) | throws ModelException [protected] |
This writes an XML file to test value setting.
This file contains detailed output only.
ModelException | if there is an IO problem. |
boolean javawrapper.TestOutputBehaviors.testEquals | ( | DetailedTreeSettings | o1, | |
DetailedTreeSettings | o2 | |||
) | [private] |
Test two rundata settings for equality.
o1 | First settings to test. | |
o2 | Second settings to test. |
boolean javawrapper.TestOutputBehaviors.testEquals | ( | DetailedGridSettings | o1, | |
DetailedGridSettings | o2 | |||
) | [private] |
Test two rundata settings for equality.
o1 | First settings to test. | |
o2 | Second settings to test. |
void javawrapper.TestOutputBehaviors.testChangeOfSpecies | ( | ) |
Tests grid settings when species are changed.
void javawrapper.TestOutputBehaviors.testCopySpecies | ( | ) |
Tests output settings when species are copied.
OutputBehaviors javawrapper.TestOutputBehaviors.mp_oOutputBehaviors = null [private] |
Object for testing.