일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 |
- Log4j
- 메모
- iBATIS
- Modeling
- Oracle
- java se
- 안드로이드
- 오라클
- 오류
- 관심책
- Android
- eclipse plugin
- TDD
- annotation
- 우분투
- ERD
- junit
- TAG 오류
- 초대장
- derby
- java
- 실수
- eclipse
- action
- Spring Framework
- 디자인 오류
- struts2
- Spring
- DATABASE
- 초대장 배포
- Today
- 0
- Total
- 579,107
목록annotation (2)
거꾸로 토마토
1. @ContextConfiguration에 설정 xml 파일을 명시하지 않으면 -context.xml을 디폴트로 하여 찾는다. 없으면 exception을 발생한다. 2. @ContextConfiguration에서 path를 명시 할 때 class path에 존재하면 "classpath:/com/test/Beans.xml" 식으로 "classpath:"로 시작하고 그 외의 path이면 "file:web/WEB-INF/config/Beans.xml" 이런 식으로 "file:"으로 시작한다. 설정하고자 하는 file이 여러 개이면 콤마(,)로 구분하여 나열한다. 3.@TransactionConfiguration 에서 context fingfile에서 설정한 transactionManager bean 명을 ..
import static org.junit.Assert.*; import static test.org.mcomp.common.constants.ErrorCodeConstants.*; import org.junit.Test; import org.junit.internal.runners.JUnit4ClassRunner; import org.junit.runner.RunWith; @RunWith(JUnit4ClassRunner.class) public class ConstatnsTestMain { @Test public void constantsEqualMethodTest2(){ assertTrue(ERROR2.equals(TEST_ERROR2)); } } 참고 내용 1. static import 이용 jdk..