Class/Object

org.specs2.specification.core

Execution

Related Docs: object Execution | package core

Permalink

case class Execution(run: Option[(Env) ⇒ Future[() ⇒ Result]] = None, executing: Option[Either[Throwable, Future[Result]]] = None, timeout: Option[FiniteDuration] = None, mustJoin: Boolean = false, nextMustStopIf: (Result) ⇒ Boolean = (r: Result) => false, isolable: Boolean = true, previousResult: Option[Result] = None, timer: SimpleTimer = new SimpleTimer, continuation: Option[FragmentsContinuation] = None) extends Product with Serializable

Execution of a Fragment

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Execution
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Execution(run: Option[(Env) ⇒ Future[() ⇒ Result]] = None, executing: Option[Either[Throwable, Future[Result]]] = None, timeout: Option[FiniteDuration] = None, mustJoin: Boolean = false, nextMustStopIf: (Result) ⇒ Boolean = (r: Result) => false, isolable: Boolean = true, previousResult: Option[Result] = None, timer: SimpleTimer = new SimpleTimer, continuation: Option[FragmentsContinuation] = None)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def after(executions: List[Execution]): Execution

    Permalink

    run this execution after the previous executions are finished

  5. def afterSequential(executions: List[Execution]): Execution

    Permalink

    run this execution after the other executions have been sequentially executed

  6. def afterSuccessful(executions: List[Execution]): Execution

    Permalink

    run this execution after the executions and only if they are successful

  7. def afterSuccessfulSequential(executions: List[Execution]): Execution

    Permalink

    run this execution after the other executions have been sequentially executed and only if they are successful

  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. val continuation: Option[FragmentsContinuation]

    Permalink
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(a: Any): Boolean

    Permalink
    Definition Classes
    Execution → Equals → AnyRef → Any
  13. lazy val executedResult: TimedFuture[ExecutedResult]

    Permalink
  14. val executing: Option[Either[Throwable, Future[Result]]]

    Permalink
  15. lazy val executionResult: TimedFuture[Result]

    Permalink
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

    Permalink
    Definition Classes
    Execution → AnyRef → Any
  19. def isExecutable: Boolean

    Permalink

    returns

    true if something can be run

  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. val isolable: Boolean

    Permalink
  22. def join: Execution

    Permalink

    methods to set the execution

  23. def makeGlobal(when: Boolean): Execution

    Permalink
  24. def makeGlobal: Execution

    Permalink
  25. def mapMessage(f: (String) ⇒ String): Execution

    Permalink

    force a message

  26. def mapResult(f: (Result) ⇒ Result): Execution

    Permalink

    force a result

  27. val mustJoin: Boolean

    Permalink
  28. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  29. val nextMustStopIf: (Result) ⇒ Boolean

    Permalink
  30. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  31. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  32. val previousResult: Option[Result]

    Permalink
  33. val run: Option[(Env) ⇒ Future[() ⇒ Result]]

    Permalink
  34. def setErrorAsFatal: Execution

    Permalink
  35. def setExecuting(r: Future[Result]): Execution

    Permalink

    returns

    set an execution result being computed

  36. def setFatal(f: Throwable): Execution

    Permalink

    returns

    set a fatal execution error

  37. def setPreviousResult(r: Option[Result]): Execution

    Permalink
  38. def setResult(r: ⇒ Result): Execution

    Permalink

    returns

    set an execution result

  39. def setTimeout(timeout: FiniteDuration): Execution

    Permalink
  40. def skip: Execution

    Permalink
  41. def startAfter(others: List[Execution])(env: Env): Execution

    Permalink

    start this execution when the other ones are finished

  42. def startAfter(other: Execution)(env: Env): Execution

    Permalink

    start this execution when the other one is finished

  43. def startExecution(env: Env): Execution

    Permalink

    run the execution

  44. def startTimer: Execution

    Permalink

    returns

    start the timer

  45. def stopNextIf(f: (Result) ⇒ Boolean): Execution

    Permalink
  46. def stopNextIf(r: Result): Execution

    Permalink
  47. def stopTimer: Execution

    Permalink

    returns

    stop the timer

  48. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  49. val timeout: Option[FiniteDuration]

    Permalink
  50. val timer: SimpleTimer

    Permalink
  51. def toString(): String

    Permalink
    Definition Classes
    Execution → AnyRef → Any
  52. def updateResult(newResult: (⇒ Result) ⇒ Result): Execution

    Permalink
  53. def updateRun(newRun: ((Env) ⇒ Future[() ⇒ Result]) ⇒ (Env) ⇒ Future[() ⇒ Result]): Execution

    Permalink
  54. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  55. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  56. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  57. def was(statusCheck: (String) ⇒ Boolean): Boolean

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped