diff --git a/pom.xml b/pom.xml index 465ef9f..349efce 100644 --- a/pom.xml +++ b/pom.xml @@ -38,7 +38,7 @@ org.apache.maven.plugins maven-compiler-plugin - 3.8.0 + 3.8.1 ${java.version} ${java.version} @@ -49,7 +49,7 @@ org.apache.maven.plugins maven-source-plugin - 3.0.1 + 3.2.0 attach-sources @@ -62,7 +62,7 @@ org.apache.maven.plugins maven-enforcer-plugin - 3.0.0-M2 + 3.0.0-M3 @@ -115,7 +115,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.1.0 + 3.2.0 attach-javadocs @@ -128,7 +128,7 @@ org.codehaus.mojo sonar-maven-plugin - 3.6.0.1398 + 3.7.0.1746 org.apache.maven.plugins @@ -157,17 +157,17 @@ org.apache.maven.plugins maven-surefire-plugin - 3.0.0-M3 + 3.0.0-M5 org.apache.maven.plugins maven-jar-plugin - 3.1.1 + 3.2.0 org.apache.maven.plugins maven-site-plugin - 3.7.1 + 3.9.1 org.apache.maven.plugins @@ -181,100 +181,6 @@ - - - org.ow2.asm - asm - 8.0.1 - test - - - org.apache.commons - commons-lang3 - 3.11 - test - - - com.fasterxml.jackson.core - jackson-databind - ${jackson.version} - test - - - com.fasterxml.jackson.core - jackson-core - - - com.fasterxml.jackson.core - jackson-databind - - - com.fasterxml.jackson.core - jackson-annotations - - - - - com.fasterxml.jackson.core - jackson-annotations - ${jackson.version} - test - - - com.fasterxml.jackson.core - jackson-core - ${jackson.version} - test - - - org.junit.jupiter - junit-jupiter-api - ${junit.version} - test - - - org.junit.jupiter - junit-jupiter-engine - ${junit.version} - test - - - org.junit.platform - junit-platform-launcher - ${junit.platform.version} - test - - - org.junit.platform - junit-platform-runner - ${junit.platform.version} - test - - - org.apache.logging.log4j - log4j-slf4j18-impl - 2.13.3 - test - - - org.slf4j - slf4j-api - - - - - org.hamcrest - hamcrest - 2.2 - test - - - org.slf4j - slf4j-api - 2.0.0-alpha1 - test - - ossrh diff --git a/src/test/java/jpushover/JPushoverTest.java b/src/test/java/jpushover/JPushoverTest.java deleted file mode 100644 index d61e982..0000000 --- a/src/test/java/jpushover/JPushoverTest.java +++ /dev/null @@ -1,23 +0,0 @@ -package jpushover; - -import static org.junit.Assert.assertTrue; - -import de.svenkubiak.jpushover.JPushover; -import de.svenkubiak.jpushover.apis.Glance; -import de.svenkubiak.jpushover.apis.Message; - -/** - * - * @author svenkubiak - * - */ -public class JPushoverTest { - - public void testNewGlance() { - assertTrue(JPushover.newGlance() instanceof Glance); - } - - public void testNewMessage() { - assertTrue(JPushover.newMessage() instanceof Message); - } -} \ No newline at end of file diff --git a/src/test/java/jpushover/utils/ValidateTest.java b/src/test/java/jpushover/utils/ValidateTest.java deleted file mode 100644 index 519908b..0000000 --- a/src/test/java/jpushover/utils/ValidateTest.java +++ /dev/null @@ -1,26 +0,0 @@ -package jpushover.utils; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; - -import de.svenkubiak.jpushover.utils.Validate; - -/** - * - * @author svenkubiak - * - */ -public class ValidateTest { - - @Test - public void testTrue() { - Validate.checkArgument(true, "foo"); - } - - @Test - public void testFalse() { - Assertions.assertThrows(IllegalArgumentException.class, () -> { - Validate.checkArgument(false, "bar"); - }); - } -} \ No newline at end of file