Skip to content

Commit

Permalink
JDK16: Disable some kotlin tests w.r.t. "opens java.util" etc.
Browse files Browse the repository at this point in the history
  • Loading branch information
famod committed May 7, 2021
1 parent d929049 commit 2024c05
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ public void testRunTogetherCodestartsJava() throws Exception {
}

@Test
@org.junit.jupiter.api.Tag("failsOnJDK16")
public void testRunTogetherCodestartsKotlin() throws Exception {
generateProjectRunTests("maven", "kotlin", getExtensionCodestarts(), Collections.emptyMap());
}
Expand Down Expand Up @@ -90,6 +91,7 @@ public void testRunAloneCodestartsJava(String codestart) throws Exception {

@ParameterizedTest
@MethodSource("provideRunAloneCodestarts")
@org.junit.jupiter.api.Tag("failsOnJDK16")
public void testRunAloneCodestartsKotlin(String codestart) throws Exception {
generateProjectRunTests("maven", "kotlin", singletonList(codestart), Collections.emptyMap());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import java.util.concurrent.TimeUnit;

import org.apache.maven.shared.invoker.MavenInvocationException;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;

import com.google.common.collect.ImmutableMap;
Expand All @@ -18,6 +19,7 @@
public class KotlinDevModeIT extends RunAndCheckMojoTestBase {

@Test
@Tag("failsOnJDK16")
public void testThatTheApplicationIsReloadedOnKotlinChange() throws MavenInvocationException, IOException {
testDir = initProject("projects/classic-kotlin", "projects/project-classic-run-kotlin-change");
runAndCheck(false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import java.util.concurrent.TimeUnit;

import org.apache.maven.shared.invoker.MavenInvocationException;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;

import com.google.common.collect.ImmutableMap;
Expand All @@ -18,6 +19,7 @@
public class KotlinRemoteDevModeIT extends RunAndCheckWithAgentMojoTestBase {

@Test
@Tag("failsOnJDK16")
public void testThatTheApplicationIsReloadedOnKotlinChange()
throws MavenInvocationException, IOException, InterruptedException {
testDir = initProject("projects/classic-kotlin", "projects/project-classic-run-kotlin-change-remote");
Expand Down

0 comments on commit 2024c05

Please sign in to comment.