Refactored to new domain name and locked spigot dependency version.
Some checks failed
RealYHD/mcswebapi/pipeline/head There was a failure building this commit

This commit is contained in:
2022-12-08 20:00:44 +00:00
parent 56e0c8f22a
commit e1ff91f1d8
11 changed files with 40 additions and 66 deletions

View File

@@ -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
{

View File

@@ -1,4 +1,4 @@
package xyz.reslate.mcswebapi.controllers;
package net.reslate.mcswebapi.controllers;
import java.util.Arrays;
import java.util.HashSet;

View File

@@ -1,4 +1,4 @@
package xyz.reslate.mcswebapi.controllers;
package net.reslate.mcswebapi.controllers;
import java.util.ArrayList;

View File

@@ -1,4 +1,4 @@
package xyz.reslate.mcswebapi.controllers;
package net.reslate.mcswebapi.controllers;
import io.javalin.Javalin;

View File

@@ -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."

View 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);
}
}

View File

@@ -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 );
}
}