Converts a Distributor
to a function type that prior to the ScalaTest 1.
Converts a Distributor
to a function type that prior to the ScalaTest 1.5 release the
Distributor
extended.
Prior to ScalaTest 1.5, Distributor
extended function type (Suite, Tracker) => Unit
.
This inheritance relationship was severed in 1.5 to make it possible to implement Distributor
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. Distributor
itself does not declare
any concrete methods, but (Suite, Tracker) => Unit
does.
This implicit conversion was added in ScalaTest 1.5 to avoid breaking any source code that was actually using
Distributor
as an (Suite, Tracker) => 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 Distributor.convertDistributorToFunction for information
Companion object to Distributor that holds a deprecated implicit conversion.