Refactored to new domain name and locked spigot dependency version.
Some checks failed
RealYHD/mcswebapi/pipeline/head There was a failure building this commit
Some checks failed
RealYHD/mcswebapi/pipeline/head There was a failure building this commit
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
package xyz.reslate.mcswebapi;
|
||||
package net.reslate.mcswebapi;
|
||||
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import org.bukkit.plugin.java.JavaPlugin;
|
||||
|
||||
import io.javalin.Javalin;
|
||||
import xyz.reslate.mcswebapi.controllers.ControllerGroup;
|
||||
import xyz.reslate.mcswebapi.controllers.PublicServerInformation;
|
||||
import net.reslate.mcswebapi.controllers.ControllerGroup;
|
||||
import net.reslate.mcswebapi.controllers.PublicServerInformation;
|
||||
|
||||
public class MCSWebAPI extends JavaPlugin
|
||||
{
|
@@ -1,4 +1,4 @@
|
||||
package xyz.reslate.mcswebapi.controllers;
|
||||
package net.reslate.mcswebapi.controllers;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.HashSet;
|
@@ -1,4 +1,4 @@
|
||||
package xyz.reslate.mcswebapi.controllers;
|
||||
package net.reslate.mcswebapi.controllers;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
@@ -1,4 +1,4 @@
|
||||
package xyz.reslate.mcswebapi.controllers;
|
||||
package net.reslate.mcswebapi.controllers;
|
||||
|
||||
import io.javalin.Javalin;
|
||||
|
@@ -1,5 +1,5 @@
|
||||
main: xyz.reslate.mcswebapi.MCSWebAPI
|
||||
main: net.reslate.mcswebapi.MCSWebAPI
|
||||
name: MCSWebAPI
|
||||
version: 0.0.1
|
||||
author: reslate
|
||||
author: Reslate
|
||||
description: "A Minecraft Server Web API."
|
14
src/test/java/net/reslate/mcswebapi/AppTest.java
Normal file
14
src/test/java/net/reslate/mcswebapi/AppTest.java
Normal file
@@ -0,0 +1,14 @@
|
||||
package net.reslate.mcswebapi;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
class MyFirstJUnitJupiterTests {
|
||||
|
||||
@Test
|
||||
void testCase() {
|
||||
assertEquals(2, 2);
|
||||
}
|
||||
|
||||
}
|
@@ -1,38 +0,0 @@
|
||||
package xyz.reslate.mcswebapi;
|
||||
|
||||
import junit.framework.Test;
|
||||
import junit.framework.TestCase;
|
||||
import junit.framework.TestSuite;
|
||||
|
||||
/**
|
||||
* Unit test for simple App.
|
||||
*/
|
||||
public class AppTest
|
||||
extends TestCase
|
||||
{
|
||||
/**
|
||||
* Create the test case
|
||||
*
|
||||
* @param testName name of the test case
|
||||
*/
|
||||
public AppTest( String testName )
|
||||
{
|
||||
super( testName );
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the suite of tests being tested
|
||||
*/
|
||||
public static Test suite()
|
||||
{
|
||||
return new TestSuite( AppTest.class );
|
||||
}
|
||||
|
||||
/**
|
||||
* Rigourous Test :-)
|
||||
*/
|
||||
public void testApp()
|
||||
{
|
||||
assertTrue( true );
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user