org.dbunit
Class DefaultDatabaseTester

java.lang.Object
  extended by org.dbunit.AbstractDatabaseTester
      extended by org.dbunit.DefaultDatabaseTester
All Implemented Interfaces:
IDatabaseTester

public class DefaultDatabaseTester
extends AbstractDatabaseTester

Default implementation of AbstractDatabaseTester, which does not know how to get a connection by itself.

Author:
Felipe Leme

Nested Class Summary
 
Nested classes/interfaces inherited from class org.dbunit.AbstractDatabaseTester
AbstractDatabaseTester.AssertionFailedError
 
Constructor Summary
DefaultDatabaseTester(IDatabaseConnection connection)
          Creates a new DefaultDatabaseTester with the suplied connection.
 
Method Summary
 IDatabaseConnection getConnection()
          Returns the test database connection.
 
Methods inherited from class org.dbunit.AbstractDatabaseTester
assertNotNullNorEmpty, assertTrue, closeConnection, getDataSet, getSchema, getSetUpOperation, getTearDownOperation, onSetup, onTearDown, setDataSet, setSchema, setSetUpOperation, setTearDownOperation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultDatabaseTester

public DefaultDatabaseTester(IDatabaseConnection connection)
Creates a new DefaultDatabaseTester with the suplied connection.

Method Detail

getConnection

public IDatabaseConnection getConnection()
                                  throws java.lang.Exception
Description copied from interface: IDatabaseTester
Returns the test database connection.

Throws:
java.lang.Exception


Copyright © 2002-2010. All Rights Reserved.