1 21 22 package org.dbunit.database; 23 24 import org.dbunit.DatabaseEnvironment; 25 import org.dbunit.dataset.AbstractTableTest; 26 import org.dbunit.dataset.ITable; 27 import org.dbunit.operation.DatabaseOperation; 28 29 34 public class ScrollableResultSetTableTest extends AbstractTableTest 35 { 36 public ScrollableResultSetTableTest(String s) 37 { 38 super(s); 39 } 40 41 protected ITable createTable() throws Exception 42 { 43 DatabaseEnvironment env = DatabaseEnvironment.getInstance(); 44 IDatabaseConnection connection = env.getConnection(); 45 46 DatabaseOperation.CLEAN_INSERT.execute(connection, env.getInitDataSet()); 47 48 String selectStatement = "select * from test_table order by COLUMN0"; 49 return new ScrollableResultSetTable("TEST_TABLE", selectStatement, connection); 50 } 51 52 public void testGetMissingValue() throws Exception 53 { 54 } 56 } 57 58 59 60 61 62 | Popular Tags |