From 02e6fa2dd41c82dbe9c31e9eadc2ef6291ec52e2 Mon Sep 17 00:00:00 2001 From: Yegor Bugayenko Date: Thu, 9 Dec 2021 14:32:06 +0300 Subject: [PATCH] #462 tests enabled --- eo-maven-plugin/pom.xml | 2 +- eo-maven-plugin/src/{it-disabled => it}/README.md | 0 eo-maven-plugin/src/{it-disabled => it}/fibonacci/README.md | 0 .../src/{it-disabled => it}/fibonacci/invoker.properties | 0 eo-maven-plugin/src/{it-disabled => it}/fibonacci/pom.xml | 0 .../fibonacci/src/main/eo/org/eolang/examples/app.eo | 0 .../fibonacci/src/main/eo/org/eolang/examples/fibonacci.eo | 0 .../src/{it-disabled => it}/fibonacci/verify.groovy | 0 eo-maven-plugin/src/{it-disabled => it}/settings.xml | 0 .../src/test/java/org/eolang/maven/SnippetTest.java | 5 +++-- 10 files changed, 4 insertions(+), 3 deletions(-) rename eo-maven-plugin/src/{it-disabled => it}/README.md (100%) rename eo-maven-plugin/src/{it-disabled => it}/fibonacci/README.md (100%) rename eo-maven-plugin/src/{it-disabled => it}/fibonacci/invoker.properties (100%) rename eo-maven-plugin/src/{it-disabled => it}/fibonacci/pom.xml (100%) rename eo-maven-plugin/src/{it-disabled => it}/fibonacci/src/main/eo/org/eolang/examples/app.eo (100%) rename eo-maven-plugin/src/{it-disabled => it}/fibonacci/src/main/eo/org/eolang/examples/fibonacci.eo (100%) rename eo-maven-plugin/src/{it-disabled => it}/fibonacci/verify.groovy (100%) rename eo-maven-plugin/src/{it-disabled => it}/settings.xml (100%) diff --git a/eo-maven-plugin/pom.xml b/eo-maven-plugin/pom.xml index bbb71632bd..95c2da21e1 100644 --- a/eo-maven-plugin/pom.xml +++ b/eo-maven-plugin/pom.xml @@ -146,7 +146,7 @@ SOFTWARE. org.eolang eo-runtime - 0.19.1 + 0.20.0 test diff --git a/eo-maven-plugin/src/it-disabled/README.md b/eo-maven-plugin/src/it/README.md similarity index 100% rename from eo-maven-plugin/src/it-disabled/README.md rename to eo-maven-plugin/src/it/README.md diff --git a/eo-maven-plugin/src/it-disabled/fibonacci/README.md b/eo-maven-plugin/src/it/fibonacci/README.md similarity index 100% rename from eo-maven-plugin/src/it-disabled/fibonacci/README.md rename to eo-maven-plugin/src/it/fibonacci/README.md diff --git a/eo-maven-plugin/src/it-disabled/fibonacci/invoker.properties b/eo-maven-plugin/src/it/fibonacci/invoker.properties similarity index 100% rename from eo-maven-plugin/src/it-disabled/fibonacci/invoker.properties rename to eo-maven-plugin/src/it/fibonacci/invoker.properties diff --git a/eo-maven-plugin/src/it-disabled/fibonacci/pom.xml b/eo-maven-plugin/src/it/fibonacci/pom.xml similarity index 100% rename from eo-maven-plugin/src/it-disabled/fibonacci/pom.xml rename to eo-maven-plugin/src/it/fibonacci/pom.xml diff --git a/eo-maven-plugin/src/it-disabled/fibonacci/src/main/eo/org/eolang/examples/app.eo b/eo-maven-plugin/src/it/fibonacci/src/main/eo/org/eolang/examples/app.eo similarity index 100% rename from eo-maven-plugin/src/it-disabled/fibonacci/src/main/eo/org/eolang/examples/app.eo rename to eo-maven-plugin/src/it/fibonacci/src/main/eo/org/eolang/examples/app.eo diff --git a/eo-maven-plugin/src/it-disabled/fibonacci/src/main/eo/org/eolang/examples/fibonacci.eo b/eo-maven-plugin/src/it/fibonacci/src/main/eo/org/eolang/examples/fibonacci.eo similarity index 100% rename from eo-maven-plugin/src/it-disabled/fibonacci/src/main/eo/org/eolang/examples/fibonacci.eo rename to eo-maven-plugin/src/it/fibonacci/src/main/eo/org/eolang/examples/fibonacci.eo diff --git a/eo-maven-plugin/src/it-disabled/fibonacci/verify.groovy b/eo-maven-plugin/src/it/fibonacci/verify.groovy similarity index 100% rename from eo-maven-plugin/src/it-disabled/fibonacci/verify.groovy rename to eo-maven-plugin/src/it/fibonacci/verify.groovy diff --git a/eo-maven-plugin/src/it-disabled/settings.xml b/eo-maven-plugin/src/it/settings.xml similarity index 100% rename from eo-maven-plugin/src/it-disabled/settings.xml rename to eo-maven-plugin/src/it/settings.xml diff --git a/eo-maven-plugin/src/test/java/org/eolang/maven/SnippetTest.java b/eo-maven-plugin/src/test/java/org/eolang/maven/SnippetTest.java index 765e6e174c..9d22215efa 100644 --- a/eo-maven-plugin/src/test/java/org/eolang/maven/SnippetTest.java +++ b/eo-maven-plugin/src/test/java/org/eolang/maven/SnippetTest.java @@ -49,7 +49,8 @@ import org.cactoos.text.TextOf; import org.hamcrest.MatcherAssert; import org.hamcrest.Matchers; -import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.condition.DisabledOnOs; +import org.junit.jupiter.api.condition.OS; import org.junit.jupiter.api.io.TempDir; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.MethodSource; @@ -69,7 +70,7 @@ * @since 0.1 * @checkstyle ClassDataAbstractionCouplingCheck (500 lines) */ -@Disabled +@DisabledOnOs(OS.WINDOWS) @SuppressWarnings("PMD.AvoidDuplicateLiterals") public final class SnippetTest {