org.specs2.specification.core

Execution

Related Docs: object Execution | package core

case class Execution(run: Option[(Env) ⇒ Result], executed: Option[Result] = None, timeout: Option[FiniteDuration] = None, mustJoin: Boolean = false, nextMustStopIf: (Result) ⇒ Boolean = (r: Result) => false, isolable: Boolean = true, previousResult: Option[Result] = None, fatal: Option[FatalExecution] = None, executionTime: 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
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Execution(run: Option[(Env) ⇒ Result], executed: Option[Result] = None, timeout: Option[FiniteDuration] = None, mustJoin: Boolean = false, nextMustStopIf: (Result) ⇒ Boolean = (r: Result) => false, isolable: Boolean = true, previousResult: Option[Result] = None, fatal: Option[FatalExecution] = None, executionTime: SimpleTimer = new SimpleTimer, continuation: Option[FragmentsContinuation] = None)

Value Members

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

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

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

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

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

  7. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    Execution → Equals → AnyRef → Any
  9. def execute(env: Env): Execution

    run the execution

  10. val executed: Option[Result]

  11. lazy val executedResult: Option[Result]

  12. val executionTime: SimpleTimer

  13. val fatal: Option[FatalExecution]

  14. def finalize(): Unit

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

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

    Definition Classes
    Execution → AnyRef → Any
  17. def isExecutable: Boolean

    returns

    true if something can be run

  18. def isExecuted: Boolean

  19. def isFatal: Boolean

    returns

    true if there was a fatal error

  20. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  21. val isolable: Boolean

  22. def join: Execution

    methods to set the execution

  23. def makeGlobal(when: Boolean): Execution

  24. def makeGlobal: Execution

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

    force a message

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

    force a result

  27. val mustJoin: Boolean

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

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

  30. final def notify(): Unit

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

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

  33. lazy val result: Result

    if the execution hasn't been executed, the result is Success

  34. val run: Option[(Env) ⇒ Result]

  35. def setExecutionTime(timer: SimpleTimer): Execution

    returns

    set an execution time

  36. def setFatal(f: Throwable): Execution

    returns

    set a fatal execution error

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

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

    returns

    set an execution result

  39. def setTimeout(timeout: FiniteDuration): Execution

  40. def skip: Execution

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

  42. def stopNextIf(r: Result): Execution

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

    Definition Classes
    AnyRef
  44. def time: String

    returns

    the execution time

  45. val timeout: Option[FiniteDuration]

  46. def toString(): String

    Definition Classes
    Execution → AnyRef → Any
  47. def updateRun(newRun: ((Env) ⇒ Result) ⇒ (Env) ⇒ Result): Execution

  48. final def wait(): Unit

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped