mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-21 05:50:18 +08:00
Removed empty test class
This commit is contained in:
parent
3f57b77718
commit
cfc8e50dec
@ -60,7 +60,7 @@ public class DatabaseTest {
|
|||||||
private int rows;
|
private int rows;
|
||||||
|
|
||||||
@Rule
|
@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
|
@Before
|
||||||
|
@ -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<String, List<Session>> 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());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user