View Javadoc
1   package org.dbunit.database;
2   
3   import java.sql.SQLException;
4   
5   import org.dbunit.dataset.DataSetException;
6   import org.dbunit.dataset.IDataSet;
7   
8   import org.dbunit.database.search.TablesDependencyHelper;
9   import org.dbunit.util.search.SearchException;
10  
11  public abstract class AbstractImportedKeysFilteredByPKsTestCase extends
12      AbstractSearchCallbackFilteredByPKsTestCase {
13  
14    public AbstractImportedKeysFilteredByPKsTestCase(String testName,
15        String sqlFile) {
16      super(testName, sqlFile);
17    }
18  
19    protected IDataSet getDataset() throws SQLException, SearchException, DataSetException  {
20      IDataSet dataset = TablesDependencyHelper.getDataset( getConnection(), getInput() );
21      return dataset;
22    }
23  
24  }