Object/Trait

org.specs2.specification.process

DefaultExecutor

Related Docs: trait DefaultExecutor | package process

Permalink

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
Visibility
  1. Public
  2. All

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. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink

    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]

    Permalink

    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]

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

    Permalink

    execute one fragment

    execute one fragment

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

    Permalink

    only to be used in tests

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

    Permalink

    synchronous execution with a specific environment

  15. def executeFragments1: Process1[Fragment, Fragment]

    Permalink

    synchronous execution

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

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

    Permalink

    only to be used in tests

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

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

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

    Permalink

    a Process1 to execute fragments as tasks

    a Process1 to execute fragments as tasks

    Definition Classes
    DefaultExecutor
  21. def finalize(): Unit

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

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

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

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

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

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

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

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

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

    Permalink

    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

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

    Permalink

    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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from DefaultExecutor

Inherited from Executor

Inherited from AnyRef

Inherited from Any

Ungrouped