org.apache.ojb.broker
Class ConnectionFactoryTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.apache.ojb.broker.ConnectionFactoryTest
All Implemented Interfaces:
junit.framework.Test

public class ConnectionFactoryTest
extends junit.framework.TestCase

ConnectionFactory implementation related tests.

Version:
$Id: ConnectionFactoryTest.java,v 1.4 2003/05/15 19:58:12 thma Exp $
Author:
Armin Waibel

Field Summary
(package private)  PersistenceBroker broker
           
 
Constructor Summary
ConnectionFactoryTest()
           
ConnectionFactoryTest(java.lang.String s)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void setUp()
          Insert the method's description here.
 void tearDown()
          Insert the method's description here.
 void testConnectionFactoryDBCPImpl()
          Simple test to check base functionality of the ConnectionFactory implementation
 void testConnectionFactoryPooledImpl()
          Simple test to check base functionality of the ConnectionFactory implementation
 void testExhaustedPoolConFacDBCPImpl()
           
 void testExhaustedPoolConFacPooledImpl()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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

broker

PersistenceBroker broker
Constructor Detail

ConnectionFactoryTest

public ConnectionFactoryTest()

ConnectionFactoryTest

public ConnectionFactoryTest(java.lang.String s)
Method Detail

main

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

testConnectionFactoryPooledImpl

public void testConnectionFactoryPooledImpl()
                                     throws java.lang.Exception
Simple test to check base functionality of the ConnectionFactory implementation

Throws:
java.lang.Exception

testConnectionFactoryDBCPImpl

public void testConnectionFactoryDBCPImpl()
                                   throws java.lang.Exception
Simple test to check base functionality of the ConnectionFactory implementation

Throws:
java.lang.Exception

testExhaustedPoolConFacPooledImpl

public void testExhaustedPoolConFacPooledImpl()
                                       throws java.lang.Exception
Throws:
java.lang.Exception

testExhaustedPoolConFacDBCPImpl

public void testExhaustedPoolConFacDBCPImpl()
                                     throws java.lang.Exception
Throws:
java.lang.Exception

setUp

public void setUp()
           throws PBFactoryException
Insert the method's description here. Creation date: (06.12.2000 21:58:53)

Throws:
PBFactoryException

tearDown

public void tearDown()
Insert the method's description here. Creation date: (06.12.2000 21:59:14)



Authors: Thomas Mahler and others. (C) 2000 - 2003 Apache Software Foundation
All rights reserved. Published under the Apache License.
http://db.apache.org/ojb
Version: 1.0.rc5, 2003-12-14