Package opendap.dts
Class testEngine
java.lang.Object
opendap.dts.testEngine
Used by the test server to reset the server output
for each new client request.
- See Also:
-
BaseType
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoidloadTestGrid(String datasetName, test_SDGrid tg) Loads test Grids full of datavoidnewLoadTestArray(String datasetName, test_SDArray ta) Loads test Arrays full of databooleannextBool()bytenextByte()floatdoubleshortintshortintnextURL()
-
Constructor Details
-
testEngine
public testEngine(int sLength) - Parameters:
sLength- Length of test Sequences
-
-
Method Details
-
getMaxSequenceLength
public int getMaxSequenceLength() -
nextBool
public boolean nextBool() -
nextByte
public byte nextByte() -
nextFloat32
public float nextFloat32() -
nextFloat64
public double nextFloat64() -
nextUint16
public short nextUint16() -
nextInt16
public short nextInt16() -
nextUint32
public int nextUint32() -
nextInt32
public int nextInt32() -
nextURL
-
nextString
-
newLoadTestArray
Loads test Arrays full of data- Parameters:
datasetName- Name of datasetta- Array to load up- Throws:
IOException- When crap goes wrong
-
loadTestGrid
public void loadTestGrid(String datasetName, test_SDGrid tg) throws opendap.dap.NoSuchVariableException, IOException, EOFException Loads test Grids full of data- Throws:
opendap.dap.NoSuchVariableExceptionIOExceptionEOFException
-