Class that tracks the progress of a series of Ordinals produced by invoking next and nextNewOldPair on the current Ordinal.
Instances of this class are thread safe. Multiple threads can invoke nextOrdinal and nextTracker concurrently. This facilitates multi-threaded tests that send infoProvided reports concurrently. When using a Dispatcher to execute suites in parallel, the intention is that each Tracker will only be used by one thread. For example, if the optional Dispatcher passed to Suite's implementation of <a href="Suite.html#lifecycle-methods"runNestedSuites is defined, that method will obtain a new Tracker by invoking nextTracker for each nested suite it passes to the Dispatcher.
Value parameters
- firstOrdinal
-
the first
Ordinalin the series ofOrdinals tracked by thisTracker, which will be used to initialize thisTracker's currentOrdinal.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any