Constructs a new TestFailed
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 TestFailed
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
a localized message suitable for presenting to the user
the name of the suite containing the test that has failed
an optional fully qualifed Suite
class name containing the test that has failed
the name of the test that has failed
an optional Throwable
that, if a Some
, indicates why the test has failed,
or a Throwable
created to capture stack trace information about the problem.
a new TestFailed
instance initialized with the passed and default values
if any of the passed values are null
Constructs a new TestFailed
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 TestFailed
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
a localized message suitable for presenting to the user
the name of the suite containing the test that has failed
an optional fully qualifed Suite
class name containing the test that has failed
the name of the test that has failed
an optional Throwable
that, if a Some
, indicates why the test has failed,
or a Throwable
created to capture stack trace information about the problem.
an optional amount of time, in milliseconds, that was required to run the test that has failed
a new TestFailed
instance initialized with the passed and default values
if any of the passed values are null
Constructs a new TestFailed
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 TestFailed
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
a localized message suitable for presenting to the user
the name of the suite containing the test that has failed
an optional fully qualifed Suite
class name containing the test that has failed
the name of the test that has failed
an optional Throwable
that, if a Some
, indicates why the test has failed,
or a Throwable
created to capture stack trace information about the problem.
an optional amount of time, in milliseconds, that was required to run the test that has failed
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 TestFailed
instance initialized with the passed and default values
if any of the passed values are null
Constructs a new TestFailed
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 TestFailed
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
a localized message suitable for presenting to the user
the name of the suite containing the test that has failed
an optional fully qualifed Suite
class name containing the test that has failed
the name of the test that has failed
an optional Throwable
that, if a Some
, indicates why the test has failed,
or a Throwable
created to capture stack trace information about the problem.
an optional amount of time, in milliseconds, that was required to run the test that has failed
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 failed (if None
is passed, the test cannot be rerun)
a new TestFailed
instance initialized with the passed and default values
if any of the passed values are null
Constructs a new TestFailed
event with the passed parameters, passing the current thread's
name as threadname
and the current time as timeStamp
.
Constructs a new TestFailed
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
a localized message suitable for presenting to the user
the name of the suite containing the test that has failed
an optional fully qualifed Suite
class name containing the test that has failed
the name of the test that has failed
an optional Throwable
that, if a Some
, indicates why the test has failed,
or a Throwable
created to capture stack trace information about the problem.
an optional amount of time, in milliseconds, that was required to run the test that has failed
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 failed (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 TestFailed
event
a new TestFailed
instance initialized with the passed and default values
if any of the passed values are null
Companion object for the
TestFailed
event, which contains overloaded factory methods and an extractor method to facilitate pattern matching onTestFailed
objects.All factory methods throw
NullPointerException
if any of the passed values arenull
.