org.szegedi.nbpipe
Class TestGlobalByteBufferPool

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--org.szegedi.nbpipe.TestGlobalByteBufferPool
All Implemented Interfaces:
junit.framework.Test

public class TestGlobalByteBufferPool
extends junit.framework.TestCase

The JUnit test suite for testing GlobalByteBufferPool functionality.

Version:
$Id: TestGlobalByteBufferPool.java,v 1.2 2002/02/11 08:18:30 szegedia Exp $
Author:
Attila Szegedi, szegedia at freemail dot hu

Constructor Summary
TestGlobalByteBufferPool(java.lang.String name)
           
 
Method Summary
 void testBlocking()
           
 void testClear()
           
 void testFallbackToFile()
           
 void testFallbackToHeap()
           
 void testFallbackToMemory()
           
 void testLifoFile()
           
 void testLifoMemory()
           
 void testSliceFile()
           
 void testSliceMemory()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestGlobalByteBufferPool

public TestGlobalByteBufferPool(java.lang.String name)
Method Detail

testLifoMemory

public void testLifoMemory()
                    throws java.io.IOException
java.io.IOException

testLifoFile

public void testLifoFile()
                  throws java.io.IOException
java.io.IOException

testFallbackToFile

public void testFallbackToFile()
                        throws java.io.IOException
java.io.IOException

testFallbackToMemory

public void testFallbackToMemory()
                          throws java.io.IOException
java.io.IOException

testFallbackToHeap

public void testFallbackToHeap()
                        throws java.io.IOException
java.io.IOException

testClear

public void testClear()
               throws java.io.IOException
java.io.IOException

testSliceMemory

public void testSliceMemory()
                     throws java.io.IOException
java.io.IOException

testSliceFile

public void testSliceFile()
                   throws java.io.IOException
java.io.IOException

testBlocking

public void testBlocking()