aboutsummaryrefslogtreecommitdiff
path: root/src/functionalTest/java/ch/fhnw
diff options
context:
space:
mode:
authorThibault Gagnaux <tgagnaux@gmail.com>2021-11-28 11:40:14 +0100
committerThibault Gagnaux <tgagnaux@gmail.com>2021-11-28 12:10:06 +0100
commit8fed7811e535d3f8892ea16f7587e461ef1ee98e (patch)
treea3e03352508205c5a2974b70e244bb49cd97ff96 /src/functionalTest/java/ch/fhnw
parent133a0cc6e0c5d5130f415cf8d9bb7155a702d2d0 (diff)
downloadfrege-gradle-plugin-8fed7811e535d3f8892ea16f7587e461ef1ee98e.tar.gz
frege-gradle-plugin-8fed7811e535d3f8892ea16f7587e461ef1ee98e.tar.bz2
frege-gradle-plugin-8fed7811e535d3f8892ea16f7587e461ef1ee98e.zip
fix: adds `System.in` as StandardInput to make `ReplFrege` task interactively
Diffstat (limited to 'src/functionalTest/java/ch/fhnw')
-rw-r--r--src/functionalTest/java/ch/fhnw/thga/gradleplugins/FregePluginFunctionalTest.java9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/functionalTest/java/ch/fhnw/thga/gradleplugins/FregePluginFunctionalTest.java b/src/functionalTest/java/ch/fhnw/thga/gradleplugins/FregePluginFunctionalTest.java
index 70756b0..395d26f 100644
--- a/src/functionalTest/java/ch/fhnw/thga/gradleplugins/FregePluginFunctionalTest.java
+++ b/src/functionalTest/java/ch/fhnw/thga/gradleplugins/FregePluginFunctionalTest.java
@@ -1,7 +1,12 @@
package ch.fhnw.thga.gradleplugins;
import static ch.fhnw.thga.gradleplugins.FregeExtension.DEFAULT_DOWNLOAD_DIRECTORY;
-import static ch.fhnw.thga.gradleplugins.FregePlugin.*;
+import static ch.fhnw.thga.gradleplugins.FregePlugin.COMPILE_FREGE_TASK_NAME;
+import static ch.fhnw.thga.gradleplugins.FregePlugin.FREGE_EXTENSION_NAME;
+import static ch.fhnw.thga.gradleplugins.FregePlugin.FREGE_PLUGIN_ID;
+import static ch.fhnw.thga.gradleplugins.FregePlugin.REPL_FREGE_TASK_NAME;
+import static ch.fhnw.thga.gradleplugins.FregePlugin.RUN_FREGE_TASK_NAME;
+import static ch.fhnw.thga.gradleplugins.FregePlugin.SETUP_FREGE_TASK_NAME;
import static ch.fhnw.thga.gradleplugins.GradleBuildFileConversionTest.createPluginsSection;
import static org.gradle.testkit.runner.TaskOutcome.FAILED;
import static org.gradle.testkit.runner.TaskOutcome.FROM_CACHE;
@@ -29,7 +34,6 @@ import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.DisplayNameGenerator;
import org.junit.jupiter.api.IndicativeSentencesGeneration;
import org.junit.jupiter.api.Nested;
-import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.TestInstance;
import org.junit.jupiter.api.TestInstance.Lifecycle;
@@ -359,7 +363,6 @@ public class FregePluginFunctionalTest {
@IndicativeSentencesGeneration(separator = " -> ", generator = DisplayNameGenerator.ReplaceUnderscores.class)
class Repl_frege_task_works {
@Test
- @Tag("hard")
void given_minimal_build_file_config() throws Exception {
Files.createDirectories(testProjectDir.toPath().resolve(Paths.get("src", "main", "frege")));
String minimalBuildFileConfig = createFregeSection(