opendap.servers.test
Class testEngine
java.lang.Object
opendap.servers.test.testEngine
public class testEngine
- extends java.lang.Object
Used by the test server to reset the server output
for each new client request.
- Version:
- $Revision: 23881 $
- Author:
- ndp
- See Also:
BaseType
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
testEngine
public testEngine(int sLength)
- Parameters:
sLength
- Length of test Sequences
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
public java.lang.String nextURL()
nextString
public java.lang.String nextString()
newLoadTestArray
public void newLoadTestArray(java.lang.String datasetName,
test_SDArray ta)
throws java.io.IOException
- Loads test Arrays full of data
- Parameters:
datasetName
- Name of datasetta
- Array to load up
- Throws:
java.io.IOException
- When crap goes wrong
loadTestGrid
public void loadTestGrid(java.lang.String datasetName,
test_SDGrid tg)
throws NoSuchVariableException,
java.io.IOException,
java.io.EOFException
- Loads test Grids full of data
- Throws:
NoSuchVariableException
java.io.IOException
java.io.EOFException