Constructs a new TestSucceeded
event with the passed parameters, passing None
for duration
,
None
for formatter
, None
as the rerunner
, None
as the payload
,
the current threads name as threadname
, and the current time as timeStamp
.
Constructs a new TestSucceeded
event with the passed parameters, passing None
for duration
,
None
for formatter
, None
as the rerunner
, None
as the payload
,
the current threads name as threadname
, and the current time as timeStamp
.
an Ordinal
that can be used to place this event in order in the context of
other events reported during the same run
the name of the suite containing the test that has succeeded
an optional fully qualifed Suite
class name containing the test that has succeeded
the name of the test that has succeeded
a new TestSucceeded
instance initialized with the passed and default values
Constructs a new TestSucceeded
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
.
Constructs a new TestSucceeded
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
.
an Ordinal
that can be used to place this event in order in the context of
other events reported during the same run
the name of the suite containing the test that has succeeded
an optional fully qualifed Suite
class name containing the test that has succeeded
the name of the test that has succeeded
an optional amount of time, in milliseconds, that was required to run the test that has succeeded
a new TestSucceeded
instance initialized with the passed and default values
Constructs a new TestSucceeded
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
.
Constructs a new TestSucceeded
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
.
an Ordinal
that can be used to place this event in order in the context of
other events reported during the same run
the name of the suite containing the test that has succeeded
an optional fully qualifed Suite
class name containing the test that has succeeded
the name of the test that has succeeded
an optional amount of time, in milliseconds, that was required to run the test that has succeeded
an optional formatter that provides extra information that can be used by reporters in determining how to present this event to the user
a new TestSucceeded
instance initialized with the passed and default values
Constructs a new TestSucceeded
event with the passed parameters, passing None
as the
payload
, the current threads name as threadname
, and the current time as timeStamp
.
Constructs a new TestSucceeded
event with the passed parameters, passing None
as the
payload
, the current threads name as threadname
, and the current time as timeStamp
.
an Ordinal
that can be used to place this event in order in the context of
other events reported during the same run
the name of the suite containing the test that has succeeded
an optional fully qualifed Suite
class name containing the test that has succeeded
the name of the test that has succeeded
an optional amount of time, in milliseconds, that was required to run the test that has succeeded
an optional formatter that provides extra information that can be used by reporters in determining how to present this event to the user
an optional Rerunner
that can be used to rerun the test that has succeeded (if None
is passed, the test cannot be rerun)
a new TestSucceeded
instance initialized with the passed and default values
Constructs a new TestSucceeded
event with the passed parameters, passing the current thread's
name as threadname
and the current time as timeStamp
.
Constructs a new TestSucceeded
event with the passed parameters, passing the current thread's
name as threadname
and the current time as timeStamp
.
an Ordinal
that can be used to place this event in order in the context of
other events reported during the same run
the name of the suite containing the test that has succeeded
an optional fully qualifed Suite
class name containing the test that has succeeded
the name of the test that has succeeded
an optional amount of time, in milliseconds, that was required to run the test that has succeeded
an optional formatter that provides extra information that can be used by reporters in determining how to present this event to the user
an optional Rerunner
that can be used to rerun the test that has succeeded (if None
is passed, the test cannot be rerun)
an optional object that can be used to pass custom information to the reporter about the TestSucceeded
event
a new TestSucceeded
instance initialized with the passed and default values
Deprecated singleton object for the
TestSucceeded
event, which contains overloaded factory methods and an extractor method to facilitate pattern matching onTestSucceeded
objects. This object contains methods that were in theTestSucceeded
companion object prior to ScalaTest 2.0. If you get a compiler error when upgrading to 2.0 for one of the methods formerly in the companion object, a quick way to fix it is to putDeprecated
in front of your call. Eventually you will need to fix it properly, as this singleton object is deprecated and will be removed in a future version of ScalaTest, but this will work as a quick fix to get you compiling again.All factory methods throw
NullPointerException
if any of the passed values arenull
.Use TestSucceeded with named and/or default parameters instead.