Package org.dbunit.database
Class ScrollableResultSetTableIT
java.lang.Object
org.dbunit.dataset.AbstractTableTest
org.dbunit.database.ScrollableResultSetTableIT
Integration test for
ScrollableResultSetTable.
Tests inherited from AbstractTableTest are skipped when the active
database profile does not support TestFeature.SCROLLABLE_RESULTSET.
The H2-based tests (*_withH2Connection_*) always run and verify
that both constructors produce a scrollable table with correct row count and
random-access getValue(). They would fail before the
TYPE_SCROLL_INSENSITIVE fix.
- Since:
- Feb 19, 2002
- Version:
- $Revision$
- Author:
- Manuel Laflamme
-
Field Summary
Fields inherited from class org.dbunit.dataset.AbstractTableTest
COLUMN_COUNT, logger, ROW_COUNT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ITableCreates a table having 6 row and 4 column where columns are named "COLUMN1, COLUMN2, COLUMN3, COLUMN4" and values are string follwing this template "row ?voidMethods inherited from class org.dbunit.dataset.AbstractTableTest
convertString, runTest, testGetValue_withValidRowAndColumn_returnsExpectedValue
-
Constructor Details
-
ScrollableResultSetTableIT
public ScrollableResultSetTableIT()
-
-
Method Details
-
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 ?"Skips when the active database profile does not support
TestFeature.SCROLLABLE_RESULTSET.- Specified by:
createTablein classAbstractTableTest- Throws:
Exception
-
testGetMissingValue_withMissingCells_returnsExpectedValues
- Specified by:
testGetMissingValue_withMissingCells_returnsExpectedValuesin classAbstractTableTest- Throws:
Exception
-