Added MockBucket
Added MockBucket to allow for new Tests to be written for each Class planned to be overhauled
This commit is contained in:
parent
cd43b51329
commit
4b8b90d6e8
11
pom.xml
11
pom.xml
|
@ -40,6 +40,11 @@
|
|||
<url>https://maven.enginehub.org/repo/</url>
|
||||
</repository>
|
||||
|
||||
<repository>
|
||||
<id>papermc</id>
|
||||
<url>https://repo.papermc.io/repository/maven-public/</url>
|
||||
</repository>
|
||||
|
||||
</repositories>
|
||||
|
||||
<dependencyManagement>
|
||||
|
@ -130,6 +135,12 @@
|
|||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.github.seeseemelk</groupId>
|
||||
<artifactId>MockBukkit-v1.19</artifactId>
|
||||
<version>2.29.0</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
package de.butzlabben.world.data;
|
||||
|
||||
public class WorldDatabase {
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
package de.butzlabben.world.data;
|
||||
|
||||
public class TestWorldDatabase {
|
||||
}
|
|
@ -1,16 +0,0 @@
|
|||
package de.butzlabben.world.wrapper;
|
||||
|
||||
import org.bukkit.WorldCreator;
|
||||
import org.junit.Test;
|
||||
|
||||
import static org.junit.Assert.assertNotNull;
|
||||
|
||||
public class GeneratorSettingsTest {
|
||||
|
||||
@Test
|
||||
public void asWorldCreator() {
|
||||
GeneratorSettings settings = new GeneratorSettings();
|
||||
WorldCreator creator = settings.asWorldCreator("test");
|
||||
assertNotNull(creator);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue