package test
Ordering
- Alphabetic
Visibility
- Public
- All
Type Members
- case class BytesPart (fileName: String, content: Array[Byte], contentType: String = "application/octet-stream") extends Uploadable with Product with Serializable
- trait Client extends ImplicitConversions
- abstract class ClientResponse extends AnyRef
- trait Container extends AnyRef
- trait EmbeddedJettyContainer extends JettyContainer
- case class FilePart (file: File, contentType: String = "application/octet-stream") extends Uploadable with Product with Serializable
- trait HttpComponentsClient extends Client
- case class HttpComponentsClientResponse (res: HttpResponse) extends ClientResponse with Product with Serializable
-
trait
ImplicitConversions
extends AnyRef
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. - trait JettyContainer extends Container
- case class ResponseStatus (code: Int, message: String) extends Product with Serializable
-
trait
ScalatraTests
extends EmbeddedJettyContainer with HttpComponentsClient
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
ororg.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.
- case class SimpleResponse (status: Int, headers: Map[String, Seq[String]], body: String) extends Product with Serializable
- abstract class Uploadable extends AnyRef
- case class UploadableBody (uploadable: Uploadable) extends ContentBody with Product with Serializable
Value Members
- object JettyContainer
- object NullOut extends OutputStream
- object SessionSerializingListener extends HttpSessionAttributeListener