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, 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, 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. def finalize(): Unit

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

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

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

    returns

    true if something can be run

  17. def isExecuted: Boolean

  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. val isolable: Boolean

  20. def join: Execution

    methods to set the execution

  21. def makeGlobal(when: Boolean): Execution

  22. def makeGlobal: Execution

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

    force a message

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

    force a result

  25. val mustJoin: Boolean

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

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

  28. final def notify(): Unit

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

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

  31. lazy val result: Result

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

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

  33. def setExecutionTime(timer: SimpleTimer): Execution

    returns

    set an execution time

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

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

    returns

    set an execution result

  36. def setTimeout(timeout: FiniteDuration): Execution

  37. def skip: Execution

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

  39. def stopNextIf(r: Result): Execution

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

    Definition Classes
    AnyRef
  41. def time: String

    returns

    the execution time

  42. val timeout: Option[FiniteDuration]

  43. def toString(): String

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

  45. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. 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