|
xmlBlaster 2.2.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase org.xmlBlaster.test.classtest.TestPoolManager
public class TestPoolManager
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/
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 |
---|
private final java.lang.String ME
Constructor Detail |
---|
public TestPoolManager(java.lang.String name)
Method Detail |
---|
protected void setUp()
setUp
in class junit.framework.TestCase
public void testWithGeneratedInstanceIdAndBusyTimeout()
public void testWithSuppliedInstanceIdAndBusyTimeout()
public void testWithSuppliedInstanceIdBusyTimeoutAndEraseTimeout()
public void testMultiThreaded()
public void testDestroy()
|
xmlBlaster 2.2.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |