Skip to content

Commit

Permalink
Relax presence of Scala compiler warnings
Browse files Browse the repository at this point in the history
This is needed following the changes around handling implicit
toolchains.

Issue #23905
  • Loading branch information
ljacomet committed Feb 17, 2023
1 parent 6616057 commit 9828b48
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
Expand Up @@ -52,7 +52,6 @@ class ScalaCompileIntegrationTest extends MultiVersionIntegrationSpec implements

then:
executedAndNotSkipped(":compileScala")
outputDoesNotContain("[Warn]")

JavaVersion.forClass(scalaClassFile("JavaThing.class").bytes) == currentJdk.javaVersion
JavaVersion.forClass(scalaClassFile("ScalaHall.class").bytes) == JavaVersion.VERSION_1_8
Expand Down Expand Up @@ -88,7 +87,6 @@ class Person {

then:
executedAndNotSkipped(":compileScala")
outputDoesNotContain("[Warn]")
JavaVersion.forClass(scalaClassFile("ScalaHall.class").bytes) == JavaVersion.VERSION_1_8

where:
Expand Down
Expand Up @@ -78,7 +78,6 @@ class ScalaCompileJavaToolchainIntegrationTest extends MultiVersionIntegrationSp

then:
executedAndNotSkipped(":compileScala")
outputDoesNotContain("[Warn]")

JavaVersion.forClass(scalaClassFile("JavaThing.class").bytes) == currentJdk.javaVersion
JavaVersion.forClass(scalaClassFile("ScalaHall.class").bytes) == JavaVersion.VERSION_1_8
Expand Down Expand Up @@ -112,7 +111,6 @@ class ScalaCompileJavaToolchainIntegrationTest extends MultiVersionIntegrationSp

then:
executedAndNotSkipped(":compileScala")
outputDoesNotContain("[Warn]")
outputContains("Compiling with Zinc Scala compiler")

JavaVersion.forClass(scalaClassFile("JavaThing.class").bytes) == targetJdk.javaVersion
Expand Down Expand Up @@ -148,7 +146,6 @@ class ScalaCompileJavaToolchainIntegrationTest extends MultiVersionIntegrationSp
withInstallations(currentJdk, otherJdk).run(":compileScala")
then:
executedAndNotSkipped(":compileScala")
outputDoesNotContain("[Warn]")

when:
withInstallations(currentJdk, otherJdk).run(":compileScala")
Expand Down Expand Up @@ -198,7 +195,6 @@ class ScalaCompileJavaToolchainIntegrationTest extends MultiVersionIntegrationSp
then:
executedAndNotSkipped(":compileScala")
outputDoesNotContain("[Warn]")
outputContains("project.sourceCompatibility = 11")
outputContains("project.targetCompatibility = 11")
Expand Down Expand Up @@ -248,7 +244,6 @@ class ScalaCompileJavaToolchainIntegrationTest extends MultiVersionIntegrationSp
then:
executedAndNotSkipped(":test")
outputDoesNotContain("[Warn]")
outputContains("Running Scala test with Java version ${jdk.javaVersion}")
JavaVersion.forClass(scalaClassFile("JavaThing.class").bytes) == javaVersion
Expand Down

0 comments on commit 9828b48

Please sign in to comment.