ScalaTest 1.1
|
|
org/scalatest/Stopper.scala
]
trait
Stopper
extends
() => Booleanrun
method of Suite
, so that running suites of tests can be
requested to stop early.Method Summary | |
override def
|
apply
: Boolean
Indicates whether a stop has been requested. Call this method
to determine whether a running test should stop. The
run method of any Suite , or
code invoked by run , should periodically check the
stop requested function. If true ,
the run method should interrupt its work and simply return. |
Methods inherited from scala.Function0 | |
scala.Function0.toString |
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Method Details |
override
def
apply : Boolean
run
method of any Suite
, or
code invoked by run
, should periodically check the
stop requested function. If true
,
the run
method should interrupt its work and simply return.
ScalaTest 1.1
|
|