1 21 package org.dbunit.dataset; 22 23 import org.dbunit.dataset.xml.FlatXmlDataSet; 24 25 import java.io.FileReader ; 26 27 32 public class ReplacementDataSetTest extends AbstractDataSetTest 33 { 34 public ReplacementDataSetTest(String s) 35 { 36 super(s); 37 } 38 39 42 protected IDataSet createDataSet() throws Exception 43 { 44 return new ReplacementDataSet(new FlatXmlDataSet(new FileReader ( 45 "src/xml/flatXmlDataSetTest.xml"))); 46 } 47 48 protected IDataSet createDuplicateDataSet() throws Exception 49 { 50 return new ReplacementDataSet(new FlatXmlDataSet(new FileReader ( 51 "src/xml/flatXmlDataSetDuplicateTest.xml"))); 52 } 53 } 54 | Popular Tags |