trait
ControllerTestSupport extends AnyRef
Type Members
-
-
case class
TestServer(host: Option[String] = scala.None, port: Option[Int] = scala.None) extends Product with Serializable
Abstract Value Members
-
abstract
def
buildRequest(method: HttpMethod, path: String, content: Option[Content], headers: Map[HeaderName, String], timeout: Duration = requestTimeout)(implicit textContext: TestContext): Try[domain.mvc.http.Response]
Concrete Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
val
defaultHost: String
-
val
defaultPort: Int
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
val
globalSettings: Option[GlobalSettings[domain.mvc.http.Request, domain.mvc.http.Response]]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
def
newRequest(method: HttpMethod, path: String, content: Option[Content], headers: Map[HeaderName, String])(implicit testContext: TestContext): com.twitter.finagle.http.Request
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
val
requestTimeout: FiniteDuration
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
testDelete[T](path: String, content: Option[Content] = None, headers: Map[HeaderName, String] = Map(), timeout: Duration = requestTimeout)(f: (Try[domain.mvc.http.Response]) ⇒ T)(implicit testContext: TestContext): T
-
def
testGet[T](path: String, content: Option[Content] = None, headers: Map[HeaderName, String] = Map(), timeout: Duration = requestTimeout)(f: (Try[domain.mvc.http.Response]) ⇒ T)(implicit testContext: TestContext): T
-
def
testHead[T](path: String, content: Option[Content] = None, headers: Map[HeaderName, String] = Map(), timeout: Duration = requestTimeout)(f: (Try[domain.mvc.http.Response]) ⇒ T)(implicit testContext: TestContext): T
-
def
testPatch[T](path: String, content: Option[Content] = None, headers: Map[HeaderName, String] = Map(), timeout: Duration = requestTimeout)(f: (Try[domain.mvc.http.Response]) ⇒ T)(implicit testContext: TestContext): T
-
def
testPost[T](path: String, content: Option[Content] = None, headers: Map[HeaderName, String] = Map(), timeout: Duration = requestTimeout)(f: (Try[domain.mvc.http.Response]) ⇒ T)(implicit testContext: TestContext): T
-
def
testPut[T](path: String, content: Option[Content] = None, headers: Map[HeaderName, String] = Map(), timeout: Duration = requestTimeout)(f: (Try[domain.mvc.http.Response]) ⇒ T)(implicit testContext: TestContext): T
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any