From ef98424e08d564240d65cfbe12bc6de0d876695f Mon Sep 17 00:00:00 2001 From: Duckelekuuk Date: Wed, 23 Aug 2023 18:18:38 +0200 Subject: [PATCH] Fixed unittests --- .gitignore | 24 +------------ .idea/.gitignore | 8 ----- .idea/encodings.xml | 11 ------ .idea/misc.xml | 19 ---------- .idea/vcs.xml | 6 ---- rpcnis-core/pom.xml | 35 +++---------------- .../src/main/java/com/npcnis/core/Penis.java | 8 +++++ .../test/java/com/npcnis/cor/PenisTest.java | 14 ++++++++ .../src/test/java/tests/PenisTest.java | 13 ------- 9 files changed, 27 insertions(+), 111 deletions(-) delete mode 100644 .idea/.gitignore delete mode 100644 .idea/encodings.xml delete mode 100644 .idea/misc.xml delete mode 100644 .idea/vcs.xml create mode 100644 rpcnis-core/src/main/java/com/npcnis/core/Penis.java create mode 100644 rpcnis-core/src/test/java/com/npcnis/cor/PenisTest.java delete mode 100644 rpcnis-core/src/test/java/tests/PenisTest.java diff --git a/.gitignore b/.gitignore index 5ff6309..1ae1cc7 100644 --- a/.gitignore +++ b/.gitignore @@ -4,33 +4,11 @@ target/ !**/src/test/**/target/ ### IntelliJ IDEA ### -.idea/modules.xml -.idea/jarRepositories.xml -.idea/compiler.xml -.idea/libraries/ +.idea/ *.iws *.iml *.ipr -### Eclipse ### -.apt_generated -.classpath -.factorypath -.project -.settings -.springBeans -.sts4-cache - -### NetBeans ### -/nbproject/private/ -/nbbuild/ -/dist/ -/nbdist/ -/.nb-gradle/ -build/ -!**/src/main/**/build/ -!**/src/test/**/build/ - ### VS Code ### .vscode/ diff --git a/.idea/.gitignore b/.idea/.gitignore deleted file mode 100644 index 13566b8..0000000 --- a/.idea/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml -# Editor-based HTTP Client requests -/httpRequests/ -# Datasource local storage ignored files -/dataSources/ -/dataSources.local.xml diff --git a/.idea/encodings.xml b/.idea/encodings.xml deleted file mode 100644 index 4da12c0..0000000 --- a/.idea/encodings.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml deleted file mode 100644 index 0fe7302..0000000 --- a/.idea/misc.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml deleted file mode 100644 index 94a25f7..0000000 --- a/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/rpcnis-core/pom.xml b/rpcnis-core/pom.xml index 659e3ac..7d66b05 100644 --- a/rpcnis-core/pom.xml +++ b/rpcnis-core/pom.xml @@ -9,8 +9,9 @@ 1.0-SNAPSHOT - 20 - 20 + 17 + 17 + verbose UTF-8 @@ -22,12 +23,6 @@ 5.10.0 test - - org.junit.platform - junit-platform-runner - 1.10.0 - test - com.npcnis @@ -41,31 +36,9 @@ org.apache.maven.plugins maven-surefire-plugin - 2.22.0 - - - org.junit.platform - junit-platform-surefire-provider - 1.2.0 - - - - - src/test/java/ - - + 3.1.2 - - - - org.apache.maven.plugins - maven-surefire-report-plugin - 2.22.0 - - - - \ No newline at end of file diff --git a/rpcnis-core/src/main/java/com/npcnis/core/Penis.java b/rpcnis-core/src/main/java/com/npcnis/core/Penis.java new file mode 100644 index 0000000..0605d47 --- /dev/null +++ b/rpcnis-core/src/main/java/com/npcnis/core/Penis.java @@ -0,0 +1,8 @@ +package com.npcnis.core; + +public class Penis { + + public static void main(String[] args) { + System.out.println("Test"); + } +} diff --git a/rpcnis-core/src/test/java/com/npcnis/cor/PenisTest.java b/rpcnis-core/src/test/java/com/npcnis/cor/PenisTest.java new file mode 100644 index 0000000..d1731ed --- /dev/null +++ b/rpcnis-core/src/test/java/com/npcnis/cor/PenisTest.java @@ -0,0 +1,14 @@ +package com.npcnis.cor; + +import org.junit.jupiter.api.Test; + +import static org.junit.jupiter.api.Assertions.assertTrue; + +public class PenisTest { + + @Test + public void testPenis() { + assertTrue(true); + } + +} diff --git a/rpcnis-core/src/test/java/tests/PenisTest.java b/rpcnis-core/src/test/java/tests/PenisTest.java deleted file mode 100644 index dbf2c69..0000000 --- a/rpcnis-core/src/test/java/tests/PenisTest.java +++ /dev/null @@ -1,13 +0,0 @@ -package tests; - -import junit.framework.TestCase; -import org.junit.Test; - -public class PenisTest extends TestCase { - - @Test - public void testPenis() { - assertTrue(true); - } - -}