org.scalatest

Reporter

object Reporter

Companion object to Reporter that holds a deprecated implicit conversion.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Reporter
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Deprecated Value Members

  1. implicit def convertReporterToFunction(repo: Reporter): (Event) ⇒ Unit

    Converts a Reporter to a function type that prior to the ScalaTest 1.

    Converts a Reporter to a function type that prior to the ScalaTest 1.5 release the Reporter extended.

    Prior to ScalaTest 1.5, Reporter extended function type (Event) => Unit. This inheritance relationship was severed in 1.5 to make it possible to implement Reporters 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. Reporter itself does not declare any concrete methods, but Function1 does.

    This implicit conversion was added in ScalaTest 1.5 to avoid breaking any source code that was actually using Reporter as an (Event) => 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.

    Annotations
    @deprecated
    Deprecated

    See the documentation for Reporter.convertReporterToFunction for information