xmlBlaster 2.2.0 API

org.xmlBlaster.test.classtest
Class TestPoolManager

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.xmlBlaster.test.classtest.TestPoolManager
All Implemented Interfaces:
junit.framework.Test

public class TestPoolManager
extends junit.framework.TestCase

Test org.xmlBlaster.util.pool.PoolManager

All methods starting with 'test' and without arguments are invoked automatically

java -Djava.compiler= junit.textui.TestRunner -noloading org.xmlBlaster.test.classtest.TestPoolManager

TODO: http://xmlunit.sourceforge.net/

See Also:
PoolManager

Nested Class Summary
(package private)  class TestPoolManager.TestPool
          This class does the resource pooling for TestResource, with the help of PoolManager
(package private)  class TestPoolManager.TestResource
          This class is usually a UserSession object or a JDBC connection object or whatever resource you want to handle
 
Field Summary
private  java.lang.String ME
           
 
Constructor Summary
TestPoolManager(java.lang.String name)
           
 
Method Summary
protected  void setUp()
           
 void testDestroy()
           
 void testMultiThreaded()
           
 void testWithGeneratedInstanceIdAndBusyTimeout()
           
 void testWithSuppliedInstanceIdAndBusyTimeout()
           
 void testWithSuppliedInstanceIdBusyTimeoutAndEraseTimeout()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, 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
 

Field Detail

ME

private final java.lang.String ME
See Also:
Constant Field Values
Constructor Detail

TestPoolManager

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

setUp

protected void setUp()
Overrides:
setUp in class junit.framework.TestCase

testWithGeneratedInstanceIdAndBusyTimeout

public void testWithGeneratedInstanceIdAndBusyTimeout()

testWithSuppliedInstanceIdAndBusyTimeout

public void testWithSuppliedInstanceIdAndBusyTimeout()

testWithSuppliedInstanceIdBusyTimeoutAndEraseTimeout

public void testWithSuppliedInstanceIdBusyTimeoutAndEraseTimeout()

testMultiThreaded

public void testMultiThreaded()

testDestroy

public void testDestroy()

xmlBlaster 2.2.0 API

Copyright © 1999-2014 The xmlBlaster.org contributers.