Packages

c

play.api.test

WithApplicationLoader

abstract class WithApplicationLoader extends AroundHelper with Scope

Used to run specs within the context of a running application loaded by the given ApplicationLoader.

Source
Specs.scala
Linear Supertypes
AroundHelper, Around, DelayedInit, Around, Context, Scope, Scope, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WithApplicationLoader
  2. AroundHelper
  3. Around
  4. DelayedInit
  5. Around
  6. Context
  7. Scope
  8. Scope
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new WithApplicationLoader(applicationLoader: ApplicationLoader = new GuiceApplicationLoader(), context: Context = ApplicationLoader.Context.create( new Environment(new java.io.File("."), ApplicationLoader.getClass.getClassLoader, Mode.Test) ))

    applicationLoader

    The application loader to use

    context

    The context supplied to the application loader

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. def andThen(a: Around): Around
    Definition Classes
    Around
  5. implicit lazy val app: Application
  6. def apply[T](a: => T)(implicit arg0: AsResult[T]): Result
    Definition Classes
    Around → Context
  7. def around[T](t: => T)(implicit arg0: AsResult[T]): Result
    Definition Classes
    AroundHelper → Around
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  10. def compose(a: Around): Around
    Definition Classes
    Around
  11. def delayedInit(x: => Unit): Unit
    Definition Classes
    Around → DelayedInit
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  20. def running(): Unit
    Definition Classes
    AroundHelper
  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. def wrap[T](t: => T)(implicit arg0: AsResult[T]): Result
    Definition Classes
    WithApplicationLoaderAroundHelper

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AroundHelper

Inherited from Around

Inherited from DelayedInit

Inherited from Around

Inherited from Context

Inherited from Scope

Inherited from Scope

Inherited from AnyRef

Inherited from Any

Ungrouped