ExceptionalEvent

org.scalatest.events.ExceptionalEvent
sealed trait ExceptionalEvent extends Event

Marker trait for test failed and test canceled events.

Attributes

Graph
Supertypes
class Event
trait Serializable
trait Product
trait Equals
trait Ordered[Event]
trait Comparable[Event]
class Object
trait Matchable
class Any
Show all
Known subtypes

Members list

Value members

Inherited methods

def <(that: Event): Boolean

Attributes

Inherited from:
Ordered
def <=(that: Event): Boolean

Attributes

Inherited from:
Ordered
def >(that: Event): Boolean

Attributes

Inherited from:
Ordered
def >=(that: Event): Boolean

Attributes

Inherited from:
Ordered
def canEqual(that: Any): Boolean

Attributes

Inherited from:
Equals
def compare(that: Event): Int

Comparing this event with the event passed as that. Returns x, where x < 0 iff this < that, x == 0 iff this == that, x > 0 iff this > that.

Comparing this event with the event passed as that. Returns x, where x < 0 iff this < that, x == 0 iff this == that, x > 0 iff this > that.

Value parameters

return

an integer indicating whether this event is less than, equal to, or greater than the passed event

that

the event to compare to this event

Attributes

Inherited from:
Event
def compareTo(that: Event): Int

Attributes

Inherited from:
Ordered
def productArity: Int

Attributes

Inherited from:
Product
def productElement(n: Int): Any

Attributes

Inherited from:
Product
def productElementName(n: Int): String

Attributes

Inherited from:
Product
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def productPrefix: String

Attributes

Inherited from:
Product

Inherited fields

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.

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

Attributes

Inherited from:
Event
val location: Option[Location]

An optional Location that provides information indicating where in the source code an event originated. IDEs can use this information, for example, to allow the user to hop from an event report to the relevant line of source code.

An optional Location that provides information indicating where in the source code an event originated. IDEs can use this information, for example, to allow the user to hop from an event report to the relevant line of source code.

Attributes

Inherited from:
Event

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

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

Attributes

Inherited from:
Event
val payload: Option[Any]

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

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

Attributes

Inherited from:
Event
val threadName: String

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

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

Attributes

Inherited from:
Event
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.

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.

Attributes

Inherited from:
Event