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
a NameInfo
that provides names for the suite and optionally the test
in the context of which the scope was opened
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 location that provides information indicating where in the source code an event originated.
an optional object that can be used to pass custom information to the reporter about the ScopeOpened
event
a name for the Thread
about whose activity this event was reported
a Long
indicating the time this event was reported, expressed in terms of the
number of milliseconds since the standard base time known as "the epoch": January 1, 1970, 00:00:00 GMT
Comparing this
event with the event passed as that
.
Comparing this
event with the event passed as that
. Returns
x, where x < 0 iff this < that, x == 0 iff this == that, x > 0 iff this > that.
the event to compare to this event
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 formatter that provides extra information that can be used by reporters in determining how to present this event to the user
An optional location that provides information indicating where in the source code an event originated.
An optional location that provides information indicating where in the source code an event originated.
a localized message suitable for presenting to the user
a NameInfo
that provides names for the suite and optionally the test
in the context of which the scope was opened
an Ordinal
that can be used to place this event in order in the context of
other events reported during the same run
an Ordinal
that can be used to place this event in order in the context of
other events reported during the same run
an optional object that can be used to pass custom information to the reporter about the ScopeOpened
event
an optional object that can be used to pass custom information to the reporter about the ScopeOpened
event
a name for the Thread
about whose activity this event was reported
a name for the Thread
about whose activity this event was reported
a Long
indicating the time this event was reported, expressed in terms of the
number of milliseconds since the standard base time known as "the epoch": January 1, 1970, 00:00:00 GMT
a Long
indicating the time this event was reported, expressed in terms of the
number of milliseconds since the standard base time known as "the epoch": January 1, 1970, 00:00:00 GMT
use productIterator instead
Event that indicates a new scope has been opened.
To create instances of this class you may use the factory method provided in its companion object. For example, given a report function named
report
, you could fire aScopeOpened
event like this:A
ScopeOpened
event may be fired from within suites or tests. If fired in the context of a test, theScopeOpened
event should include aNameInfo
in whichtestName
is defined. If fired in the context of a suite, but not a test, theScopeOpened
event should include aNameInfo
in whichtestName
is not defined.an
Ordinal
that can be used to place this event in order in the context of other events reported during the same runa localized message suitable for presenting to the user
a
NameInfo
that provides names for the suite and optionally the test in the context of which the scope was openedan optional formatter that provides extra information that can be used by reporters in determining how to present this event to the user
An optional location that provides information indicating where in the source code an event originated.
an optional object that can be used to pass custom information to the reporter about the
ScopeOpened
eventa name for the
Thread
about whose activity this event was reporteda
Long
indicating the time this event was reported, expressed in terms of the number of milliseconds since the standard base time known as "the epoch": January 1, 1970, 00:00:00 GMT