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
an optional NameInfo that if defined, provides names for the suite and optionally the test
in the context of which the information was provided
an optional Throwable
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 NoteProvided 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
an optional NameInfo that if defined, provides names for the suite and optionally the test
in the context of which the information was provided
an optional NameInfo that if defined, provides names for the suite and optionally the test
in the context of which the information was provided
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 NoteProvided event
an optional object that can be used to pass custom information to the reporter about the NoteProvided 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
an optional Throwable
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
Event used to provide notifications.
To create instances of this class you may use the factory method. For example, given a report function named
report, you could fire aNoteProvidedevent like this:NoteProvideddiffers fromInfoProvidedin that unlikeInfoProvided,NoteProvidedisn't aRecordableEvent. If fired because of anotecall from a test, for example, theNoteProvidedwill immediately be sent to the reporters rather than being stored and sent in therecordedEventsfield of the test completion event. Thus,NoteProvidedenables "status notifications" to be provided while tests are happening. The difference betweenNoteProvidedandAlertProvided, which is also a "status notification" fired immediately during tests, is thatAlertProvidedis intended for warnings, where asNoteProvidedis just for information. As an illustration,AlertProvidedmessages are displayed in yellow,NoteProvidedin green, in the stdout, stderr, and file reporters.An
NoteProvidedevent may be fired from anywhere. In this respectNoteProvidedis different from events for which it is defined whether they are fired in the context of a suite or test. If fired in the context of a test, theNoteProvidedevent should include aNameInfoin whichtestNameis defined. If fired in the context of a suite, but not a test, theNoteProvidedevent should include aNameInfoin whichtestNameis not defined. If fired within the context of neither a suite nor a test, thenameInfoof theNoteProvidedevent (anOption[NameInfo]) should beNone.an
Ordinalthat 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
an optional
NameInfothat if defined, provides names for the suite and optionally the test in the context of which the information was providedan optional
Throwablean optional
Formatterthat provides extra information that can be used by reporters in determining how to present this event to the userAn optional
Locationthat 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
NoteProvidedeventa name for the
Threadabout whose activity this event was reporteda
Longindicating 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