org.dbunit
Class DefaultDatabaseTester
java.lang.Object
org.dbunit.AbstractDatabaseTester
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
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 |
DefaultDatabaseTester
public DefaultDatabaseTester(IDatabaseConnection connection)
- Creates a new DefaultDatabaseTester with the suplied connection.
getConnection
public IDatabaseConnection getConnection()
throws Exception
- Description copied from interface:
IDatabaseTester
- Returns the test database connection.
- Throws:
Exception
Copyright © 2002-2011. All Rights Reserved.