Disable twirl tests in BuildServerTest

This commit is contained in:
Adrien Piquerez 2024-06-05 14:17:59 +02:00
parent 64a8d5ff31
commit 68f787c474
3 changed files with 6 additions and 6 deletions

View File

@ -43,9 +43,9 @@ lazy val javaProj = project
javacOptions += "-Xlint:all"
)
lazy val twirlProj = project
.in(file("twirlProj"))
.enablePlugins(SbtTwirl)
// lazy val twirlProj = project
// .in(file("twirlProj"))
// .enablePlugins(SbtTwirl)
def somethingBad = throw new MessageOnlyException("I am a bad build target")
// other build targets should not be affected by this bad build target

View File

@ -1 +1 @@
addSbtPlugin("com.typesafe.play" % "sbt-twirl" % "1.5.2")
// addSbtPlugin("com.typesafe.play" % "sbt-twirl" % "1.5.2")

View File

@ -172,7 +172,7 @@ class BuildServerTest extends AbstractServerTest {
duration = 30.seconds,
message = "should send publishDiagnostics with empty diagnostics"
)
assertMessage("build/taskFinish", "\"noOp\":true")(debug = true)
assertMessage("build/taskFinish", "\"noOp\":true")()
// trigger no-op compilation
compile(buildTarget)
@ -537,7 +537,7 @@ class BuildServerTest extends AbstractServerTest {
assert(actualResult == expectedResult)
}
test("buildTarget/compile: twirl diagnostics (sourcePositionMappers)") {
ignore("buildTarget/compile: twirl diagnostics (sourcePositionMappers)") {
val buildTarget = buildTargetUri("twirlProj", "Compile")
val testFile = new File(svr.baseDirectory, s"twirlProj/src/main/twirl/main.scala.html")