|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.dbunit.AbstractDatabaseTesterTest
public abstract class AbstractDatabaseTesterTest
Field Summary | |
---|---|
protected IDatabaseConnection |
_connection
|
protected IDatabaseTester |
_databaseTester
|
protected org.slf4j.Logger |
logger
|
Constructor Summary | |
---|---|
AbstractDatabaseTesterTest(String s)
|
Method Summary | |
---|---|
protected ITable |
createOrderedTable(String tableName,
String orderByColumn)
|
static boolean |
environmentHasFeature(TestFeature feature)
|
protected abstract IDatabaseTester |
getDatabaseTester()
|
protected IDataSet |
getDataSet()
|
protected DatabaseEnvironment |
getEnvironment()
|
protected DatabaseOperation |
getSetUpOperation()
|
protected DatabaseOperation |
getTearDownOperation()
|
protected void |
runTest()
|
protected boolean |
runTest(String testName)
This method is used so sub-classes can disable the tests according to some characteristics of the environment |
protected void |
setUp()
|
protected void |
tearDown()
|
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, 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, failNotEquals, failNotSame, failSame |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected IDatabaseConnection _connection
protected IDatabaseTester _databaseTester
protected final org.slf4j.Logger logger
Constructor Detail |
---|
public AbstractDatabaseTesterTest(String s)
Method Detail |
---|
protected DatabaseEnvironment getEnvironment() throws Exception
Exception
protected ITable createOrderedTable(String tableName, String orderByColumn) throws Exception
Exception
protected void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
protected void tearDown() throws Exception
tearDown
in class junit.framework.TestCase
Exception
protected IDataSet getDataSet() throws Exception
Exception
protected DatabaseOperation getSetUpOperation()
protected DatabaseOperation getTearDownOperation()
protected abstract IDatabaseTester getDatabaseTester() throws Exception
Exception
protected boolean runTest(String testName)
testName
- name of the test to be checked
protected void runTest() throws Throwable
runTest
in class junit.framework.TestCase
Throwable
public static boolean environmentHasFeature(TestFeature feature)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |