org.scalatest

trait Stopper

[source: org/scalatest/Stopper.scala]

trait Stopper
extends AnyRef
Trait whose instances can indicate whether a stop has been requested. This is passed in to the execute method of Suite, so that running suites of tests can be requested to stop early.
Author
Bill Venners
Method Summary
def stopRequested : Boolean
Indicates whether a stop has been requested. Call this method to determine whether a running test should stop. The execute method of any Suite, or code invoked by execute, should periodically check the stopRequested property. If true, the execute method should interrupt its work and simply return.
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
def stopRequested : Boolean
Indicates whether a stop has been requested. Call this method to determine whether a running test should stop. The execute method of any Suite, or code invoked by execute, should periodically check the stopRequested property. If true, the execute method should interrupt its work and simply return.


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