mirror of https://github.com/sbt/sbt.git
Disable twirl tests in BuildServerTest
This commit is contained in:
parent
64a8d5ff31
commit
68f787c474
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
addSbtPlugin("com.typesafe.play" % "sbt-twirl" % "1.5.2")
|
||||
// addSbtPlugin("com.typesafe.play" % "sbt-twirl" % "1.5.2")
|
||||
|
|
|
|||
|
|
@ -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")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue