aboutsummaryrefslogtreecommitdiff
path: root/src/test/java
diff options
context:
space:
mode:
authorThibault Gagnaux <tgagnaux@gmail.com>2022-02-02 18:50:13 +0100
committerThibault Gagnaux <tgagnaux@gmail.com>2022-02-02 18:50:13 +0100
commit47f99d65a09660863cb5d6b25b239ead3389f3ac (patch)
treec1ca8819f6fa59f4fe481ce2406ffdb2250a193e /src/test/java
parentddf176c4d9ad16648ea8e2459694d34d6c68e5d7 (diff)
downloadfrege-gradle-plugin-47f99d65a09660863cb5d6b25b239ead3389f3ac.tar.gz
frege-gradle-plugin-47f99d65a09660863cb5d6b25b239ead3389f3ac.tar.bz2
frege-gradle-plugin-47f99d65a09660863cb5d6b25b239ead3389f3ac.zip
feat: simplifies the whole gradle plugin
- the `compileFregeTask` has a new optional input called `mainModuleName`. If it is set, it and only its dependencies will be compiled, otherwise all `.fr`files in the `mainSourceDir`will be compiled. - the internal `DependencyFregeTask` is deleted because it was only used by the vscode plugin and I decided to remove this gradle plugin as a dependency. - an example project folder was added to test the plugin manually.
Diffstat (limited to 'src/test/java')
-rw-r--r--src/test/java/ch/fhnw/thga/gradleplugins/SharedTaskLogicTest.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/test/java/ch/fhnw/thga/gradleplugins/SharedTaskLogicTest.java b/src/test/java/ch/fhnw/thga/gradleplugins/SharedTaskLogicTest.java
new file mode 100644
index 0000000..6f10d70
--- /dev/null
+++ b/src/test/java/ch/fhnw/thga/gradleplugins/SharedTaskLogicTest.java
@@ -0,0 +1,14 @@
+package ch.fhnw.thga.gradleplugins;
+
+import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.TestInstance;
+import org.junit.jupiter.api.TestInstance.Lifecycle;
+
+@TestInstance(Lifecycle.PER_CLASS)
+public class SharedTaskLogicTest
+{
+ @Test
+ void given_valid_frege_module_name_then_can_extract_class_name()
+ {
+ }
+} \ No newline at end of file