Converts a Rerunner
to a function type that prior to the ScalaTest 1.
Converts a Rerunner
to a function type that prior to the ScalaTest 1.5 release the
Rerunner
extended.
Prior to ScalaTest 1.5, Rerunner
extended function type (Reporter, Stopper, Filter, Map[String, Any], Option[Distributor], Tracker, ClassLoader) => Unit
.
This inheritance relationship was severed in 1.5 to make it possible to implement Rerunner
s in Java, a request by an IDE
vendor to isolate their ScalaTest integration from binary incompatibility between different Scala/ScalaTest releases.
To make a trait easily implementable in Java, it needs to have no concrete methods. Rerunner
itself does not declare
any concrete methods, but (Reporter, Stopper, Filter, Map[String, Any], Option[Distributor], Tracker, ClassLoader) => Unit
does.
This implicit conversion was added in ScalaTest 1.5 to avoid breaking any source code that was actually using
Rerunner
as an (Reporter, Stopper, Filter, Map[String, Any], Option[Distributor], Tracker, ClassLoader) => Unit
function. It is unlikely anyone was actually doing that, but if you were
and now get the deprecation warning, please email scalatest-users@googlegroups.com if you believe this implicit conversion should
be retained. If no one steps forward with a compelling justification, it will be removed in a future version of ScalaTest.
See the documentation for Rerunner.convertRerunnerToFunction for information
Companion object to Rerunner that holds a deprecated implicit conversion.