javawrapper.TestWorkerBase Class Reference

Tests the WorkerBase class. More...

Inherits junit::framework::TestCase.

List of all members.

Public Member Functions

void testMakeSureAllAreProportions ()
 Tests the MakeSureAllAreProportions methods.
void testMakeSureAllNonNegative ()
 Testing to make sure there are no negative values in a float array.
void testMakeSureAllNonZero ()
 Testing for MakeSureAllNonZero in ModelVectors.
void testMakeSureAllNonNegative1 ()
 Testing to make sure there are no negative values in an integer array.
void testMakeSureAllNonNegative2 ()
 Testing for non-negatives in ModelVectors.
void testMakeSureAllPositive ()
 Testing to make sure all values in a Float array are greater than 0.
void testMakeSureAllAreBounded ()
 Testing to make sure all values in a vector are between two bounds.
void testMakeSureAllPositive1 ()
 Tests to make sure all values in an Integer array are greater than 0.
void testMakeSureAllPositive2 ()
 Tests MakeSureAllPositive methods.
void testMakeSureIsProportion ()
 Tests to make sure a ModelFloat value is a proportion.
void testMakeSureGreaterThanFloat ()
 Tests to make sure a ModelFloat value is greater than a given value.
void testMakeSureGreaterThanInt ()
 Tests to make sure a ModelInt value is greater than a given value.
void testMakeSureGreaterThanEqualToFloat ()
 Tests to make sure a ModelFloat value is greater than or equal to a given value.
void testMakeSureGreaterThanEqualToInt ()
 Tests to make sure a ModelInt value is greater than or equal to a given value.
void testMakeSureLessThanFloat ()
 Tests to make sure a ModelFloat value is less than a given value.
void testMakeSureLessThanInt ()
 Tests to make sure a ModelInt value is less than a given value.
void testMakeSureLessThanEqualToFloat ()
 Tests to make sure a ModelFloat value is less than or equal to a given value.
void testMakeSureLessThanEqualToInt ()
 Tests to make sure a ModelInt value is less than or equal to a given value.
void testMakeSureNotEqualToFloat ()
 Tests to make sure a ModelFloat value is not equal to another value.
void testMakeSureNotEqualToInt ()
 Tests to make sure a ModelInt value is not equal to another value.
void testChangeOfSpecies ()
 Tests change of species.
void testCopySpecies ()
 Tests change of species.

Protected Member Functions

void setUp () throws Exception
 Does set up by creating the test object.
void tearDown () throws Exception
 Does tear down.
String WriteXMLFile1 () throws ModelException
 This writes an XML file to test species changing.

Private Attributes

WorkerTester m_oWorkerBaseTester = null
 Test object.


Detailed Description

Tests the WorkerBase class.

Copyright: Copyright (c) Charles D. Canham 2003

Company: Institute of Ecosystem Studies

Author:
Lora E. Murphy
Version:
1.0

Member Function Documentation

void javawrapper.TestWorkerBase.setUp (  )  throws Exception [protected]

Does set up by creating the test object.

Exceptions:
Exception Won't.

void javawrapper.TestWorkerBase.tearDown (  )  throws Exception [protected]

Does tear down.

Exceptions:
Exception Won't.

void javawrapper.TestWorkerBase.testMakeSureAllAreProportions (  ) 

Tests the MakeSureAllAreProportions methods.

void javawrapper.TestWorkerBase.testMakeSureAllNonNegative (  ) 

Testing to make sure there are no negative values in a float array.

void javawrapper.TestWorkerBase.testMakeSureAllNonZero (  ) 

Testing for MakeSureAllNonZero in ModelVectors.

void javawrapper.TestWorkerBase.testMakeSureAllNonNegative1 (  ) 

Testing to make sure there are no negative values in an integer array.

void javawrapper.TestWorkerBase.testMakeSureAllNonNegative2 (  ) 

Testing for non-negatives in ModelVectors.

void javawrapper.TestWorkerBase.testMakeSureAllPositive (  ) 

Testing to make sure all values in a Float array are greater than 0.

void javawrapper.TestWorkerBase.testMakeSureAllAreBounded (  ) 

Testing to make sure all values in a vector are between two bounds.

void javawrapper.TestWorkerBase.testMakeSureAllPositive1 (  ) 

Tests to make sure all values in an Integer array are greater than 0.

void javawrapper.TestWorkerBase.testMakeSureAllPositive2 (  ) 

Tests MakeSureAllPositive methods.

void javawrapper.TestWorkerBase.testMakeSureIsProportion (  ) 

Tests to make sure a ModelFloat value is a proportion.

void javawrapper.TestWorkerBase.testMakeSureGreaterThanFloat (  ) 

Tests to make sure a ModelFloat value is greater than a given value.

void javawrapper.TestWorkerBase.testMakeSureGreaterThanInt (  ) 

Tests to make sure a ModelInt value is greater than a given value.

void javawrapper.TestWorkerBase.testMakeSureGreaterThanEqualToFloat (  ) 

Tests to make sure a ModelFloat value is greater than or equal to a given value.

void javawrapper.TestWorkerBase.testMakeSureGreaterThanEqualToInt (  ) 

Tests to make sure a ModelInt value is greater than or equal to a given value.

void javawrapper.TestWorkerBase.testMakeSureLessThanFloat (  ) 

Tests to make sure a ModelFloat value is less than a given value.

void javawrapper.TestWorkerBase.testMakeSureLessThanInt (  ) 

Tests to make sure a ModelInt value is less than a given value.

void javawrapper.TestWorkerBase.testMakeSureLessThanEqualToFloat (  ) 

Tests to make sure a ModelFloat value is less than or equal to a given value.

void javawrapper.TestWorkerBase.testMakeSureLessThanEqualToInt (  ) 

Tests to make sure a ModelInt value is less than or equal to a given value.

void javawrapper.TestWorkerBase.testMakeSureNotEqualToFloat (  ) 

Tests to make sure a ModelFloat value is not equal to another value.

void javawrapper.TestWorkerBase.testMakeSureNotEqualToInt (  ) 

Tests to make sure a ModelInt value is not equal to another value.

void javawrapper.TestWorkerBase.testChangeOfSpecies (  ) 

Tests change of species.

void javawrapper.TestWorkerBase.testCopySpecies (  ) 

Tests change of species.

String javawrapper.TestWorkerBase.WriteXMLFile1 (  )  throws ModelException [protected]

This writes an XML file to test species changing.

This file contains light information.

Returns:
Name of file.
Exceptions:
ModelException if there is an IO problem.


Member Data Documentation

Test object.


The documentation for this class was generated from the following file:

Generated on Wed Oct 28 14:01:26 2009 for SORTIE Java Interface by  doxygen 1.5.6