org.sourceforge.jxutil.dbtest.universal
Class ResultSetTest
java.lang.Object
|
+--junit.framework.Assert
|
+--junit.framework.TestCase
|
+--org.sourceforge.jxutil.dbtest.DatabaseTest
|
+--org.sourceforge.jxutil.dbtest.universal.ResultSetTest
- All Implemented Interfaces:
- Test
- Direct Known Subclasses:
- CachedRowSetTest
- public class ResultSetTest
- extends DatabaseTest
Fields inherited from class junit.framework.TestCase |
|
Methods inherited from class org.sourceforge.jxutil.dbtest.DatabaseTest |
checkDataCols, checkDataRows, createTable, dropTable, dropTable, getColumnString, getType, isDBMS, isDriver, loadData, setConnection, setUp, tearDown |
Methods inherited from class junit.framework.Assert |
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
cat
private static Category cat
ROWS
protected static final int ROWS
- See Also:
- Constant Field Values
SELECT_ALL
protected static final String SELECT_ALL
- See Also:
- Constant Field Values
SELECT_EMPTY
protected static final String SELECT_EMPTY
- See Also:
- Constant Field Values
SELECT_HALF
protected static final String SELECT_HALF
- See Also:
- Constant Field Values
TABLE_NAME
protected static final String TABLE_NAME
- See Also:
- Constant Field Values
TABLE1
private static final DatabaseTest.TableDef TABLE1
ResultSetTest
public ResultSetTest(String name)
setUpDB
public void setUpDB()
throws SQLException
- Overrides:
setUpDB
in class DatabaseTest
SQLException
tearDownDB
public void tearDownDB()
throws SQLException
- Overrides:
tearDownDB
in class DatabaseTest
SQLException
testData
protected void testData(ResultSet set)
throws SQLException
SQLException
testDataPlusTwo
protected void testDataPlusTwo(ResultSet set)
throws SQLException
SQLException
testEmpty
protected void testEmpty(ResultSet set)
throws SQLException
SQLException
testHalfData
protected void testHalfData(ResultSet set,
int ofs)
throws SQLException
SQLException
testPrepared
public void testPrepared()
throws SQLException
SQLException
testSeek
protected void testSeek(ResultSet set)
throws SQLException
- Seek on a populated (at least two rows), scrollable resultSet
SQLException
testStatement
public void testStatement()
throws SQLException
SQLException
Copyright © 2001,2002 Keve Müller, et al.; see LICENSE file for details.