|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTestCase
org.objectweb.cjdbc.scenario.templates.NoTemplate
org.objectweb.cjdbc.scenario.standalone.connection.SimpleConnectionManagerTest
SimpleConnectionManager
test class.
SimpleConnectionManager
,
Serialized FormField Summary | |
private SimpleConnectionManager |
manager
Simple connection manager pool to test. |
private MockConnection2 |
mockConnection
Fake connection. |
private MockDriver |
mockDriver
Fake driver. |
Fields inherited from class org.objectweb.cjdbc.scenario.templates.NoTemplate |
logger, TEXT_DIR |
Constructor Summary | |
SimpleConnectionManagerTest()
|
Method Summary | |
static void |
main(java.lang.String[] args)
Starts a new test |
protected void |
setUp()
|
static Test |
suite()
Builds a new TestSuite |
protected void |
tearDown()
|
void |
testSimpleConnectionManager()
Simple connection manager functionnal test. |
Methods inherited from class org.objectweb.cjdbc.scenario.templates.NoTemplate |
getTextPath, getUserDir |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private MockDriver mockDriver
private MockConnection2 mockConnection
private SimpleConnectionManager manager
Constructor Detail |
public SimpleConnectionManagerTest()
Method Detail |
public static Test suite()
public static void main(java.lang.String[] args)
args
- test parametersprotected void setUp()
junit.framework.TestCase#setUp()
protected void tearDown()
junit.framework.TestCase#tearDown()
public void testSimpleConnectionManager() throws UnreachableBackendException
UnreachableBackendException
- if no connections available test should
fail !
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |