Inherits junit::framework::TestCase.
Public Member Functions | |
| void | testGetGridValue () |
| Tests the retrieval and addition of GridVal objects. | |
| void | testGrid () |
| Tests the Grid constructor. | |
| void | testSettingGridValues () |
| Tests setting the various types of grid values. | |
| void | testSetCellLength () |
| Tests setting the grid cell lengths. | |
| void | testGridMapReading () |
| Tests XML grid map reading. | |
Protected Member Functions | |
| String | WriteErrorXMLGridMap1 () throws ModelException |
| Writes a grid map that has different X grid length from WriteXMLGridMap2. | |
| String | WriteErrorXMLGridMap2 () throws ModelException |
| Writes a grid map that has different Y grid length from WriteXMLGridMap2. | |
| String | WriteErrorXMLGridMap3 () throws ModelException |
| Writes a grid map that has bad X plot length from WriteXMLGridMap2. | |
| String | WriteErrorXMLGridMap4 () throws ModelException |
| Writes a grid map that has bad Y plot length from WriteXMLGridMap2. | |
| String | WriteXMLGridMap1 () throws ModelException |
| Writes a tree map file. | |
| String | WriteXMLGridMap2 () throws ModelException |
| This writes a fake rundata file with a grid map in it. | |
Copyright: Copyright (c) Charles D. Canham 2003
Company: Institute of Ecosystem Studies
| void javawrapper.TestGrid.testGetGridValue | ( | ) |
Tests the retrieval and addition of GridVal objects.
| void javawrapper.TestGrid.testGrid | ( | ) |
Tests the Grid constructor.
| void javawrapper.TestGrid.testSettingGridValues | ( | ) |
Tests setting the various types of grid values.
| void javawrapper.TestGrid.testSetCellLength | ( | ) |
Tests setting the grid cell lengths.
| void javawrapper.TestGrid.testGridMapReading | ( | ) |
Tests XML grid map reading.
Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)
| String javawrapper.TestGrid.WriteErrorXMLGridMap1 | ( | ) | throws ModelException [protected] |
Writes a grid map that has different X grid length from WriteXMLGridMap2.
| ModelException | if there is a problem writing the file. |
| String javawrapper.TestGrid.WriteErrorXMLGridMap2 | ( | ) | throws ModelException [protected] |
Writes a grid map that has different Y grid length from WriteXMLGridMap2.
| ModelException | if there is a problem writing the file. |
| String javawrapper.TestGrid.WriteErrorXMLGridMap3 | ( | ) | throws ModelException [protected] |
Writes a grid map that has bad X plot length from WriteXMLGridMap2.
| ModelException | if there is a problem writing the file. |
| String javawrapper.TestGrid.WriteErrorXMLGridMap4 | ( | ) | throws ModelException [protected] |
Writes a grid map that has bad Y plot length from WriteXMLGridMap2.
| ModelException | if there is a problem writing the file. |
| String javawrapper.TestGrid.WriteXMLGridMap1 | ( | ) | throws ModelException [protected] |
Writes a tree map file.
There are all four kinds of data members. This is actually a parameter file with a grid map in it.
| ModelException | Edit history: ------------------ April 28, 2004: Submitted in beta version (LEM) |
| String javawrapper.TestGrid.WriteXMLGridMap2 | ( | ) | throws ModelException [protected] |
This writes a fake rundata file with a grid map in it.
| ModelException | if there is a problem writing the file. |
1.5.6