사용자 도구

사이트 도구


java:junit

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
java:junit [2015/11/21 12:56]
kwon37xi
java:junit [2015/11/21 13:26]
kwon37xi
줄 65: 줄 65:
 } catch ($EXCEPTION$ ex) { } catch ($EXCEPTION$ ex) {
     org.junit.Assert.assertThat("Must throw an exception",     org.junit.Assert.assertThat("Must throw an exception",
- ex.getMessage(), org.hamcrest.CoreMatchers.containsString("$MESSAGE$"));+ ex.getMessage(), org.hamcrest.CoreMatchers.is("$MESSAGE$"));
 } }
 </code> </code>
java/junit.txt · 마지막으로 수정됨: 2015/11/21 13:26 저자 kwon37xi