org.specs.util.WaitFor

trait WaitFor

trait WaitFor

 extends ScalaObject


The WaitFor trait can be used to add some Thread.sleep instructions to an executed specification.

Usage:

 waitFor(10.ms) // wait for 10 milliseconds
 


Source: WaitFor.scala(10)

Nested Classes

Delay,

 Methods

!= final def !=(arg0 : Object) Boolean AnyRef
!= final def !=(arg0 : Any) Boolean Any
== final def ==(arg0 : Any) Boolean Any
== final def ==(arg0 : Object) Boolean AnyRef
asInstanceOf final def asInstanceOf[T0] T0 Any
clone protected def clone Object AnyRef
eq final def eq(arg0 : Object) Boolean AnyRef
equals def equals(arg0 : Any) Boolean AnyRef
finalize protected def finalize Unit AnyRef
getClass final def getClass Class[Object] AnyRef
hashCode def hashCode Int AnyRef
intToDelay implicit def intToDelay(i : Int)
[details]
return
- a Delay object The WaitFor trait can be used to add some Thread.sleep instructions to an executed specification
Delay
isInstanceOf final def isInstanceOf[T0] Boolean Any
ne final def ne(arg0 : Object) Boolean AnyRef
notify final def notify Unit AnyRef
notifyAll final def notifyAll Unit AnyRef
synchronized final def synchronized[T0](arg0 : T0) T0 AnyRef
toString def toString String AnyRef
wait final def wait(arg0 : Long, arg1 : Int) Unit AnyRef
wait final def wait(arg0 : Long) Unit AnyRef
wait final def wait Unit AnyRef
waitFor def waitFor(i : Int)
wait for a given number of milliseconds
Unit
waitFor def waitFor(delay : Delay)
wait for a given time specified by the delay
Unit
Copyright (c) 2007-2009. All Rights Reserved.