사용자 도구

사이트 도구


java:fest

차이

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

차이 보기로 링크

양쪽 이전 판 이전 판
java:fest [2014/09/09 04:52]
kwon37xi
java:fest [2015/02/16 13:39] (현재)
kwon37xi [File Template]
줄 3: 줄 3:
   * [[https://github.com/alexruiz/fest-assert-2.x/wiki|FEST: Fixtures for Easy Software Testing]]   * [[https://github.com/alexruiz/fest-assert-2.x/wiki|FEST: Fixtures for Easy Software Testing]]
  
-===== File Template =====+===== IntelliJ File Template =====
 <code java> <code java>
 import static org.fest.assertions.api.Assertions.*; import static org.fest.assertions.api.Assertions.*;
 +</code>
 +
 +===== IntelliJ Live Template for try/catch =====
 +  * abbrevication : ''trytest''
 +  * ''Reformat according to Style'' : check
 +  * ''Use static import if possible'' : check
 +  * ''Shorten FQ names'' : check
 +  * ''Applicable in Java: statement''
 +  * Template text : <code java>
 +try {
 +    org.fest.assertions.api.Assertions.failBecauseExceptionWasNotThrown($ExceptionClass$.class);
 +} catch ($ExceptionClass$ ex) {
 +    org.fest.assertions.api.Assertions.assertThat(ex).hasMessage("");
 +}
 </code> </code>
  
java/fest.1410205970.txt.gz · 마지막으로 수정됨: 2014/09/09 04:52 저자 kwon37xi