org.dbunit.dataset.CompositeDataSet Java Examples
The following examples show how to use
org.dbunit.dataset.CompositeDataSet.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: EmpireGroupDaoTest.java From proarc with GNU General Public License v3.0 | 5 votes |
private IDataSet database(IDataSet... ds) throws Exception { ReplacementDataSet rds = new ReplacementDataSet(new CompositeDataSet(ds)); // rds.addReplacementObject("{$user.home}", "relative/path/"); dbTimestamp = new Timestamp(System.currentTimeMillis()); rds.addReplacementObject("{$now}", dbTimestamp); return rds; }
Example #2
Source File: EmpireWorkflowMaterialDaoTest.java From proarc with GNU General Public License v3.0 | 5 votes |
private IDataSet database(IDataSet... ds) throws Exception { ReplacementDataSet rds = new ReplacementDataSet(new CompositeDataSet(ds)); rds.addReplacementObject("{$user.home}", "relative/path/"); dbTimestamp = new Timestamp(System.currentTimeMillis()); rds.addReplacementObject("{$now}", dbTimestamp); return rds; }
Example #3
Source File: EmpireWorkflowParameterDaoTest.java From proarc with GNU General Public License v3.0 | 5 votes |
private IDataSet database(IDataSet... ds) throws Exception { ReplacementDataSet rds = new ReplacementDataSet(new CompositeDataSet(ds)); rds.addReplacementObject("{$user.home}", "relative/path/"); dbTimestamp = new Timestamp(System.currentTimeMillis()); rds.addReplacementObject("{$now}", dbTimestamp); return rds; }
Example #4
Source File: EmpireWorkflowJobDaoTest.java From proarc with GNU General Public License v3.0 | 5 votes |
private IDataSet database(IDataSet... ds) throws Exception { ReplacementDataSet rds = new ReplacementDataSet(new CompositeDataSet(ds)); rds.addReplacementObject("{$user.home}", "relative/path/"); dbTimestamp = new Timestamp(System.currentTimeMillis()); rds.addReplacementObject("{$now}", dbTimestamp); return rds; }
Example #5
Source File: EmpireWorkflowTaskDaoTest.java From proarc with GNU General Public License v3.0 | 5 votes |
private IDataSet database(IDataSet... ds) throws Exception { ReplacementDataSet rds = new ReplacementDataSet(new CompositeDataSet(ds)); rds.addReplacementObject("{$user.home}", "relative/path/"); dbTimestamp = new Timestamp(System.currentTimeMillis()); rds.addReplacementObject("{$now}", dbTimestamp); return rds; }
Example #6
Source File: EmpireBatchDaoTest.java From proarc with GNU General Public License v3.0 | 5 votes |
private IDataSet database(IDataSet... ds) throws Exception { ReplacementDataSet rds = new ReplacementDataSet(new CompositeDataSet(ds)); rds.addReplacementObject("{$user.home}", "relative/path/"); dbTimestamp = new Timestamp(System.currentTimeMillis()); rds.addReplacementObject("{$now}", dbTimestamp); return rds; }
Example #7
Source File: WorkflowManagerTest.java From proarc with GNU General Public License v3.0 | 5 votes |
private IDataSet database(IDataSet... ds) throws Exception { ReplacementDataSet rds = new ReplacementDataSet(new CompositeDataSet(ds)); rds.addReplacementObject("{$user.home}", "relative/path/"); Timestamp dbTimestamp = new Timestamp(System.currentTimeMillis()); rds.addReplacementObject("{$now}", dbTimestamp); return rds; }
Example #8
Source File: FedoraImportTest.java From proarc with GNU General Public License v3.0 | 5 votes |
private ReplacementDataSet database(IDataSet... ds) throws Exception { ReplacementDataSet rds = new ReplacementDataSet(new CompositeDataSet(ds)); rds.addReplacementObject("{$user.home}", "relative/path/"); Timestamp dbTimestamp = new Timestamp(System.currentTimeMillis()); rds.addReplacementObject("{$now}", dbTimestamp); return rds; }
Example #9
Source File: DataSetProviderIt.java From database-rider with Apache License 2.0 | 4 votes |
@Override public IDataSet provide() throws DataSetException { IDataSet userDataSet = new UserDataSetProvider().provide(); IDataSet tweetDataSet = new TweetDataSetProvider().provide(); return new CompositeDataSet(userDataSet, tweetDataSet); }
Example #10
Source File: DataSetProviderIt.java From database-rider with Apache License 2.0 | 4 votes |
@Override public IDataSet provide() throws DataSetException { IDataSet userDataSet = new UserDataSetProvider().provide(); IDataSet tweetDataSet = new TweetDataSetProvider().provide(); return new CompositeDataSet(userDataSet, tweetDataSet); }
Example #11
Source File: DataSetProviderIt.java From database-rider with Apache License 2.0 | 4 votes |
@Override public IDataSet provide() throws DataSetException { IDataSet userDataSet = new UserDataSetProvider().provide(); IDataSet tweetDataSet = new TweetDataSetProvider().provide(); return new CompositeDataSet(userDataSet, tweetDataSet); }
Example #12
Source File: SqlDbFeatureExecutor.java From jpa-unit with Apache License 2.0 | 4 votes |
private static IDataSet mergeDataSets(final List<IDataSet> dataSets) throws DataSetException { return new CompositeDataSet(dataSets.toArray(new IDataSet[dataSets.size()])); }
Example #13
Source File: CleanupStrategyProvider.java From jpa-unit with Apache License 2.0 | 4 votes |
private IDataSet mergeDataSets(final List<IDataSet> dataSets) throws DataSetException { return new CompositeDataSet(dataSets.toArray(new IDataSet[dataSets.size()])); }
Example #14
Source File: EmpireUserDaoTest.java From proarc with GNU General Public License v3.0 | 4 votes |
private IDataSet database(IDataSet... ds) throws Exception { ReplacementDataSet rds = new ReplacementDataSet(new CompositeDataSet(ds)); // rds.addReplacementObject("{$user.home}", "relative/path/"); rds.addReplacementObject("{$now}", new Timestamp(System.currentTimeMillis())); return rds; }
Example #15
Source File: EmpireBatchItemDaoTest.java From proarc with GNU General Public License v3.0 | 4 votes |
private IDataSet database(IDataSet... ds) throws Exception { ReplacementDataSet rds = new ReplacementDataSet(new CompositeDataSet(ds)); rds.addReplacementObject("{$user.home}", "relative/path/"); rds.addReplacementObject("{$now}", new Timestamp(System.currentTimeMillis())); return rds; }
Example #16
Source File: UserManagerSqlTest.java From proarc with GNU General Public License v3.0 | 4 votes |
private IDataSet database(IDataSet... ds) throws Exception { ReplacementDataSet rds = new ReplacementDataSet(new CompositeDataSet(ds)); rds.addReplacementObject("{$user.home}", "relative/path/"); rds.addReplacementObject("{$now}", new Timestamp(System.currentTimeMillis())); return rds; }