ScalaTest 1.0
|
|
org/scalatest/events/RunCompleted.scala
]
object
RunCompleted
extends
AnyRefRunCompleted
event, which contains overloaded factory methods
and an extractor method to facilitate pattern matching on RunCompleted
objects.
All factory methods throw NullPointerException
if any of the passed values are null
.
Method Summary | |
def
|
apply
(ordinal : Ordinal, duration : scala.Option[Long], summary : scala.Option[Summary]) : RunCompleted
Constructs a new
RunCompleted 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 . |
def
|
apply
(ordinal : Ordinal, duration : scala.Option[Long], summary : scala.Option[Summary], formatter : scala.Option[Formatter], payload : scala.Option[Any]) : RunCompleted
Constructs a new
RunCompleted event with the passed parameters, passing the current thread's
name as threadname and the current time as timeStamp . |
def
|
apply
(ordinal : Ordinal) : RunCompleted
Constructs a new
RunCompleted event with the passed parameters, passing None for duration ,
None for summary , None for formatter , None as the payload ,
the current threads name as threadname , and the current time as timeStamp . |
def
|
apply
(ordinal : Ordinal, duration : scala.Option[Long], summary : scala.Option[Summary], formatter : scala.Option[Formatter]) : RunCompleted
Constructs a new
RunCompleted event with the passed parameters, passing None as the
payload , the current threads name as threadname ,
and the current time as timeStamp . |
def
|
apply
(ordinal : Ordinal, duration : scala.Option[Long]) : RunCompleted
Constructs a new
RunCompleted event with the passed parameters, passing None for summary ,
None for formatter , None as the payload ,
the current threads name as threadname , and the current time as timeStamp . |
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Method Details |
def
apply(ordinal : Ordinal, duration : scala.Option[Long], summary : scala.Option[Summary], formatter : scala.Option[Formatter], payload : scala.Option[Any]) : RunCompleted
RunCompleted
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 runduration -
an optional amount of time, in milliseconds, that was required by the run that has completedsummary -
an optional summary of the number of tests that were reported as succeeded, failed, ignored, and pendingformatter -
an optional formatter that provides extra information that can be used by reporters in determining how to present this event to the userpayload -
an optional object that can be used to pass custom information to the reporter about the RunCompleted
eventNullPointerException -
if any of the passed values are null
RunCompleted
instance initialized with the passed and default values
def
apply(ordinal : Ordinal, duration : scala.Option[Long], summary : scala.Option[Summary], formatter : scala.Option[Formatter]) : RunCompleted
RunCompleted
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 runduration -
an optional amount of time, in milliseconds, that was required by the run that has completedsummary -
an optional summary of the number of tests that were reported as succeeded, failed, ignored, and pendingformatter -
an optional formatter that provides extra information that can be used by reporters in determining how to present this event to the userNullPointerException -
if any of the passed values are null
RunCompleted
instance initialized with the passed and default values
def
apply(ordinal : Ordinal, duration : scala.Option[Long], summary : scala.Option[Summary]) : RunCompleted
RunCompleted
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 runduration -
an optional amount of time, in milliseconds, that was required by the run that has completedsummary -
an optional summary of the number of tests that were reported as succeeded, failed, ignored, and pendingNullPointerException -
if any of the passed values are null
RunCompleted
instance initialized with the passed and default values
def
apply(ordinal : Ordinal, duration : scala.Option[Long]) : RunCompleted
RunCompleted
event with the passed parameters, passing None
for summary
,
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 runduration -
an optional amount of time, in milliseconds, that was required by the run that has completedNullPointerException -
if any of the passed values are null
RunCompleted
instance initialized with the passed and default values
def
apply(ordinal : Ordinal) : RunCompleted
RunCompleted
event with the passed parameters, passing None
for duration
,
None
for summary
, 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 runNullPointerException -
if any of the passed values are null
RunCompleted
instance initialized with the passed and default values
ScalaTest 1.0
|
|