org.scalatest

trait Rerunnable

[source: org/scalatest/Rerunnable.scala]

trait Rerunnable
extends AnyRef
Trait whose instances can rerun tests or other entities (such as suites). An object extending this trait can be passed to a Reporter as part of a Report. The test or other entity about which the report is made can then be rerun by invoking the rerun method on the Rerunnable.
Author
Bill Venners
Method Summary
abstract def rerun (reporter : Reporter, stopper : Stopper, includes : scala.collection.immutable.Set[java.lang.String], excludes : scala.collection.immutable.Set[java.lang.String], properties : scala.collection.immutable.Map[java.lang.String, Any], distributor : scala.Option[Distributor], loader : java.lang.ClassLoader) : Unit
Rerun a test or other entity (such as a suite), reporting results to the specified Reporter.
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Method Details
abstract def rerun(reporter : Reporter, stopper : Stopper, includes : scala.collection.immutable.Set[java.lang.String], excludes : scala.collection.immutable.Set[java.lang.String], properties : scala.collection.immutable.Map[java.lang.String, Any], distributor : scala.Option[Distributor], loader : java.lang.ClassLoader) : Unit
Rerun a test or other entity (such as a suite), reporting results to the specified Reporter.
Parameters
reporter - the Reporter to which results will be reported
loader - the ClassLoader from which to load classes needed to rerun the test or other entity.
Throws
NullPointerException - if reporter is null.


Copyright (C) 2001-2009 Artima, Inc. All rights reserved.