org.specs2.specification.process

DefaultExecutor

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: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

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

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

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

  11. 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
  12. 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
  13. def executeAll(seq: Fragment*)(implicit env: Env = Env()): IndexedSeq[Fragment]

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

    execute one fragment

    execute one fragment

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

    only to be used in tests

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

    synchronous execution with a specific environment

  17. def executeFragments1: Process1[Fragment, Fragment]

    synchronous execution

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

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

    only to be used in tests

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

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

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

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

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

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

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

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

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

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

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

  32. def sequencedExecution(env: Env, barrier: Task[\/[FatalExecution, 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
  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  34. 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
  35. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from DefaultExecutor

Inherited from Executor

Inherited from AnyRef

Inherited from Any

Ungrouped