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. def andThen(a: Around): Around
    Definition Classes
    Around
  2. implicit lazy val app: Application
  3. def apply[T](a: => T)(implicit arg0: AsResult[T]): Result
    Definition Classes
    Around → Context
  4. def around[T](t: => T)(implicit arg0: AsResult[T]): Result
    Definition Classes
    AroundHelper → Around
  5. def compose(a: Around): Around
    Definition Classes
    Around
  6. def delayedInit(x: => Unit): Unit
    Definition Classes
    Around → DelayedInit
  7. def running(): Unit
    Definition Classes
    AroundHelper
  8. def wrap[T](t: => T)(implicit arg0: AsResult[T]): Result
    Definition Classes
    AroundHelper