Package opendap.dts

Class 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 Detail

      • testEngine

        public testEngine​(int sLength)
        Parameters:
        sLength - Length of test Sequences
    • 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 dataset
        ta - Array to load up
        Throws:
        IOException - When crap goes wrong