org.scalatest.events

RunStarting

class RunStarting(ordinal: Ordinal, testCount: Int, configMap: Map[String, Any], formatter: Option[Formatter], payload: Option[Any], threadName: String, timeStamp: Long) extends Event with Product

Event that indicates a runner is about run a suite of tests.

For example, object Runner reports RunStarting to indicate that the first execute method of a run's initial Suiteis about to be invoked.

To create instances of this class you may use one of the factory methods provided in its companion object. For example, given a report function named report, you could fire a RunStarting event like this:

report(RunStarting(ordinal, testCount))

ordinal

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

testCount

the number of tests expected during this run

configMap

a Map of key-value pairs that can be used by custom Reporters

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 RunStarting event

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

attributes: final
go to: companion
    authors:
  1. Bill Venners

Inherited
  1. Hide All
  2. Show all
  1. Product
  2. Equals
  3. Event
  4. Ordered
  5. Comparable
  6. AnyRef
  7. Any
Visibility
  1. Public
  2. All

Instance constructors

  1. new RunStarting(ordinal: Ordinal, testCount: Int, configMap: Map[String, Any], formatter: Option[Formatter], payload: Option[Any], threadName: String, timeStamp: Long)

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 canEqual(arg0: Any): Boolean

  14. def clone(): AnyRef

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

  15. def compare(that: Event): Int

    Comparing this event with the event passed as that.

  16. def compareTo(that: Event): Int

  17. val configMap: Map[String, Any]

  18. def eq(arg0: AnyRef): Boolean

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

  19. def equals(arg0: Any): Boolean

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

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

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

  22. def getClass(): java.lang.Class[_]

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

  23. def hashCode(): Int

    Returns a hash code value for the object.

  24. def isInstanceOf[T0]: Boolean

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

  25. def ne(arg0: AnyRef): Boolean

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

  26. def notify(): Unit

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

  27. def notifyAll(): Unit

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

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

  29. val payload: Option[Any]

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

  30. def productArity: Int

  31. def productElement(arg0: Int): Any

  32. def productElements: Iterator[Any]

  33. def productIterator: Iterator[Any]

  34. def productPrefix: String

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

  36. val testCount: Int

  37. val threadName: String

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

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

  39. def toString(): String

    Returns a string representation of the object.

  40. def wait(): Unit

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

  42. def wait(arg0: Long): Unit