org.scalatra.test

Members list

Type members

Classlikes

case class BytesPart(fileName: String, content: Array[Byte], contentType: String) extends Uploadable

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Uploadable
class Object
trait Matchable
class Any
Show all
trait Client extends ImplicitConversions

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
abstract class ClientResponse

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Container

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Supertypes
trait Container
class Object
trait Matchable
class Any
Known subtypes
case class FilePart(file: File, contentType: String) extends Uploadable

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Uploadable
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
trait Client
class Object
trait Matchable
class Any
Known subtypes
case class HttpComponentsClientResponse(res: ClassicHttpResponse) extends ClientResponse

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

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

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

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
trait JettyContainer extends Container

Attributes

Companion
object
Supertypes
trait Container
class Object
trait Matchable
class Any
Known subtypes
object NullOut extends OutputStream

Attributes

Supertypes
class OutputStream
trait Flushable
trait Closeable
trait AutoCloseable
class Object
trait Matchable
class Any
Show all
Self type
NullOut.type
case class ResponseStatus(code: Int, message: String)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

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.

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.

Attributes

Supertypes
trait Client
trait Container
class Object
trait Matchable
class Any
Show all
object SessionSerializingListener extends HttpSessionAttributeListener

Attributes

Supertypes
trait HttpSessionAttributeListener
trait EventListener
class Object
trait Matchable
class Any
Self type
case class SimpleResponse(status: Int, headers: Map[String, Seq[String]], body: String)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
abstract class Uploadable

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class BytesPart
class FilePart
case class UploadableBody(uploadable: Uploadable) extends ContentBody

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait ContentBody
trait ContentDescriptor
class Object
trait Matchable
class Any
Show all