사용자 도구

사이트 도구


java:fest

Fest

IntelliJ File Template

import static org.fest.assertions.api.Assertions.*;

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 :
    try {
        org.fest.assertions.api.Assertions.failBecauseExceptionWasNotThrown($ExceptionClass$.class);
    } catch ($ExceptionClass$ ex) {
        org.fest.assertions.api.Assertions.assertThat(ex).hasMessage("");
    }
java/fest.txt · 마지막으로 수정됨: 2015/02/16 13:39 저자 kwon37xi