Inheritance diagram for javawrapper::TestLightBehaviors:
Public Member Functions | ||||
void | testValidateData () | |||
Tests validate data. | ||||
void | testReadParFile () | |||
Makes sure that light values are assigned correctly from the parameter file for gli and quadrat light. | ||||
void | testFormatDataForDisplay () | |||
Tests that the correct parameters are displayed for each behavior. | ||||
Protected Member Functions | ||||
void | setUp () throws Exception | |||
Does set up by creating the tree population object
| ||||
void | tearDown () throws Exception | |||
Does tear down
| ||||
void | WriteGLIPointsFile (String sFileName) throws java.io.IOException | |||
Writes a GLI points file
| ||||
String | WriteXMLFile1 () throws java.io.IOException | |||
Writes a file with only gli light settings. | ||||
String | WriteXMLFile2 () throws java.io.IOException | |||
Writes a file with only quadrat light settings. | ||||
String | WriteXMLFile3 () throws java.io.IOException | |||
Writes a file with both quadrat and gli light settings, as well as many other light behaviors in the "other" category. | ||||
String | WriteXMLFile4 () throws java.io.IOException | |||
Writes a file with neither quadrat and gli light settings, but with puerto rico establishment. | ||||
String | WriteXMLFile5 () throws java.io.IOException | |||
Writes a file with both quadrat and gli light settings, and pr establishment as well. | ||||
String | WriteXMLFile6 () throws java.io.IOException | |||
Writes a file with only gli map settings. | ||||
String | WriteXMLFile7 () throws java.io.IOException | |||
Writes a file with only gli point settings. | ||||
String | WriteNoLightXMLFile1 () throws java.io.IOException | |||
Writes a file with no light settings. | ||||
String | WriteXMLErrorFile1 () throws java.io.IOException | |||
Writes a file with average light but no GLI Map behavior. | ||||
String | WriteXMLErrorFile2 () throws java.io.IOException | |||
Writes a file with the GLI map behavior after the average light behavior. | ||||
Private Member Functions | ||||
void | WriteValidateFilePart1 (java.io.FileWriter oOut) throws java.io. IOException | |||
Writes the beginning of test parameter files. | ||||
Private Attributes | ||||
TreePopulation | m_oPop = null | |||
Tree population object for testing. |
Copyright: Copyright (c) Charles D. Canham 2003
Company: Institute of Ecosystem Studies
void javawrapper::TestLightBehaviors::testReadParFile | ( | ) | [inline] |
Makes sure that light values are assigned correctly from the parameter file for gli and quadrat light.
It makes sure they are cross-assigned correctly, don't get mixed up, and don't get mixed up with other behaviors which use light parameters.
void javawrapper::TestLightBehaviors::WriteGLIPointsFile | ( | String | sFileName | ) | throws java.io.IOException [inline, protected] |
Writes a GLI points file
IOException | if there is a problem writing the file. |
sFileName | The file name to write to |
String javawrapper::TestLightBehaviors::WriteNoLightXMLFile1 | ( | ) | throws java.io.IOException [inline, protected] |
Writes a file with no light settings.
IOException | if there is a problem writing the file. |
void javawrapper::TestLightBehaviors::WriteValidateFilePart1 | ( | java.io.FileWriter | oOut | ) | throws java.io. IOException [inline, private] |
Writes the beginning of test parameter files.
oOut | FileWriter Filestream to write to. |
IOException | if there is a problem writing the file. |
String javawrapper::TestLightBehaviors::WriteXMLErrorFile1 | ( | ) | throws java.io.IOException [inline, protected] |
Writes a file with average light but no GLI Map behavior.
IOException | if there is a problem writing the file. |
String javawrapper::TestLightBehaviors::WriteXMLErrorFile2 | ( | ) | throws java.io.IOException [inline, protected] |
Writes a file with the GLI map behavior after the average light behavior.
IOException | if there is a problem writing the file. |
String javawrapper::TestLightBehaviors::WriteXMLFile1 | ( | ) | throws java.io.IOException [inline, protected] |
Writes a file with only gli light settings.
IOException | if there is a problem writing the file. |
String javawrapper::TestLightBehaviors::WriteXMLFile2 | ( | ) | throws java.io.IOException [inline, protected] |
Writes a file with only quadrat light settings.
IOException | if there is a problem writing the file. |
String javawrapper::TestLightBehaviors::WriteXMLFile3 | ( | ) | throws java.io.IOException [inline, protected] |
Writes a file with both quadrat and gli light settings, as well as many other light behaviors in the "other" category.
IOException | if there is a problem writing the file. |
String javawrapper::TestLightBehaviors::WriteXMLFile4 | ( | ) | throws java.io.IOException [inline, protected] |
Writes a file with neither quadrat and gli light settings, but with puerto rico establishment.
IOException | if there is a problem writing the file. |
String javawrapper::TestLightBehaviors::WriteXMLFile5 | ( | ) | throws java.io.IOException [inline, protected] |
Writes a file with both quadrat and gli light settings, and pr establishment as well.
IOException | if there is a problem writing the file. |
String javawrapper::TestLightBehaviors::WriteXMLFile6 | ( | ) | throws java.io.IOException [inline, protected] |
Writes a file with only gli map settings.
IOException | if there is a problem writing the file. |
String javawrapper::TestLightBehaviors::WriteXMLFile7 | ( | ) | throws java.io.IOException [inline, protected] |
Writes a file with only gli point settings.
IOException | if there is a problem writing the file. |