|
||||||||||
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.dataset.AbstractTableTest
public abstract class AbstractTableTest
Field Summary | |
---|---|
protected static int |
COLUMN_COUNT
|
protected org.slf4j.Logger |
logger
|
protected static int |
ROW_COUNT
|
Constructor Summary | |
---|---|
AbstractTableTest(String s)
|
Method Summary | |
---|---|
protected abstract ITable |
createTable()
Creates a table having 6 row and 4 column where columns are named "COLUMN1, COLUMN2, COLUMN3, COLUMN4" and values are string follwing this template "row ? col ?" |
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 |
abstract void |
testGetMissingValue()
|
void |
testGetRowCount()
|
void |
testGetValue()
|
void |
testGetValueAndNoSuchColumn()
|
void |
testGetValueCaseInsensitive()
|
void |
testGetValueRowBounds()
|
void |
testTableMetaData()
|
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, setName, setUp, tearDown, 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 static final int ROW_COUNT
protected static final int COLUMN_COUNT
protected final org.slf4j.Logger logger
Constructor Detail |
---|
public AbstractTableTest(String s)
Method Detail |
---|
protected abstract ITable createTable() throws Exception
Exception
public void testGetRowCount() throws Exception
Exception
public void testTableMetaData() throws Exception
Exception
public void testGetValue() throws Exception
Exception
public void testGetValueCaseInsensitive() throws Exception
Exception
public abstract void testGetMissingValue() throws Exception
Exception
public void testGetValueRowBounds() throws Exception
Exception
public void testGetValueAndNoSuchColumn() 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |