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