trait Distributor extends AnyRef
Trait whose instances facilitate parallel execution of Suites.
An optional Distributor is passed to the run method of Suite. If a
Distributor is indeed passed, trait Suite's implementation of run will
populate that Distributor with its nested Suites (by passing them to the Distributor's
apply method) rather than executing the nested Suites directly. It is then up to another thread or process
to execute those Suites.
If you have a set of nested Suites that must be executed sequentially, you can mix in trait
SequentialNestedSuiteExecution, which overrides runNestedSuites and
calls super's runNestedSuites implementation, passing in None for the
Distributor.
Implementations of this trait must be thread safe.
- Source
- Distributor.scala
- Alphabetic
- By Inheritance
- Distributor
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
-   abstract  def apply(suite: Suite, args: Args): StatusPuts a Suiteinto theDistributor.Puts a Suiteinto theDistributor.The Distributorcan decide which, if any, of the passedArgsSuite's apply method. For example, aDistributormay pass itself wrapped in aSomein theArgsit passes to theSuite'srunmethod instead of theargs.distributorvalue.- suite
- the - Suiteto put into the- Distributor.
- args
- a - Argscontaining objects that may be passed to the- Suite's- runmethod via a- Argsinstance.
 - Exceptions thrown
- NullArgumentExceptionif either- suiteor- trackeris- null.
 
Concrete Value Members
-   final  def !=(arg0: Any): Boolean- Definition Classes
- AnyRef → Any
 
-   final  def ##: Int- Definition Classes
- AnyRef → Any
 
-   final  def ==(arg0: Any): Boolean- Definition Classes
- AnyRef → Any
 
-   final  def asInstanceOf[T0]: T0- Definition Classes
- Any
 
-    def clone(): AnyRef- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
 
-   final  def eq(arg0: AnyRef): Boolean- Definition Classes
- AnyRef
 
-    def equals(arg0: AnyRef): Boolean- Definition Classes
- AnyRef → Any
 
-   final  def getClass(): Class[_ <: AnyRef]- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
 
-    def hashCode(): Int- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
 
-   final  def isInstanceOf[T0]: Boolean- Definition Classes
- Any
 
-   final  def ne(arg0: AnyRef): Boolean- Definition Classes
- AnyRef
 
-   final  def notify(): Unit- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
 
-   final  def notifyAll(): Unit- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
 
-   final  def synchronized[T0](arg0: => T0): T0- Definition Classes
- AnyRef
 
-    def toString(): String- Definition Classes
- AnyRef → Any
 
-   final  def wait(arg0: Long, arg1: Int): Unit- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
 
-   final  def wait(arg0: Long): Unit- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
 
-   final  def wait(): Unit- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
 
Deprecated Value Members
-    def finalize(): Unit- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated