Removes BuildTools files after tests have finished
This commit is contained in:
parent
32c17c6005
commit
d61239c417
@ -2,6 +2,7 @@ package net.knarcraft.minecraftserverlauncher.utility;
|
||||
|
||||
import net.knarcraft.minecraftserverlauncher.Main;
|
||||
import net.knarcraft.minecraftserverlauncher.userinterface.FakeGUI;
|
||||
import org.junit.jupiter.api.AfterAll;
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
import org.junit.jupiter.api.MethodOrderer;
|
||||
import org.junit.jupiter.api.Order;
|
||||
@ -31,6 +32,11 @@ public class JarBuilderTest {
|
||||
removeBuildToolsFiles();
|
||||
}
|
||||
|
||||
@AfterAll
|
||||
public static void tearDown() {
|
||||
removeBuildToolsFiles();
|
||||
}
|
||||
|
||||
@Test
|
||||
@Order(3)
|
||||
public void buildLatestSpigotJarTest() {
|
||||
|
Loading…
Reference in New Issue
Block a user