org.objectweb.cjdbc.controller.connection
Class SimpleConnectionManagerTest

java.lang.Object
  extended byTestCase
      extended byorg.objectweb.cjdbc.controller.connection.SimpleConnectionManagerTest

public class SimpleConnectionManagerTest
extends TestCase

SimpleConnectionManager test class.

Author:
Mathieu Peltier
See Also:
SimpleConnectionManager, Serialized Form

Field Summary
private  SimpleConnectionManager manager
          Simple connection manager pool to test.
private  MockConnection mockConnection
          Fake connection.
private  MockDriver mockDriver
          Fake driver.
 
Constructor Summary
SimpleConnectionManagerTest()
           
 
Method Summary
static void main(java.lang.String[] args)
           
protected  void setUp()
           
static Test suite()
           
protected  void tearDown()
           
 void testSimpleConnectionManager()
          Simple connection manager functionnal test.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mockDriver

private MockDriver mockDriver
Fake driver.


mockConnection

private MockConnection mockConnection
Fake connection.


manager

private SimpleConnectionManager manager
Simple connection manager pool to test.

Constructor Detail

SimpleConnectionManagerTest

public SimpleConnectionManagerTest()
Method Detail

suite

public static Test suite()

main

public static void main(java.lang.String[] args)

setUp

protected void setUp()
See Also:
junit.framework.TestCase#setUp()

tearDown

protected void tearDown()
See Also:
junit.framework.TestCase#tearDown()

testSimpleConnectionManager

public void testSimpleConnectionManager()
Simple connection manager functionnal test.



Copyright © 2002, 2003 - ObjectWeb Consortium - All Rights Reserved.