|
ScalaTest 1.0
|
|
org/scalatest/events/TestStarting.scala]
object
TestStarting
extends AnyRefTestStarting event, which contains overloaded factory methods
and an extractor method to facilitate pattern matching on TestStarting objects.
All factory methods throw NullPointerException if any of the passed values are null.
| Method Summary | |
def
|
apply
(ordinal : Ordinal, suiteName : java.lang.String, suiteClassName : scala.Option[java.lang.String], testName : java.lang.String) : TestStarting
Constructs a new
TestStarting event with the passed parameters, passing None for
formatter, None as the rerunner, None as the payload,
the current threads name as threadname, and the current time as timeStamp. |
def
|
apply
(ordinal : Ordinal, suiteName : java.lang.String, suiteClassName : scala.Option[java.lang.String], testName : java.lang.String, formatter : scala.Option[Formatter], rerunner : scala.Option[Rerunner], payload : scala.Option[Any]) : TestStarting
Constructs a new
TestStarting event with the passed parameters, passing the current thread's
name as threadname and the current time as timeStamp. |
def
|
apply
(ordinal : Ordinal, suiteName : java.lang.String, suiteClassName : scala.Option[java.lang.String], testName : java.lang.String, formatter : scala.Option[Formatter], rerunner : scala.Option[Rerunner]) : TestStarting
Constructs a new
TestStarting 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, suiteName : java.lang.String, suiteClassName : scala.Option[java.lang.String], testName : java.lang.String, formatter : scala.Option[Formatter]) : TestStarting
Constructs a new
TestStarting event with the passed parameters, passing None as the
rerunner, 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, suiteName : java.lang.String, suiteClassName : scala.Option[java.lang.String], testName : java.lang.String, formatter : scala.Option[Formatter], rerunner : scala.Option[Rerunner], payload : scala.Option[Any]) : TestStarting
TestStarting 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 runsuiteName - the name of the suite containing the test that is startingsuiteClassName - an optional fully qualifed Suite class name containing the test that is startingtestName - the name of the test that is startingformatter - an optional formatter that provides extra information that can be used by reporters in determining how to present this event to the userrerunner - an optional Rerunner that can be used to rerun the test that is starting (if None is passed, the test cannot be rerun)payload - an optional object that can be used to pass custom information to the reporter about the TestStarting eventNullPointerException - if any of the passed values are nullTestStarting instance initialized with the passed and default values
def
apply(ordinal : Ordinal, suiteName : java.lang.String, suiteClassName : scala.Option[java.lang.String], testName : java.lang.String, formatter : scala.Option[Formatter], rerunner : scala.Option[Rerunner]) : TestStarting
TestStarting 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 runsuiteName - the name of the suite containing the test that is startingsuiteClassName - an optional fully qualifed Suite class name containing the test that is startingtestName - the name of the test that is startingformatter - an optional formatter that provides extra information that can be used by reporters in determining how to present this event to the userrerunner - an optional Rerunner that can be used to rerun the test that is starting (if None is passed, the test cannot be rerun)NullPointerException - if any of the passed values are nullTestStarting instance initialized with the passed and default values
def
apply(ordinal : Ordinal, suiteName : java.lang.String, suiteClassName : scala.Option[java.lang.String], testName : java.lang.String, formatter : scala.Option[Formatter]) : TestStarting
TestStarting event with the passed parameters, passing None as the
rerunner, 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 runsuiteName - the name of the suite containing the test that is startingsuiteClassName - an optional fully qualifed Suite class name containing the test that is startingtestName - the name of the test that is startingformatter - 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 nullTestStarting instance initialized with the passed and default values
def
apply(ordinal : Ordinal, suiteName : java.lang.String, suiteClassName : scala.Option[java.lang.String], testName : java.lang.String) : TestStarting
TestStarting event with the passed parameters, passing None for
formatter, None as the rerunner, 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 runsuiteName - the name of the suite containing the test that is startingsuiteClassName - an optional fully qualifed Suite class name containing the test that is startingtestName - the name of the test that is startingNullPointerException - if any of the passed values are nullTestStarting instance initialized with the passed and default values|
ScalaTest 1.0
|
|