Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- Eclipse
- xargs
- maVen
- resource
- VirtualBox
- netsh
- IntelliJ
- grep
- lsof
- Quartz
- port
- GIT
- tomcat
- 네트워크
- 공통표준용어
- Windows
- web.xml
- Windows 10
- bash
- JavaScript
- ssh
- import
- profile
- context
- Mac
- copy-dependencies
- DB 도메인
- 단축키
- find
- Source
Archives
- Today
- Total
develog
JUnit 에서 ApplicationContext 접근 본문
@RunWith(ExtSpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = { "classpath:test/config/beans.xml" })
public class TestQuartz {
@Autowired
private ApplicationContext context;
@Test
public void test1() throws Exception {
System.out.println(context);
}
}
'Dev > junit' 카테고리의 다른 글
[junit] spring junit 설정1 (0) | 2019.08.02 |
---|---|
[JUnit] JUnit Transaction Rollback (0) | 2015.05.06 |
[junit] ExtSpringJUnit4ClassRunner (0) | 2013.12.09 |
JUnit 버전 확인 (0) | 2013.12.09 |
JUnit 4 in 60 Seconds (0) | 2013.08.07 |
Comments