Public Member Functions | |
void | testValidateData () |
Tests the ValidateData method. | |
void | testTabDelimTreeMapReading () |
Tests reading a tab delimited tree map. | |
void | testTreeClass () |
Tests the Tree class. | |
void | testXMLTreeMapReading () |
Tests reading XML Tree maps. | |
Protected Member Functions | |
void | VerifyXMLTreeMap (TreePopulation oPop, int iStartIndex) |
Verifies the trees added by the XML Tree map. | |
String | WriteTabTreeMap1 () throws java.io.IOException |
Writes a map to create trees. | |
String | WriteTabTreeMap2 () throws java.io.IOException |
Writes a map to create trees. | |
String | WriteTabTreeMap3 () throws java.io.IOException |
Writes a map to create trees. | |
String | WriteTabTreeMap4 () throws java.io.IOException |
Writes a map to create trees. | |
String | WriteTabTreeMap5 () throws java.io.IOException |
Writes a map with an error. | |
String | WriteTabTreeMap6 () throws java.io.IOException |
Writes a map with an error. | |
String | WriteTabTreeMap7 () throws java.io.IOException |
Writes a map with an error. | |
String | WriteTabTreeMap8 () throws java.io.IOException |
Writes a map with an error. | |
String | WriteTabTreeMap9 () throws java.io.IOException |
Writes a map with an error. | |
String | WriteXMLTreeMap1 () throws ModelException |
Writes a Tree map file. | |
String | WriteXMLTreeMap2 () throws ModelException |
Writes a tree map file. | |
String | WriteErrorXMLTreeMap1 () throws ModelException |
Writes a bad Tree map file. | |
String | WriteErrorXMLTreeMap2 () throws ModelException |
Writes a bad tree map file. | |
String | WriteErrorXMLTreeMap3 () throws ModelException |
Writes a bad Tree map file. | |
String | WriteErrorXMLTreeMap4 () throws ModelException |
Writes a bad tree map file. | |
Private Member Functions | |
String | WriteTreeMapParFile () throws java.io.IOException |
Writes a parameter file for validating tree map reading. |
Copyright: Copyright (c) Charles D. Canham 2003
Company: Institute of Ecosystem Studies
void javawrapper::TestTreePopulation::testTabDelimTreeMapReading | ( | ) | [inline] |
Tests reading a tab delimited tree map.
Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)
March 28, 2005: Updated with new tree map format (LEM)
void javawrapper::TestTreePopulation::testTreeClass | ( | ) | [inline] |
Tests the Tree class.
Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)
void javawrapper::TestTreePopulation::testXMLTreeMapReading | ( | ) | [inline] |
Tests reading XML Tree maps.
Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)
void javawrapper::TestTreePopulation::VerifyXMLTreeMap | ( | TreePopulation | oPop, | |
int | iStartIndex | |||
) | [inline, protected] |
Verifies the trees added by the XML Tree map.
oPop | TreePopulation object containing the trees. | |
iStartIndex | The index at which to start verifying the trees. |
String javawrapper::TestTreePopulation::WriteErrorXMLTreeMap1 | ( | ) | throws ModelException [inline, protected] |
Writes a bad Tree map file.
One of the X values is beyond the plot.
ModelException | if there is a problem writing the file. |
String javawrapper::TestTreePopulation::WriteErrorXMLTreeMap2 | ( | ) | throws ModelException [inline, protected] |
Writes a bad tree map file.
One of the X values is negative the plot.
ModelException | if there is a problem writing the file. |
String javawrapper::TestTreePopulation::WriteErrorXMLTreeMap3 | ( | ) | throws ModelException [inline, protected] |
Writes a bad Tree map file.
One of the Y values is beyond the plot.
ModelException | if there is a problem writing the file. |
String javawrapper::TestTreePopulation::WriteErrorXMLTreeMap4 | ( | ) | throws ModelException [inline, protected] |
Writes a bad tree map file.
One of the Y values is beyond the plot.
ModelException | if there is a problem writing the file. |
String javawrapper::TestTreePopulation::WriteTabTreeMap1 | ( | ) | throws java.io.IOException [inline, protected] |
Writes a map to create trees.
This file has no trees.
IOException | if there is an IO problem. |
String javawrapper::TestTreePopulation::WriteTabTreeMap2 | ( | ) | throws java.io.IOException [inline, protected] |
Writes a map to create trees.
This file has one tree.
IOException | if there is an IO problem. |
String javawrapper::TestTreePopulation::WriteTabTreeMap3 | ( | ) | throws java.io.IOException [inline, protected] |
Writes a map to create trees.
This file has several trees.
IOException | if there is an IO problem. |
String javawrapper::TestTreePopulation::WriteTabTreeMap4 | ( | ) | throws java.io.IOException [inline, protected] |
Writes a map to create trees.
This file has several trees, including some outside the plot.
IOException | if there is an IO problem. |
String javawrapper::TestTreePopulation::WriteTabTreeMap5 | ( | ) | throws java.io.IOException [inline, protected] |
Writes a map with an error.
This file has an unrecognized species.
IOException | if there is an IO problem. |
String javawrapper::TestTreePopulation::WriteTabTreeMap6 | ( | ) | throws java.io.IOException [inline, protected] |
Writes a map with an error.
This file has an unrecognized life history stage.
IOException | if there is an IO problem. |
String javawrapper::TestTreePopulation::WriteTabTreeMap7 | ( | ) | throws java.io.IOException [inline, protected] |
Writes a map with an error.
This file has a negative diameter.
IOException | if there is an IO problem. |
String javawrapper::TestTreePopulation::WriteTabTreeMap8 | ( | ) | throws java.io.IOException [inline, protected] |
Writes a map with an error.
This file has a negative height.
IOException | if there is an IO problem. |
String javawrapper::TestTreePopulation::WriteTabTreeMap9 | ( | ) | throws java.io.IOException [inline, protected] |
Writes a map with an error.
This file has an invalid format.
IOException | if there is an IO problem. |
String javawrapper::TestTreePopulation::WriteTreeMapParFile | ( | ) | throws java.io.IOException [inline, private] |
Writes a parameter file for validating tree map reading.
IOException | if there is a problem writing to the file. |
String javawrapper::TestTreePopulation::WriteXMLTreeMap1 | ( | ) | throws ModelException [inline, protected] |
Writes a Tree map file.
There are all four kinds of data members. This is actually a parameter file with a Tree map in it.
ModelException | Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
String javawrapper::TestTreePopulation::WriteXMLTreeMap2 | ( | ) | throws ModelException [inline, protected] |
Writes a tree map file.
There are all four kinds of data members, with different codes from those written in WriteXMLTreeMap1. The species list is also in a different order. This does not write a full parameter file, but a fake timestep file.
ModelException | Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |