From cfc8e50dec7f6b9832d128dfe7e121aa851abf6f Mon Sep 17 00:00:00 2001 From: Rsl1122 Date: Tue, 28 Nov 2017 10:13:46 +0200 Subject: [PATCH] Removed empty test class --- .../plan/database/DatabaseTest.java | 2 +- .../utilities/html/HtmlStructureTest.java | 34 ------------------- 2 files changed, 1 insertion(+), 35 deletions(-) delete mode 100644 Plan/test/main/java/com/djrapitops/plan/utilities/html/HtmlStructureTest.java diff --git a/Plan/test/main/java/com/djrapitops/plan/database/DatabaseTest.java b/Plan/test/main/java/com/djrapitops/plan/database/DatabaseTest.java index a93766de8..d895268d9 100644 --- a/Plan/test/main/java/com/djrapitops/plan/database/DatabaseTest.java +++ b/Plan/test/main/java/com/djrapitops/plan/database/DatabaseTest.java @@ -60,7 +60,7 @@ public class DatabaseTest { private int rows; @Rule - public Timeout globalTimeout = Timeout.seconds(6); // 5 seconds max per method tested + public Timeout globalTimeout = Timeout.seconds(7); // 5 seconds max per method tested @Before diff --git a/Plan/test/main/java/com/djrapitops/plan/utilities/html/HtmlStructureTest.java b/Plan/test/main/java/com/djrapitops/plan/utilities/html/HtmlStructureTest.java deleted file mode 100644 index b5808c90c..000000000 --- a/Plan/test/main/java/com/djrapitops/plan/utilities/html/HtmlStructureTest.java +++ /dev/null @@ -1,34 +0,0 @@ -package main.java.com.djrapitops.plan.utilities.html; - -import main.java.com.djrapitops.plan.data.Session; -import org.apache.commons.lang3.StringUtils; -import org.bukkit.plugin.java.JavaPlugin; -import org.junit.Before; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.powermock.core.classloader.annotations.PrepareForTest; -import org.powermock.modules.junit4.PowerMockRunner; -import test.java.utils.RandomData; -import test.java.utils.TestInit; - -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import static org.junit.Assert.assertEquals; - -@RunWith(PowerMockRunner.class) -@PrepareForTest(JavaPlugin.class) -public class HtmlStructureTest { - - private Map> sessions = new HashMap<>(); - - @Before - public void setUp() throws Exception { - TestInit.init(); - - for (int i = 0; i < RandomData.randomInt(0, 5); i++) { - sessions.put(RandomData.randomString(10), RandomData.randomSessions()); - } - } -} \ No newline at end of file