Class SimpleTestSet

java.lang.Object
qa.generator.testset.QATestSet
qa.generator.testset.SimpleTestSet
Direct Known Subclasses:
LongRandomTestSet

public class SimpleTestSet extends QATestSet
  • Constructor Details

  • Method Details

    • isFinsihed

      public boolean isFinsihed(long currentSample)
      Specified by:
      isFinsihed in class QATestSet
      Parameters:
      currentSample - current daq sample.
      Returns:
      true when the test is complete so that it can be removed from test lists.
    • getNextSequence

      public SoundSequence getNextSequence(long startSample, LatLong currentLocation)
      Description copied from class: QATestSet
      Get the next sequence of sounds. Will return null unless it's the right time to generate a new sequence
      Specified by:
      getNextSequence in class QATestSet
      Parameters:
      startSample - end sample in latest arriving raw data
      currentLocation - current reference location for tests.
      Returns:
      a new sound sequence or null.
    • getVersion

      public String getVersion()
      Description copied from class: QATestSet
      Get a version number for the test set.
      Specified by:
      getVersion in class QATestSet
      Returns:
    • getPreviousSequence

      public SoundSequence getPreviousSequence()
      Returns:
      the previousSequence
    • getNumSequences

      public int getNumSequences()
      Description copied from class: QATestSet
      Get the number of sequences in the test. This is the number that have actually been generated, not the number planned.
      Specified by:
      getNumSequences in class QATestSet
      Returns:
      Number of sequences generated so far.
    • getnOldSequences

      public int getnOldSequences()
      Returns:
      the nOldSequences
    • setnOldSequences

      public void setnOldSequences(int nOldSequences)
      Parameters:
      nOldSequences - the nOldSequences to set