t

net.liftweb.http.testing

TestFramework

trait TestFramework extends TestKit

A legacy test framework

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TestFramework
  2. TestKit
  3. GetPosterHelper
  4. GetPoster
  5. ToResponse
  6. BaseGetPoster
  7. ClientBuilder
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type ResponseType = TestResponse
    Definition Classes
    ToResponse
  2. class TestHandler extends AnyRef
    Definition Classes
    TestKit

Abstract Value Members

  1. abstract def baseUrl: String

    The base URL for all GET and POST requests

    The base URL for all GET and POST requests

    Definition Classes
    TestKitBaseGetPoster
  2. abstract def buildRunner: TestRunner
  3. abstract def tests: List[Item]

Concrete 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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def buildBasicAuthClient(name: String, pwd: String): HttpClient

    Create a new HTTP client that does BASIC AUTH with username/pwd

    Create a new HTTP client that does BASIC AUTH with username/pwd

    Definition Classes
    ClientBuilder
  6. def buildNoAuthClient: HttpClient

    Create a new HTTP client that does not do any form of AUTH

    Create a new HTTP client that does not do any form of AUTH

    Definition Classes
    ClientBuilder
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. lazy val defaultHttpClient: HttpClient
  9. def delete(url: String, params: (String, Any)*)(implicit capture: (String, HttpClient, HttpMethodBase) ⇒ ResponseType): ResponseType

    Perform an HTTP DELETE with a newly minted httpClient

    Perform an HTTP DELETE with a newly minted httpClient

    url

    the URL to make the request on

    params

    the parameters to pass

    Definition Classes
    GetPosterHelper
  10. def delete(url: String, httpClient: HttpClient, headers: List[(String, String)], faux_params: (String, Any)*)(implicit capture: (String, HttpClient, HttpMethodBase) ⇒ ResponseType): ResponseType

    Perform an HTTP DELETE

    Perform an HTTP DELETE

    url

    - the URL to append to the baseUrl

    headers

    - any additional headers to include with the request

    faux_params

    - the request parameters to include with the request

    Definition Classes
    BaseGetPoster
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def fork(cnt: Int)(f: (Int) ⇒ Any): Unit
  15. def get(url: String, params: (String, Any)*)(implicit capture: (String, HttpClient, HttpMethodBase) ⇒ ResponseType): ResponseType

    Perform an HTTP GET with a newly minted httpClient

    Perform an HTTP GET with a newly minted httpClient

    url

    the URL to make the request on

    params

    the parameters to pass

    Definition Classes
    GetPosterHelper
  16. def get(url: String, httpClient: HttpClient, headers: List[(String, String)], faux_params: (String, Any)*)(implicit capture: (String, HttpClient, HttpMethodBase) ⇒ ResponseType): ResponseType

    Perform an HTTP GET

    Perform an HTTP GET

    url

    - the URL to append to the baseUrl

    headers

    - any additional headers to include with the request

    faux_params

    - the request parameters to include with the request

    Definition Classes
    BaseGetPoster
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. implicit def jsonToRequestEntity(body: JValue): RequestEntity
    Definition Classes
    BaseGetPoster
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  24. def post(url: String, body: Array[Byte], contentType: String)(implicit capture: (String, HttpClient, HttpMethodBase) ⇒ ResponseType): ResponseType

    Perform an HTTP POST with a newly minted httpClient

    Perform an HTTP POST with a newly minted httpClient

    url

    the URL to make the request on

    body

    the bytes to POST to the server

    contentType

    the content type of the message

    Definition Classes
    GetPosterHelper
  25. def post[RT](url: String, xml: RT)(implicit capture: (String, HttpClient, HttpMethodBase) ⇒ ResponseType, bodyToRequestEntity: (RT) ⇒ RequestEntity): ResponseType

    Perform an HTTP POST with a newly minted httpClient

    Perform an HTTP POST with a newly minted httpClient

    url

    the URL to make the request on

    xml

    the XML to POST to the server

    Definition Classes
    GetPosterHelper
  26. def post(url: String, params: (String, Any)*)(implicit capture: (String, HttpClient, HttpMethodBase) ⇒ ResponseType): ResponseType

    Perform an HTTP POST with a newly minted httpClient

    Perform an HTTP POST with a newly minted httpClient

    url

    the URL to make the request on

    params

    the parameters to pass

    Definition Classes
    GetPosterHelper
  27. def post(url: String, httpClient: HttpClient, headers: List[(String, String)], body: Array[Byte], contentType: String)(implicit capture: (String, HttpClient, HttpMethodBase) ⇒ ResponseType): ResponseType

    Perform an HTTP POST with a pile of bytes in the body

    Perform an HTTP POST with a pile of bytes in the body

    url

    - the URL to append to the baseUrl

    headers

    - any additional headers to include with the request

    body

    - the pile of bytes to POST to the target server

    contentType

    - the content type of the pile of bytes

    Definition Classes
    BaseGetPoster
  28. def post[RT](url: String, httpClient: HttpClient, headers: List[(String, String)], body: RT)(implicit capture: (String, HttpClient, HttpMethodBase) ⇒ ResponseType, bodyToRequestEntity: (RT) ⇒ RequestEntity): ResponseType

    Perform an HTTP POST with an XML body

    Perform an HTTP POST with an XML body

    url

    - the URL to append to the baseUrl

    headers

    - any additional headers to include with the request

    body

    - the xml to post

    Definition Classes
    BaseGetPoster
  29. def post(url: String, httpClient: HttpClient, headers: List[(String, String)], faux_params: (String, Any)*)(implicit capture: (String, HttpClient, HttpMethodBase) ⇒ ResponseType): ResponseType

    Perform an HTTP POST

    Perform an HTTP POST

    url

    - the URL to append to the baseUrl

    headers

    - any additional headers to include with the request

    faux_params

    - the request parameters to include with the request

    Definition Classes
    BaseGetPoster
  30. def put(url: String, body: Array[Byte], contentType: String)(implicit capture: (String, HttpClient, HttpMethodBase) ⇒ ResponseType): ResponseType

    Perform an HTTP POST with a newly minted httpClient

    Perform an HTTP POST with a newly minted httpClient

    url

    the URL to make the request on

    body

    the bytes to POST to the server

    contentType

    the content type of the message

    Definition Classes
    GetPosterHelper
  31. def put[RT](url: String, xml: RT)(implicit capture: (String, HttpClient, HttpMethodBase) ⇒ ResponseType, bodyToRequestEntity: (RT) ⇒ RequestEntity): ResponseType

    Perform an HTTP PUT with a newly minted httpClient

    Perform an HTTP PUT with a newly minted httpClient

    url

    the URL to make the request on

    xml

    the XML to PUT to the server

    Definition Classes
    GetPosterHelper
  32. def put(url: String, httpClient: HttpClient, headers: List[(String, String)], body: Array[Byte], contentType: String)(implicit capture: (String, HttpClient, HttpMethodBase) ⇒ ResponseType): ResponseType

    Perform an HTTP PUT with a pile of bytes in the body

    Perform an HTTP PUT with a pile of bytes in the body

    url

    - the URL to append to the baseUrl

    headers

    - any additional headers to include with the request

    body

    - the pile of bytes to POST to the target server

    contentType

    - the content type of the pile of bytes

    Definition Classes
    BaseGetPoster
  33. def put[RT](url: String, httpClient: HttpClient, headers: List[(String, String)], body: RT)(implicit capture: (String, HttpClient, HttpMethodBase) ⇒ ResponseType, bodyToRequestEntity: (RT) ⇒ RequestEntity): ResponseType

    Perform an HTTP PUT with an XML body

    Perform an HTTP PUT with an XML body

    url

    - the URL to append to the baseUrl

    headers

    - any additional headers to include with the request

    body

    - the xml to post

    Definition Classes
    BaseGetPoster
  34. def put(url: String, httpClient: HttpClient, headers: List[(String, String)])(implicit capture: (String, HttpClient, HttpMethodBase) ⇒ ResponseType): ResponseType

    Perform an HTTP PUT

    Perform an HTTP PUT

    url

    - the URL to append to the baseUrl

    headers

    - any additional headers to include with the request

    Definition Classes
    BaseGetPoster
  35. implicit def reqToHander(in: TestResponse): TestHandler
    Definition Classes
    TestKit
  36. implicit def responseCapture(fullUrl: String, httpClient: HttpClient, getter: HttpMethodBase): ResponseType
    Definition Classes
    ToResponse
  37. def slurpApacheHeaders(in: Array[Header]): Map[String, List[String]]
    Attributes
    protected
    Definition Classes
    BaseGetPoster
  38. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  39. def theHttpClient: HttpClient

    Create the base HTTP client

    Create the base HTTP client

    Definition Classes
    TestFrameworkGetPosterHelperClientBuilder
  40. def toString(): String
    Definition Classes
    AnyRef → Any
  41. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. implicit def xmlToRequestEntity(body: NodeSeq): RequestEntity
    Definition Classes
    BaseGetPoster

Inherited from TestKit

Inherited from GetPosterHelper

Inherited from GetPoster

Inherited from ToResponse

Inherited from BaseGetPoster

Inherited from ClientBuilder

Inherited from AnyRef

Inherited from Any

Ungrouped