c

org.scalatest.events

DiscoveryCompleted

final case class DiscoveryCompleted(ordinal: Ordinal, duration: Option[Long] = None, threadName: String = Thread.currentThread.getName, timeStamp: Long = new Date).getTime) extends Event with Product with Serializable

Event that indicates a runner has completed searching for suites.

ordinal

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

duration

an optional amount of time, in milliseconds, that was required by the run that has completed

threadName

a name for the Thread about whose activity this event was reported

timeStamp

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

Source
Event.scala
Linear Supertypes
Event, Serializable, Serializable, Product, Equals, Ordered[Event], Comparable[Event], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DiscoveryCompleted
  2. Event
  3. Serializable
  4. Serializable
  5. Product
  6. Equals
  7. Ordered
  8. Comparable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DiscoveryCompleted(ordinal: Ordinal, duration: Option[Long] = None, threadName: String = Thread.currentThread.getName, timeStamp: Long = new Date).getTime)

    ordinal

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

    duration

    an optional amount of time, in milliseconds, that was required by the run that has completed

    threadName

    a name for the Thread about whose activity this event was reported

    timeStamp

    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

Value Members

  1. def <(that: Event): Boolean
    Definition Classes
    Ordered
  2. def <=(that: Event): Boolean
    Definition Classes
    Ordered
  3. def >(that: Event): Boolean
    Definition Classes
    Ordered
  4. def >=(that: Event): Boolean
    Definition Classes
    Ordered
  5. def compare(that: Event): Int

    Comparing this event with the event passed as 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.

    that

    the event to compare to this event

    Definition Classes
    Event → Ordered
  6. def compareTo(that: Event): Int
    Definition Classes
    Ordered → Comparable
  7. val duration: Option[Long]
  8. val formatter: Option[Formatter]

    Formatter in a DiscoveryCompleted is always set to None.

    Formatter in a DiscoveryCompleted is always set to None.

    Definition Classes
    DiscoveryCompletedEvent
  9. val location: Option[Location]

    Location in a DiscoveryCompleted is always set to None.

    Location in a DiscoveryCompleted is always set to None.

    Definition Classes
    DiscoveryCompletedEvent
  10. val ordinal: Ordinal
    Definition Classes
    DiscoveryCompletedEvent
  11. val payload: Option[Any]

    Payload in a DiscoveryCompleted is always set to None.

    Payload in a DiscoveryCompleted is always set to None.

    Definition Classes
    DiscoveryCompletedEvent
  12. val threadName: String
    Definition Classes
    DiscoveryCompletedEvent
  13. val timeStamp: Long
    Definition Classes
    DiscoveryCompletedEvent