org.scalatest.events

Event

class Event extends Ordered[Event]

A base class for the events that can be passed to the report function passed to the execute method of a Suite.

Will have a sealed abstract InfoProvided message with three final concrete subclasses, RunInfoProvided, SuiteInfoProvided, TestInfoProvided. Anything that starts with Run just has runStamp and ordinal; Suite has those plus suiteStamp; Test has those plus testStamp.

attributes: sealed abstract
known subclasses: TestSucceeded, TestStarting, TestPending, TestIgnored, TestFailed, SuiteStarting, SuiteCompleted, SuiteAborted, RunStopped, RunStarting, RunCompleted, RunAborted, InfoProvided
    authors:
  1. Bill Venners

Inherited
  1. Hide All
  2. Show all
  1. Ordered
  2. Comparable
  3. AnyRef
  4. Any
Visibility
  1. Public
  2. All

Instance constructors

  1. new Event()

Value Members

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

  2. def !=(arg0: Any): Boolean

    o != arg0 is the same as !(o == (arg0)).

  3. def ##(): Int

  4. def $asInstanceOf[T0](): T0

  5. def $isInstanceOf[T0](): Boolean

  6. def <(that: Event): Boolean

  7. def <=(that: Event): Boolean

  8. def ==(arg0: AnyRef): Boolean

    o == arg0 is the same as if (o eq null) arg0 eq null else o.equals(arg0).

  9. def ==(arg0: Any): Boolean

    o == arg0 is the same as o.equals(arg0).

  10. def >(that: Event): Boolean

  11. def >=(that: Event): Boolean

  12. def asInstanceOf[T0]: T0

    This method is used to cast the receiver object to be of type T0.

  13. def clone(): AnyRef

    This method creates and returns a copy of the receiver object.

  14. def compare(that: Event): Int

    Comparing this event with the event passed as that.

  15. def compareTo(that: Event): Int

  16. def eq(arg0: AnyRef): Boolean

    This method is used to test whether the argument (arg0) is a reference to the receiver object (this).

  17. def equals(arg0: Any): Boolean

    This method is used to compare the receiver object (this) with the argument object (arg0) for equivalence.

  18. def finalize(): Unit

    This method is called by the garbage collector on the receiver object when garbage collection determines that there are no more references to the object.

  19. val formatter: Option[Formatter]

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

  20. def getClass(): java.lang.Class[_ <: java.lang.Object]

    Returns a representation that corresponds to the dynamic class of the receiver object.

  21. def hashCode(): Int

    Returns a hash code value for the object.

  22. def isInstanceOf[T0]: Boolean

    This method is used to test whether the dynamic type of the receiver object is T0.

  23. def ne(arg0: AnyRef): Boolean

    o.ne(arg0) is the same as !(o.eq(arg0)).

  24. def notify(): Unit

    Wakes up a single thread that is waiting on the receiver object's monitor.

  25. def notifyAll(): Unit

    Wakes up all threads that are waiting on the receiver object's monitor.

  26. val ordinal: Ordinal

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

  27. val payload: Option[Any]

    An optional object that can be used to pass custom information to the reporter about this event.

  28. def synchronized[T0](arg0: T0): T0

  29. val threadName: String

    A name for the Thread about whose activity this event was reported.

  30. val timeStamp: Long

    A Long indicating the time this event was reported, expressed in terms of the number of milliseconds since the standard base time known as "the epoch": January 1, 1970, 00:00:00 GMT.

  31. def toString(): String

    Returns a string representation of the object.

  32. def wait(): Unit

  33. def wait(arg0: Long, arg1: Int): Unit

  34. def wait(arg0: Long): Unit