From a05911adf61327b2a6cdf7a861359957f6460998 Mon Sep 17 00:00:00 2001 From: Kacper Kafara Date: Tue, 29 Mar 2022 16:48:44 +0200 Subject: [PATCH 1/4] test: Initial JUnit setup --- src/test/java/io/rpg/MockTest.java | 9 +++++++++ src/test/java/module-info.java | 6 ++++++ 2 files changed, 15 insertions(+) create mode 100644 src/test/java/io/rpg/MockTest.java create mode 100644 src/test/java/module-info.java diff --git a/src/test/java/io/rpg/MockTest.java b/src/test/java/io/rpg/MockTest.java new file mode 100644 index 00000000..861e8168 --- /dev/null +++ b/src/test/java/io/rpg/MockTest.java @@ -0,0 +1,9 @@ +package io.rpg; + +import org.junit.jupiter.api.Test; + +public class MockTest { + @Test + void mockTest() { + } +} diff --git a/src/test/java/module-info.java b/src/test/java/module-info.java new file mode 100644 index 00000000..592ba265 --- /dev/null +++ b/src/test/java/module-info.java @@ -0,0 +1,6 @@ +module io.rpg { + requires org.junit.jupiter.api; + requires org.junit.jupiter.engine; + requires org.junit.platform.commons; + requires org.junit.platform.engine; +} \ No newline at end of file From d933fbaf5cc3048e69cddad875b156a2e5348ec5 Mon Sep 17 00:00:00 2001 From: Kacper Kafara Date: Tue, 29 Mar 2022 16:56:43 +0200 Subject: [PATCH 2/4] chore: Fix module name in module-info --- src/main/java/module-info.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/module-info.java b/src/main/java/module-info.java index 9d37fd0b..28297aa0 100644 --- a/src/main/java/module-info.java +++ b/src/main/java/module-info.java @@ -1,4 +1,4 @@ -module io.rpg.rpg { +module io.rpg { requires javafx.controls; requires javafx.fxml; requires javafx.web; From 1b58dc95e9d87b779d122449c4f48bc45f5e76f2 Mon Sep 17 00:00:00 2001 From: Kacper Kafara Date: Tue, 29 Mar 2022 17:06:05 +0200 Subject: [PATCH 3/4] chore: Delete module-info in test directory --- src/test/java/module-info.java | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 src/test/java/module-info.java diff --git a/src/test/java/module-info.java b/src/test/java/module-info.java deleted file mode 100644 index 592ba265..00000000 --- a/src/test/java/module-info.java +++ /dev/null @@ -1,6 +0,0 @@ -module io.rpg { - requires org.junit.jupiter.api; - requires org.junit.jupiter.engine; - requires org.junit.platform.commons; - requires org.junit.platform.engine; -} \ No newline at end of file From d2191e99a17c3ca9d35af95c3fbfcdca8368ddbd Mon Sep 17 00:00:00 2001 From: Kacper Kafara Date: Tue, 29 Mar 2022 17:14:46 +0200 Subject: [PATCH 4/4] chore: Update workflow name --- .github/workflows/gradle-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/gradle-build.yml b/.github/workflows/gradle-build.yml index 926727a2..432724c4 100644 --- a/.github/workflows/gradle-build.yml +++ b/.github/workflows/gradle-build.yml @@ -1,4 +1,4 @@ -name: Build project +name: Build & test project on: push: