Package opendap.dts
Class testEngine
- java.lang.Object
-
- opendap.dts.testEngine
-
public class testEngine extends Object
Used by the test server to reset the server output for each new client request.- See Also:
BaseType
-
-
Constructor Summary
Constructors Constructor Description testEngine(int sLength)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetMaxSequenceLength()voidloadTestGrid(String datasetName, test_SDGrid tg)Loads test Grids full of datavoidnewLoadTestArray(String datasetName, test_SDArray ta)Loads test Arrays full of databooleannextBool()bytenextByte()floatnextFloat32()doublenextFloat64()shortnextInt16()intnextInt32()StringnextString()shortnextUint16()intnextUint32()StringnextURL()
-
-
-
Method Detail
-
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 String nextURL()
-
nextString
public String nextString()
-
newLoadTestArray
public void newLoadTestArray(String datasetName, test_SDArray ta) throws IOException
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
-
-