Changes from Version 1 of test/dbunit/CodeDAOTest

차이점 주위로
다음 차이점은 무시하기:
작성자:
anonymous (IP: 221.150.127.103)
날짜/시간:
2013-12-23 AM 11:19:52 (11 년 전)
설명:

--

Legend:

변경되지 않음
추가됨
제거됨
변경됨
  • test/dbunit/CodeDAOTest

    v0 v1  
     1{{{ 
     2package com.five; 
     3 
     4import static org.junit.Assert.*; 
     5 
     6import org.junit.Test; 
     7import org.junit.runner.RunWith; 
     8import org.unitils.UnitilsJUnit4TestClassRunner; 
     9import org.unitils.dbunit.annotation.DataSet; 
     10import org.unitils.dbunit.annotation.ExpectedDataSet; 
     11import org.unitils.dbunit.datasetfactory.XlsDataSetFactory; 
     12import org.unitils.dbunit.datasetloadstrategy.impl.RefreshLoadStrategy; 
     13import org.unitils.spring.annotation.SpringApplicationContext; 
     14 
     15//@DataSet ("file:C:/eGovFrameDev-2.6.0-FullVer/workspace/eGov_WebProject/src/test/resources/com/five/seller.xls")  
     16 
     17@SpringApplicationContext("classpath:/egovframework/spring/context-*.xml") 
     18@RunWith(UnitilsJUnit4TestClassRunner.class)   
     19public class CodeDAOTest { 
     20 
     21/* 
     22 * @DataSet          : CodeDAOTest.xls 
     23 * @ExpectedDataSet  : CodeDAOTest.test22-result.xls 
     24 */ 
     25        @Test 
     26        @DataSet(factory=XlsDataSetFactory.class) //com/five/CodeDAOTest.xls 
     27        @ExpectedDataSet( factory=XlsDataSetFactory.class) //com/five/CodeDAOTest.test-result.xls        
     28        public void test22() { 
     29                //fail("Not yet implemented");  
     30        } 
     31} 
     32 
     33}}}