org.specs2.specification.process

DefaultExecutor

Related Docs: trait DefaultExecutor | package process

object DefaultExecutor extends DefaultExecutor

helper functions for executing fragments

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DefaultExecutor
  2. DefaultExecutor
  3. Executor
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

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. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  8. def execute(f: Fragment)(implicit env: Env = Env()): Fragment

  9. def execute(env: Env): (Process[Task, Fragment]) ⇒ Process[Task, Fragment]

    execute fragments:

    execute fragments:

    • filter the ones that the user wants to keep
    • sequence the execution so that only parts in between steps are executed concurrently
    Definition Classes
    DefaultExecutorExecutor
  10. def execute1(env: Env): (Process[Task, Fragment]) ⇒ Process[Task, Fragment]

    execute fragments possibly with a recursive call to execute1.

    execute fragments possibly with a recursive call to execute1.

    The difference with execute is that execute shuts down the environment when the process is finished

    Definition Classes
    DefaultExecutor
  11. def executeAll(seq: Fragment*)(implicit env: Env = Env()): IndexedSeq[Fragment]

  12. def executeFragment(env: Env): (Fragment) ⇒ Fragment

    execute one fragment

    execute one fragment

    Definition Classes
    DefaultExecutor
  13. def executeFragments(fs: Fragments)(implicit env: Env = Env()): IndexedSeq[Fragment]

    only to be used in tests

  14. def executeFragments1(env: Env): Process1[Fragment, Fragment]

    synchronous execution with a specific environment

  15. def executeFragments1: Process1[Fragment, Fragment]

    synchronous execution

  16. def executeOnline(env: Env): (Fragment) ⇒ Process[Task, Fragment]

    Definition Classes
    DefaultExecutor
  17. def executeSeq(seq: Seq[Fragment])(implicit env: Env = Env()): IndexedSeq[Fragment]

    only to be used in tests

  18. def executeSpec(spec: SpecStructure, env: Env): SpecStructure

  19. def executeSpecWithoutShutdown(spec: SpecStructure, env: Env): SpecStructure

  20. def executeTasks(env: Env): Process1[Fragment, Task[Fragment]]

    a Process1 to execute fragments as tasks

    a Process1 to execute fragments as tasks

    Definition Classes
    DefaultExecutor
  21. def finalize(): Unit

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

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

    Definition Classes
    AnyRef → Any
  24. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  25. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  26. final def notify(): Unit

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

    Definition Classes
    AnyRef
  28. def runSpec(spec: SpecStructure, env: Env): IndexedSeq[Fragment]

  29. def runSpecification(spec: SpecificationStructure): IndexedSeq[Fragment]

  30. def sequencedExecution(env: Env, barrier: Task[Result] = Task.now(Success("barrier")), mustStop: Boolean = false): Process1[Fragment, Task[Fragment]]

    execute fragments, making sure that:

    execute fragments, making sure that:

    • "join" points are respected, i.e. when a Fragment is a join we must make sure that all previously executing fragments have finished their execution
    • the fragments execute sequentially when args.sequential
    • the execution stops if one fragment indicates that the result of the previous executions is not correct
    Definition Classes
    DefaultExecutor
  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  32. def timedout(fragment: Fragment, env: Env)(task: Task[Fragment])(duration: Option[FiniteDuration]): Task[Fragment]

    use the scalaz implementation of Timer to timeout the task

    use the scalaz implementation of Timer to timeout the task

    Definition Classes
    DefaultExecutor
  33. def toString(): String

    Definition Classes
    AnyRef → Any
  34. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from DefaultExecutor

Inherited from Executor

Inherited from AnyRef

Inherited from Any

Ungrouped