|
ScalaTest 1.0
|
|
org/scalatest/events/InfoProvided.scala]
object
InfoProvided
extends AnyRefInfoProvided event, which contains overloaded factory methods
and an extractor method to facilitate pattern matching on InfoProvided objects.
All factory methods throw NullPointerException if any of the passed values are null.
| Method Summary | |
def
|
apply
(ordinal : Ordinal, message : java.lang.String, nameInfo : scala.Option[NameInfo]) : InfoProvided
Constructs a new
InfoProvided event with the passed parameters, passing None for
the throwable, None for
formatter, None as the payload,
the current threads name as threadname, and the current time as timeStamp. |
def
|
apply
(ordinal : Ordinal, message : java.lang.String, nameInfo : scala.Option[NameInfo], aboutAPendingTest : scala.Option[Boolean], throwable : scala.Option[java.lang.Throwable]) : InfoProvided
Constructs a new
InfoProvided 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, message : java.lang.String, nameInfo : scala.Option[NameInfo], aboutAPendingTest : scala.Option[Boolean], throwable : scala.Option[java.lang.Throwable], formatter : scala.Option[Formatter], payload : scala.Option[Any]) : InfoProvided
Constructs a new
InfoProvided event with the passed parameters, passing the current thread's
name as threadname and the current time as timeStamp. |
def
|
apply
(ordinal : Ordinal, message : java.lang.String, nameInfo : scala.Option[NameInfo], aboutAPendingTest : scala.Option[Boolean]) : InfoProvided
Constructs a new
InfoProvided event with the passed parameters, passing None for
the throwable, None for
formatter, None as the payload,
the current threads name as threadname, and the current time as timeStamp. |
def
|
apply
(ordinal : Ordinal, message : java.lang.String, nameInfo : scala.Option[NameInfo], aboutAPendingTest : scala.Option[Boolean], throwable : scala.Option[java.lang.Throwable], formatter : scala.Option[Formatter]) : InfoProvided
Constructs a new
InfoProvided event with the passed parameters, passing 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, message : java.lang.String, nameInfo : scala.Option[NameInfo], aboutAPendingTest : scala.Option[Boolean], throwable : scala.Option[java.lang.Throwable], formatter : scala.Option[Formatter], payload : scala.Option[Any]) : InfoProvided
InfoProvided 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 runmessage - a localized message suitable for presenting to the usernameInfo - an optional NameInfo that if defined, provides names for the suite and optionally the test in the context of which the information was providedaboutAPendingTest - indicates whether the information being provided via this event is about a pending testthrowable - an optional Throwableformatter - 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 InfoProvided eventNullPointerException - if any of the passed values are nullInfoProvided instance initialized with the passed and default values
def
apply(ordinal : Ordinal, message : java.lang.String, nameInfo : scala.Option[NameInfo], aboutAPendingTest : scala.Option[Boolean], throwable : scala.Option[java.lang.Throwable], formatter : scala.Option[Formatter]) : InfoProvided
InfoProvided 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 runmessage - a localized message suitable for presenting to the usernameInfo - an optional NameInfo that if defined, provides names for the suite and optionally the test in the context of which the information was providedaboutAPendingTest - indicates whether the information being provided via this event is about a pending testthrowable - an optional Throwableformatter - 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 nullInfoProvided instance initialized with the passed and default values
def
apply(ordinal : Ordinal, message : java.lang.String, nameInfo : scala.Option[NameInfo], aboutAPendingTest : scala.Option[Boolean], throwable : scala.Option[java.lang.Throwable]) : InfoProvided
InfoProvided 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 runmessage - a localized message suitable for presenting to the usernameInfo - an optional NameInfo that if defined, provides names for the suite and optionally the test in the context of which the information was providedaboutAPendingTest - indicates whether the information being provided via this event is about a pending testthrowable - an optional ThrowableNullPointerException - if any of the passed values are nullInfoProvided instance initialized with the passed and default values
def
apply(ordinal : Ordinal, message : java.lang.String, nameInfo : scala.Option[NameInfo], aboutAPendingTest : scala.Option[Boolean]) : InfoProvided
InfoProvided event with the passed parameters, passing None for
the throwable, 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 runmessage - a localized message suitable for presenting to the usernameInfo - an optional NameInfo that if defined, provides names for the suite and optionally the test in the context of which the information was providedaboutAPendingTest - indicates whether the information being provided via this event is about a pending testthrowable - an optional Throwable * @throws NullPointerException if any of the passed values are nullInfoProvided instance initialized with the passed and default values
def
apply(ordinal : Ordinal, message : java.lang.String, nameInfo : scala.Option[NameInfo]) : InfoProvided
InfoProvided event with the passed parameters, passing None for
the throwable, 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 runmessage - a localized message suitable for presenting to the usernameInfo - an optional NameInfo that if defined, provides names for the suite and optionally the test in the context of which the information was providedthrowable - an optional ThrowableNullPointerException - if any of the passed values are nullInfoProvided instance initialized with the passed and default values|
ScalaTest 1.0
|
|