bb.io
Class StreamDrainerStoring.UnitTest

java.lang.Object
  extended by bb.io.StreamDrainerStoring.UnitTest
Enclosing class:
StreamDrainerStoring

public static class StreamDrainerStoring.UnitTest
extends Object

See the Overview page of the project's javadocs for a general description of this unit test class.


Nested Class Summary
private static class StreamDrainerStoring.UnitTest.ByteChunkSender
          Once every 100 ms writes an element of byteChunks to StreamDrainerStoring.UnitTest.ByteChunkSender.out, until no more elements left.
 
Field Summary
private static byte[][] byteChunks
          Contracts: is never null, empty, nor contains an element that is null or empty.
 
Constructor Summary
StreamDrainerStoring.UnitTest()
           
 
Method Summary
 void test_all()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

byteChunks

private static final byte[][] byteChunks
Contracts: is never null, empty, nor contains an element that is null or empty.

Constructor Detail

StreamDrainerStoring.UnitTest

public StreamDrainerStoring.UnitTest()
Method Detail

test_all

public void test_all()
              throws Exception
Throws:
Exception