org.scalatest.events

DeprecatedInfoProvided

object DeprecatedInfoProvided extends AnyRef

Deprecated singleton object for the InfoProvided event, which contains overloaded factory methods and an extractor method to facilitate pattern matching on InfoProvided objects. This object contains methods that were in the InfoProvided companion object prior to ScalaTest 2.0. If you get a compiler error when upgrading to 2.0 for one of the methods formerly in the companion object, a quick way to fix it is to put Deprecated in front of your call. Eventually you will need to fix it properly, as this singleton object is deprecated and will be removed in a future version of ScalaTest, but this will work as a quick fix to get you compiling again.

All factory methods throw NullPointerException if any of the passed values are null.

Annotations
@deprecated
Deprecated

Use InfoProvided with named and/or default parameters instead.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. DeprecatedInfoProvided
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. def apply (ordinal: Ordinal, message: String, nameInfo: Option[NameInfo]): InfoProvided

    Constructs a new InfoProvided event with the passed parameters, passing None for the throwable, None for formatter, None as the payload, the current threads name as threadname, and the current time as timeStamp.

    Constructs a new InfoProvided event with the passed parameters, passing None for the throwable, None for formatter, None as the payload, the current threads name as threadname, and the current time as timeStamp.

    ordinal

    an Ordinal that can be used to place this event in order in the context of other events reported during the same run

    message

    a localized message suitable for presenting to the user

    nameInfo

    an optional NameInfo that if defined, provides names for the suite and optionally the test in the context of which the information was provided

    returns

    a new InfoProvided instance initialized with the passed and default values

  7. def apply (ordinal: Ordinal, message: String, nameInfo: Option[NameInfo], throwable: Option[Throwable]): InfoProvided

    Constructs a new InfoProvided event with the passed parameters, passing None for formatter, None as the payload, the current threads name as threadname, and the current time as timeStamp.

    Constructs a new InfoProvided event with the passed parameters, passing None for formatter, None as the payload, the current threads name as threadname, and the current time as timeStamp.

    ordinal

    an Ordinal that can be used to place this event in order in the context of other events reported during the same run

    message

    a localized message suitable for presenting to the user

    nameInfo

    an optional NameInfo that if defined, provides names for the suite and optionally the test in the context of which the information was provided

    throwable

    an optional Throwable

    returns

    a new InfoProvided instance initialized with the passed and default values

  8. def apply (ordinal: Ordinal, message: String, nameInfo: Option[NameInfo], throwable: Option[Throwable], formatter: Option[Formatter]): InfoProvided

    Constructs a new InfoProvided event with the passed parameters, passing None as the payload, the current threads name as threadname, and the current time as timeStamp.

    Constructs a new InfoProvided event with the passed parameters, passing None as the payload, the current threads name as threadname, and the current time as timeStamp.

    ordinal

    an Ordinal that can be used to place this event in order in the context of other events reported during the same run

    message

    a localized message suitable for presenting to the user

    nameInfo

    an optional NameInfo that if defined, provides names for the suite and optionally the test in the context of which the information was provided

    throwable

    an optional Throwable

    formatter

    an optional formatter that provides extra information that can be used by reporters in determining how to present this event to the user

    returns

    a new InfoProvided instance initialized with the passed and default values

  9. def apply (ordinal: Ordinal, message: String, nameInfo: Option[NameInfo], aboutAPendingTest: Option[Boolean], throwable: Option[Throwable], formatter: Option[Formatter], payload: Option[Any]): InfoProvided

    Constructs a new InfoProvided event with the passed parameters, passing the current thread's name as threadname and the current time as timeStamp.

    Constructs a new InfoProvided event with the passed parameters, passing the current thread's name as threadname and the current time as timeStamp.

    ordinal

    an Ordinal that can be used to place this event in order in the context of other events reported during the same run

    message

    a localized message suitable for presenting to the user

    nameInfo

    an optional NameInfo that if defined, provides names for the suite and optionally the test in the context of which the information was provided

    aboutAPendingTest

    indicates whether the information being provided via this event is about a pending test

    throwable

    an optional Throwable

    formatter

    an optional formatter that provides extra information that can be used by reporters in determining how to present this event to the user

    payload

    an optional object that can be used to pass custom information to the reporter about the InfoProvided event

    returns

    a new InfoProvided instance initialized with the passed and default values

  10. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  11. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  12. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  13. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  14. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  15. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef
  16. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  17. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  18. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  19. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  20. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  21. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  22. def toString (): String

    Definition Classes
    AnyRef → Any
  23. def wait (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  24. def wait (arg0: Long, arg1: Int): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  25. def wait (arg0: Long): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any