javawrapper::TestGrid Class Reference

Tests the Grid class. More...

List of all members.

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.


Detailed Description

Tests the Grid 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::TestGrid::testGridMapReading (  )  [inline]

Tests XML grid map reading.


Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)

String javawrapper::TestGrid::WriteErrorXMLGridMap1 (  )  throws ModelException [inline, protected]

Writes a grid map that has different X grid length from WriteXMLGridMap2.

Returns:
File name of new file.
Exceptions:
ModelException if there is a problem writing the file.

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)

String javawrapper::TestGrid::WriteErrorXMLGridMap2 (  )  throws ModelException [inline, protected]

Writes a grid map that has different Y grid length from WriteXMLGridMap2.

Returns:
File name of new file.
Exceptions:
ModelException if there is a problem writing the file.

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)

String javawrapper::TestGrid::WriteErrorXMLGridMap3 (  )  throws ModelException [inline, protected]

Writes a grid map that has bad X plot length from WriteXMLGridMap2.

Returns:
File name of new file.
Exceptions:
ModelException if there is a problem writing the file.

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)

String javawrapper::TestGrid::WriteErrorXMLGridMap4 (  )  throws ModelException [inline, protected]

Writes a grid map that has bad Y plot length from WriteXMLGridMap2.

Returns:
File name of new file.
Exceptions:
ModelException if there is a problem writing the file.

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)

String javawrapper::TestGrid::WriteXMLGridMap1 (  )  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 grid map in it.

Returns:
The file name.
Exceptions:
ModelException 
Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)

String javawrapper::TestGrid::WriteXMLGridMap2 (  )  throws ModelException [inline, protected]

This writes a fake rundata file with a grid map in it.

Returns:
File name of new file.
Exceptions:
ModelException if there is a problem writing the file.

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)


The documentation for this class was generated from the following file:
Generated on Wed Nov 29 08:45:07 2006 for SORTIE Java Interface by  doxygen 1.4.7