1 21 22 package org.dbunit.dataset; 23 24 import org.dbunit.dataset.xml.FlatXmlDataSet; 25 import org.dbunit.dataset.xml.XmlDataSet; 26 27 import java.io.FileReader ; 28 29 34 public class CaseInsensitiveDataSetTest extends AbstractDataSetTest 35 { 36 public CaseInsensitiveDataSetTest(String s) 37 { 38 super(s); 39 } 40 41 protected IDataSet createDataSet() throws Exception 42 { 43 return new CaseInsensitiveDataSet(new XmlDataSet(new FileReader ( 44 "src/xml/caseInsensitiveDataSetTest.xml"))); 45 } 46 47 protected IDataSet createDuplicateDataSet() throws Exception 48 { 49 return new CaseInsensitiveDataSet(new FlatXmlDataSet(new FileReader ( 50 "src/xml/caseInsensitiveDataSetDuplicateTest.xml"))); 51 } 52 53 protected void assertEqualsTableName(String message, String expected, 54 String actual) 55 { 56 assertEqualsIgnoreCase(message, expected, actual); 57 } 58 } 59 60 61 | Popular Tags |