{{{ package com.five; import static org.junit.Assert.*; import org.junit.Test; import org.junit.runner.RunWith; import org.unitils.UnitilsJUnit4TestClassRunner; import org.unitils.dbunit.annotation.DataSet; import org.unitils.dbunit.annotation.ExpectedDataSet; import org.unitils.dbunit.datasetfactory.XlsDataSetFactory; import org.unitils.dbunit.datasetloadstrategy.impl.RefreshLoadStrategy; import org.unitils.spring.annotation.SpringApplicationContext; //@DataSet ("file:C:/eGovFrameDev-2.6.0-FullVer/workspace/eGov_WebProject/src/test/resources/com/five/seller.xls") @SpringApplicationContext("classpath:/egovframework/spring/context-*.xml") @RunWith(UnitilsJUnit4TestClassRunner.class) public class CodeDAOTest { /* * @DataSet : default : CodeDAOTest.xls * @ExpectedDataSet : default : CodeDAOTest.test22-result.xls */ @Test @DataSet(factory=XlsDataSetFactory.class) //com/five/CodeDAOTest.xls @ExpectedDataSet( factory=XlsDataSetFactory.class) //com/five/CodeDAOTest.test-result.xls public void test22() { //fail("Not yet implemented"); } } }}}