public class PropertiesBasedJdbcDatabaseTester extends JdbcDatabaseTester
Modifier and Type | Field and Description |
---|---|
static String |
DBUNIT_CONNECTION_URL
A key for property that defines the connection url
|
static String |
DBUNIT_DRIVER_CLASS
A key for property that defines the driver classname
|
static String |
DBUNIT_PASSWORD
A key for property that defines the user's password
|
static String |
DBUNIT_SCHEMA
A key for property that defines the database schema
|
static String |
DBUNIT_USERNAME
A key for property that defines the username
|
Constructor and Description |
---|
PropertiesBasedJdbcDatabaseTester()
Creates a new
JdbcDatabaseTester using specific System.getProperty(String)
values as initialization parameters |
getConnection, toString
closeConnection, getDataSet, getSchema, getSetUpOperation, getTearDownOperation, onSetup, onTearDown, setDataSet, setOperationListener, setSchema, setSetUpOperation, setTearDownOperation
assertNotNull, assertNotNull, assertNotNullNorEmpty, assertTrue, assertTrue, fail
public static final String DBUNIT_CONNECTION_URL
public static final String DBUNIT_DRIVER_CLASS
public static final String DBUNIT_PASSWORD
public static final String DBUNIT_USERNAME
public static final String DBUNIT_SCHEMA
public PropertiesBasedJdbcDatabaseTester() throws Exception
JdbcDatabaseTester
using specific System.getProperty(String)
values as initialization parametersException
Copyright © 2002–2024. All rights reserved.