Update JUnit test templates to fit OpenRS2's conventions

bzip2
Graham 5 years ago
parent 557f2fb504
commit 44ddde296f
  1. 4
      .idea/fileTemplates/code/JUnit5 SetUp Method.java
  2. 4
      .idea/fileTemplates/code/JUnit5 TearDown Method.java
  3. 5
      .idea/fileTemplates/code/JUnit5 Test Class.java
  4. 4
      .idea/fileTemplates/code/JUnit5 Test Method.java

@ -0,0 +1,4 @@
@org.junit.jupiter.api.BeforeEach
public void setUp() {
${BODY}
}

@ -0,0 +1,4 @@
@org.junit.jupiter.api.AfterEach
public void tearDown() {
${BODY}
}

@ -0,0 +1,5 @@
import static org.junit.jupiter.api.Assertions.*;
#parse("File Header.java")
public final class ${NAME} {
${BODY}
}

@ -0,0 +1,4 @@
@org.junit.jupiter.api.Test
public void ${NAME}() {
${BODY}
}
Loading…
Cancel
Save