mirror of https://github.com/sbt/sbt.git
drop compatibility framework definitions (dead anyway)
This commit is contained in:
parent
111dfba6a3
commit
bb765db6c2
|
|
@ -276,7 +276,7 @@ object Defaults extends BuildCommon
|
|||
testLoader <<= (fullClasspath, scalaInstance, taskTemporaryDirectory) map { (cp, si, temp) => TestFramework.createTestLoader(data(cp), si, IO.createUniqueDirectory(temp)) },
|
||||
testFrameworks in GlobalScope :== {
|
||||
import sbt.TestFrameworks._
|
||||
Seq(ScalaCheck, Specs2, Specs, ScalaTest, ScalaCheckCompat, ScalaTestCompat, SpecsCompat, JUnit)
|
||||
Seq(ScalaCheck, Specs2, Specs, ScalaTest, JUnit)
|
||||
},
|
||||
loadedTestFrameworks <<= (testFrameworks, streams, testLoader) map { (frameworks, s, loader) =>
|
||||
frameworks.flatMap(f => f.create(loader, s.log).map( x => (f,x)).toIterable).toMap
|
||||
|
|
|
|||
|
|
@ -21,10 +21,6 @@ object TestFrameworks
|
|||
val Specs = new TestFramework("org.specs.runner.SpecsFramework")
|
||||
val Specs2 = new TestFramework("org.specs2.runner.SpecsFramework")
|
||||
val JUnit = new TestFramework("com.novocode.junit.JUnitFramework")
|
||||
// These are compatibility frameworks included in the 'test-compat' library
|
||||
val ScalaCheckCompat = new TestFramework("sbt.impl.ScalaCheckFramework")
|
||||
val ScalaTestCompat = new TestFramework("sbt.impl.ScalaTestFramework")
|
||||
val SpecsCompat = new TestFramework("sbt.impl.SpecsFramework")
|
||||
}
|
||||
|
||||
class TestFramework(val implClassName: String)
|
||||
|
|
|
|||
Loading…
Reference in New Issue