org.scalatest.events

InfoProvided

object InfoProvided extends Serializable

Companion object for the InfoProvided event, which contains overloaded factory methods and an extractor method to facilitate pattern matching on InfoProvided objects.

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

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

Value Members

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

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

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

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

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

    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

    Exceptions thrown
    NullPointerException

    if any of the passed values are null

  7. def apply(ordinal: Ordinal, message: String, nameInfo: Option[NameInfo], aboutAPendingTest: Option[Boolean]): 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

    aboutAPendingTest

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

    returns

    a new InfoProvided instance initialized with the passed and default values

  8. def apply(ordinal: Ordinal, message: String, nameInfo: Option[NameInfo], aboutAPendingTest: Option[Boolean], 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

    aboutAPendingTest

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

    throwable

    an optional Throwable

    returns

    a new InfoProvided instance initialized with the passed and default values

    Exceptions thrown
    NullPointerException

    if any of the passed values are null

  9. def apply(ordinal: Ordinal, message: String, nameInfo: Option[NameInfo], aboutAPendingTest: Option[Boolean], 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

    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

    returns

    a new InfoProvided instance initialized with the passed and default values

    Exceptions thrown
    NullPointerException

    if any of the passed values are null

  10. 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

    Exceptions thrown
    NullPointerException

    if any of the passed values are null

  11. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  12. def clone(): AnyRef

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

    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

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

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

    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

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

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

    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

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

    Definition Classes
    AnyRef
  23. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped