From 9d136dc7a8b22fc59cfebca642067b3f921b5602 Mon Sep 17 00:00:00 2001 From: Tim te Beek Date: Sat, 2 Nov 2024 11:05:03 +0100 Subject: [PATCH] Unconditionally run SequencedCollection tests --- .../org/openrewrite/java/migrate/util/IteratorNextTest.java | 3 --- .../openrewrite/java/migrate/util/ListFirstAndLastTest.java | 3 --- .../org/openrewrite/java/migrate/util/StreamFindFirstTest.java | 3 --- 3 files changed, 9 deletions(-) diff --git a/src/test/java/org/openrewrite/java/migrate/util/IteratorNextTest.java b/src/test/java/org/openrewrite/java/migrate/util/IteratorNextTest.java index 350734fb1f..e14ba1e452 100644 --- a/src/test/java/org/openrewrite/java/migrate/util/IteratorNextTest.java +++ b/src/test/java/org/openrewrite/java/migrate/util/IteratorNextTest.java @@ -16,8 +16,6 @@ package org.openrewrite.java.migrate.util; import org.junit.jupiter.api.Test; -import org.junit.jupiter.api.condition.EnabledForJreRange; -import org.junit.jupiter.api.condition.JRE; import org.openrewrite.DocumentExample; import org.openrewrite.Issue; import org.openrewrite.test.RecipeSpec; @@ -27,7 +25,6 @@ import static org.openrewrite.java.Assertions.javaVersion; @Issue("https://github.com/openrewrite/rewrite-migrate-java/issues/243") -@EnabledForJreRange(min = JRE.JAVA_21) class IteratorNextTest implements RewriteTest { @Override public void defaults(RecipeSpec spec) { diff --git a/src/test/java/org/openrewrite/java/migrate/util/ListFirstAndLastTest.java b/src/test/java/org/openrewrite/java/migrate/util/ListFirstAndLastTest.java index 420bce3a11..f30d131f67 100644 --- a/src/test/java/org/openrewrite/java/migrate/util/ListFirstAndLastTest.java +++ b/src/test/java/org/openrewrite/java/migrate/util/ListFirstAndLastTest.java @@ -17,8 +17,6 @@ import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; -import org.junit.jupiter.api.condition.EnabledForJreRange; -import org.junit.jupiter.api.condition.JRE; import org.openrewrite.Issue; import org.openrewrite.test.RecipeSpec; import org.openrewrite.test.RewriteTest; @@ -27,7 +25,6 @@ import static org.openrewrite.java.Assertions.javaVersion; @Issue("https://github.com/openrewrite/rewrite-migrate-java/issues/243") -@EnabledForJreRange(min = JRE.JAVA_21) class ListFirstAndLastTest implements RewriteTest { @Override public void defaults(RecipeSpec spec) { diff --git a/src/test/java/org/openrewrite/java/migrate/util/StreamFindFirstTest.java b/src/test/java/org/openrewrite/java/migrate/util/StreamFindFirstTest.java index c8e839b6da..566fe2626d 100644 --- a/src/test/java/org/openrewrite/java/migrate/util/StreamFindFirstTest.java +++ b/src/test/java/org/openrewrite/java/migrate/util/StreamFindFirstTest.java @@ -16,8 +16,6 @@ package org.openrewrite.java.migrate.util; import org.junit.jupiter.api.Test; -import org.junit.jupiter.api.condition.EnabledForJreRange; -import org.junit.jupiter.api.condition.JRE; import org.openrewrite.DocumentExample; import org.openrewrite.java.JavaParser; import org.openrewrite.test.RecipeSpec; @@ -26,7 +24,6 @@ import static org.openrewrite.java.Assertions.java; import static org.openrewrite.java.Assertions.javaVersion; -@EnabledForJreRange(min = JRE.JAVA_21) class StreamFindFirstTest implements RewriteTest { @Override public void defaults(RecipeSpec spec) {