Tests the class clFoliarChemistry.
More...
#include <TestFoliarChemistry.h>
|
void | TestNormalProcessingRun1 (clSimManager *p_oSimManager) |
| Tests normal processing, run 1.
|
|
void | TestNormalProcessingRun2 (clSimManager *p_oSimManager) |
| Tests normal processing, run 2.
|
|
void | TestErrorProcessing (clSimManager *p_oSimManager) |
| Tests error processing.
|
|
const char * | WriteXMLFile1 () |
| Writes the parameter file for normal processing run 1.
|
|
const char * | WriteXMLFile2 () |
| Writes the parameter file for normal processing run 2.
|
|
const char * | WriteXMLErrorFile1 () |
| Writes an error file where the Foliar Chemistry behavior is applied to seedlings.
|
|
void | CreateTrees (clTreePopulation *p_oPop) |
| Creates the test tree set.
|
|
void | WriteCommonFileBegin (std::fstream &oOut) |
| Writes common beginning of the test parameter files, which is everything after the grid settings.
|
|
void | WriteCommonFileEnd (std::fstream &oOut) |
| Writes common ending of the test parameter files, which is everything after the grid settings.
|
|
Tests the class clFoliarChemistry.
void clTestFoliarChemistry::CreateTrees |
( |
clTreePopulation * |
p_oPop | ) |
|
|
protected |
Creates the test tree set.
- Parameters
-
p_oPop | Tree population object. |
void clTestFoliarChemistry::TestErrorProcessing |
( |
clSimManager * |
p_oSimManager | ) |
|
|
protected |
Tests error processing.
This uses WriteXMLErrorFileX() to introduce errors and makes sure that they are caught.
- Parameters
-
p_oSimManager | Sim Manager object to call for runs. |
void clTestFoliarChemistry::TestFoliarChemistry |
( |
| ) |
|
Performs all the tests from one function.
void clTestFoliarChemistry::TestNormalProcessingRun1 |
( |
clSimManager * |
p_oSimManager | ) |
|
|
protected |
Tests normal processing, run 1.
This uses WriteXMLFile1() to do setup.
- Parameters
-
p_oSimManager | Sim Manager object to call for runs. |
void clTestFoliarChemistry::TestNormalProcessingRun2 |
( |
clSimManager * |
p_oSimManager | ) |
|
|
protected |
Tests normal processing, run 2.
This uses WriteXMLFile2() to do setup.
- Parameters
-
p_oSimManager | Sim Manager object to call for runs. |
void clTestFoliarChemistry::WriteCommonFileBegin |
( |
std::fstream & |
oOut | ) |
|
|
protected |
Writes common beginning of the test parameter files, which is everything after the grid settings.
- Parameters
-
oOut | File stream to write to. |
void clTestFoliarChemistry::WriteCommonFileEnd |
( |
std::fstream & |
oOut | ) |
|
|
protected |
Writes common ending of the test parameter files, which is everything after the grid settings.
- Parameters
-
oOut | File stream to write to. |
const char* clTestFoliarChemistry::WriteXMLErrorFile1 |
( |
| ) |
|
|
protected |
Writes an error file where the Foliar Chemistry behavior is applied to seedlings.
- Returns
- Filename written.
const char* clTestFoliarChemistry::WriteXMLFile1 |
( |
| ) |
|
|
protected |
Writes the parameter file for normal processing run 1.
- Returns
- Filename written.
const char* clTestFoliarChemistry::WriteXMLFile2 |
( |
| ) |
|
|
protected |
Writes the parameter file for normal processing run 2.
- Returns
- Filename written.
The documentation for this class was generated from the following file: