Package

org.scalatra

test

Permalink

package test

Visibility
  1. Public
  2. All

Type Members

  1. case class BytesPart(fileName: String, content: Array[Byte], contentType: String = "application/octet-stream") extends Uploadable with Product with Serializable

    Permalink
  2. trait Client extends ImplicitConversions

    Permalink
  3. abstract class ClientResponse extends AnyRef

    Permalink
  4. trait Container extends AnyRef

    Permalink
  5. trait EmbeddedJettyContainer extends JettyContainer

    Permalink
  6. case class FilePart(file: File, contentType: String = "application/octet-stream") extends Uploadable with Product with Serializable

    Permalink
  7. trait HttpComponentsClient extends Client

    Permalink
  8. case class HttpComponentsClientResponse(res: HttpResponse) extends ClientResponse with Product with Serializable

    Permalink
  9. trait ImplicitConversions extends AnyRef

    Permalink

    Contains implicit conversions for making test DSL easier to use.

    Contains implicit conversions for making test DSL easier to use. This is included by all Client implementations.

  10. trait JettyContainer extends Container

    Permalink
  11. case class ResponseStatus(code: Int, message: String) extends Product with Serializable

    Permalink
  12. trait ScalatraTests extends EmbeddedJettyContainer with HttpComponentsClient

    Permalink

    Provides a framework-agnostic way to test your Scalatra app.

    Provides a framework-agnostic way to test your Scalatra app. You probably want to extend this with either org.scalatra.test.scalatest.ScalatraSuite or org.scalatra.test.specs.ScalatraSpecification.

    Cookies are crudely supported within session blocks. No attempt is made to match domains, paths, or max-ages; the request sends a Cookie header to match whatever Set-Cookie call it received on the previous response.

  13. case class SimpleResponse(status: Int, headers: Map[String, Seq[String]], body: String) extends Product with Serializable

    Permalink
  14. abstract class Uploadable extends AnyRef

    Permalink
  15. case class UploadableBody(uploadable: Uploadable) extends ContentBody with Product with Serializable

    Permalink

Value Members

  1. object JettyContainer

    Permalink
  2. object NullOut extends OutputStream

    Permalink
  3. object SessionSerializingListener extends HttpSessionAttributeListener

    Permalink

Ungrouped