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