Trait

org.specs2.specification.core

OwnEnv

Related Doc: package core

Permalink

trait OwnEnv extends AfterAll

This trait copies the inherited env: Env for a Specification and makes sure it is shutdown when the specification finishes

The specification using this trait must require an Env:

class MySpec(env: Env) extends Specification with OwnEnv

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OwnEnv
  2. AfterAll
  3. FragmentsFactory
  4. SpecificationStructure
  5. ContextualSpecificationStructure
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def env: Env

    Permalink
  2. abstract def is: SpecStructure

    Permalink
    Definition Classes
    SpecificationStructure

Concrete 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. def afterAll(): Unit

    Permalink
    Definition Classes
    OwnEnvAfterAll
  5. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def decorate(is: SpecStructure, env: Env): SpecStructure

    Permalink
    Definition Classes
    SpecificationStructure
  8. lazy val ec: ExecutionContext

    Permalink
  9. implicit lazy val ee: ExecutionEnv

    Permalink
  10. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def fragmentFactory: FragmentFactory

    Permalink
    Attributes
    protected
    Definition Classes
    FragmentsFactory
  14. def fragments: (Env) ⇒ Fragments

    Permalink
  15. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  18. def map(fs: ⇒ Fragments): Fragments

    Permalink

    modify the fragments

    modify the fragments

    Definition Classes
    AfterAllSpecificationStructure
  19. def map(fs: ⇒ Fragments, env: Env): Fragments

    Permalink

    modify the fragments, using the current environment

    modify the fragments, using the current environment

    Definition Classes
    SpecificationStructure
  20. def map(structure: SpecStructure): SpecStructure

    Permalink

    modify the specification structure

    modify the specification structure

    Definition Classes
    SpecificationStructure
  21. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  24. lazy val ownEnv: Env

    Permalink
  25. def structure: (Env) ⇒ SpecStructure

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

    Permalink
    Definition Classes
    AnyRef
  27. def toString(): String

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

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

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

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

Inherited from AfterAll

Inherited from FragmentsFactory

Inherited from SpecificationStructure

Inherited from AnyRef

Inherited from Any

Ungrouped