ScalaTest 1.0
|
|
trait
SequentialNestedSuiteExecution
extends
AbstractSuite with
AnyRefDistributor
is passed to runNestedSuites
. This trait overrides the
runNestedSuites
method and fowards every parameter passed to it to a superclass invocation
of runNestedSuites
, except it always passes None
for the Distributor
.
Mix in this trait into any suite whose nested suites need to be run sequentially even with the rest of the
run is being executed concurrently.Method Summary | |
protected def
|
runNestedSuites
(reporter : Reporter, stopper : Stopper, filter : Filter, configMap : scala.collection.immutable.Map[java.lang.String, Any], distributor : scala.Option[Distributor], tracker : Tracker) : Unit
This trait's implementation of
runNestedSuites s invokes runNestedSuites on super ,
passing in None for the Distributor . |
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Methods inherited from AbstractSuite | |
withFixture (abstract), run (abstract), runTests (abstract), runTest (abstract), testNames (abstract), nestedSuites (abstract), tags (abstract), expectedTestCount (abstract) |
Method Details |
protected
def
runNestedSuites(reporter : Reporter, stopper : Stopper, filter : Filter, configMap : scala.collection.immutable.Map[java.lang.String, Any], distributor : scala.Option[Distributor], tracker : Tracker) : Unit
runNestedSuites
s invokes runNestedSuites
on super
,
passing in None
for the Distributor
.reporter -
the Reporter
to which results will be reportedstopper -
the Stopper
that will be consulted to determine whether to stop execution early.filter -
a Filter
with which to filter tests based on their tagsconfigMap -
a Map
of key-value pairs that can be used by the executing Suite
of tests.distributor -
an optional Distributor
, into which to put nested Suite
s to be run by another entity, such as concurrently by a pool of threads. If None
, nested Suite
s will be run sequentially.tracker -
a Tracker
tracking Ordinal
s being fired by the current thread.NullPointerException -
if any passed parameter is null
.
ScalaTest 1.0
|
|