trait RouteTest extends RequestBuilding with WSTestRequestBuilding with RouteTestResultComponent with MarshallingTestUtils

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RouteTest
  2. MarshallingTestUtils
  3. RouteTestResultComponent
  4. WSTestRequestBuilding
  5. RequestBuilding
  6. TransformerPipelineSupport
  7. AnyRef
  8. Any
Implicitly
  1. by WithTransformation
  2. by WithTransformation
  3. by any2stringadd
  4. by StringFormat
  5. by Ensuring
  6. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class RequestBuilder extends AnyRef
    Definition Classes
    RequestBuilding
  2. implicit class WithTransformation[A] extends AnyRef
    Definition Classes
    TransformerPipelineSupport
  3. implicit class WithTransformerConcatenation[A, B] extends (A) ⇒ B
    Definition Classes
    TransformerPipelineSupport
  4. case class DefaultHostInfo(host: Host, securedConnection: Boolean) extends Product with Serializable
  5. type RequestTransformer = (HttpRequest) ⇒ HttpRequest
    Definition Classes
    RequestBuilding
  6. abstract class TildeArrow[A, B] extends AnyRef
  7. implicit class WithTransformation2 extends AnyRef
  8. class RouteTestResult extends AnyRef

    A receptacle for the response or rejections created by a route.

    A receptacle for the response or rejections created by a route.

    Definition Classes
    RouteTestResultComponent

Abstract Value Members

  1. abstract def failTest(msg: String): Nothing
    Definition Classes
    RouteTestResultComponent

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from RouteTest to any2stringadd[RouteTest] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (RouteTest, B)
    Implicit
    This member is added by an implicit conversion from RouteTest to ArrowAssoc[RouteTest] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. val Delete: (RouteTest.this)#RequestBuilder
    Definition Classes
    RequestBuilding
  7. val Get: (RouteTest.this)#RequestBuilder
    Definition Classes
    RequestBuilding
  8. val Head: (RouteTest.this)#RequestBuilder
    Definition Classes
    RequestBuilding
  9. val Options: (RouteTest.this)#RequestBuilder
    Definition Classes
    RequestBuilding
  10. val Patch: (RouteTest.this)#RequestBuilder
    Definition Classes
    RequestBuilding
  11. val Post: (RouteTest.this)#RequestBuilder
    Definition Classes
    RequestBuilding
  12. val Put: (RouteTest.this)#RequestBuilder
    Definition Classes
    RequestBuilding
  13. def WS(uri: Uri, clientSideHandler: Flow[Message, Message, Any], subprotocols: Seq[String] = Nil)(implicit materializer: Materializer): HttpRequest
    Definition Classes
    WSTestRequestBuilding
  14. def actorSystemNameFrom(clazz: Class[_]): String
  15. def addCredentials(credentials: HttpCredentials): (RouteTest.this)#RequestTransformer
    Definition Classes
    RequestBuilding
  16. def addHeader(headerName: String, headerValue: String): (RouteTest.this)#RequestTransformer
    Definition Classes
    RequestBuilding
  17. def addHeader(header: HttpHeader): (RouteTest.this)#RequestTransformer
    Definition Classes
    RequestBuilding
  18. def addHeaders(first: HttpHeader, more: HttpHeader*): (RouteTest.this)#RequestTransformer
    Definition Classes
    RequestBuilding
  19. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  20. def charset: HttpCharset
  21. def charsetOption: Option[HttpCharset]
  22. def check[T](body: ⇒ T): ((RouteTest.this)#RouteTestResult) ⇒ T
  23. def chunks: Seq[ChunkStreamPart]
  24. def cleanUp(): Unit
  25. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  26. def closingExtension: String
  27. def contentType: ContentType
  28. def createActorSystem(): ActorSystem

    Override to supply a custom ActorSystem

    Override to supply a custom ActorSystem

    Attributes
    protected
  29. def ensuring(cond: (RouteTest) ⇒ Boolean, msg: ⇒ Any): RouteTest
    Implicit
    This member is added by an implicit conversion from RouteTest to Ensuring[RouteTest] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  30. def ensuring(cond: (RouteTest) ⇒ Boolean): RouteTest
    Implicit
    This member is added by an implicit conversion from RouteTest to Ensuring[RouteTest] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  31. def ensuring(cond: Boolean, msg: ⇒ Any): RouteTest
    Implicit
    This member is added by an implicit conversion from RouteTest to Ensuring[RouteTest] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  32. def ensuring(cond: Boolean): RouteTest
    Implicit
    This member is added by an implicit conversion from RouteTest to Ensuring[RouteTest] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  33. def entityAs[T](implicit arg0: FromEntityUnmarshaller[T], arg1: ClassTag[T], timeout: Duration = 1.second): T
  34. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  35. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  36. implicit def executor: ExecutionContextExecutor
  37. def expectWebSocketUpgradeWithProtocol(body: (String) ⇒ Unit): Unit

    Asserts that the received response is a WebSocket upgrade response and the extracts the chosen subprotocol and passes it to the handler.

  38. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  39. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from RouteTest to StringFormat[RouteTest] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  40. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  41. def handled: Boolean
  42. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  43. def header(name: String): Option[HttpHeader]
  44. def header[T >: Null <: HttpHeader](implicit arg0: ClassTag[T]): Option[T]
  45. implicit def header2AddHeader(header: HttpHeader): (RouteTest.this)#RequestTransformer
    Definition Classes
    RequestBuilding
  46. def headers: Seq[HttpHeader]
  47. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  48. def isWebSocketUpgrade: Boolean
  49. def logRequest(logFun: (HttpRequest) ⇒ Unit): (HttpRequest) ⇒ HttpRequest
    Definition Classes
    RequestBuilding
  50. def logRequest(log: LoggingAdapter, level: LogLevel = Logging.DebugLevel): (HttpRequest) ⇒ HttpRequest
    Definition Classes
    RequestBuilding
  51. def logValue[T](logFun: (T) ⇒ Unit): (T) ⇒ T
    Definition Classes
    TransformerPipelineSupport
  52. def logValue[T](log: LoggingAdapter, level: LogLevel = Logging.DebugLevel): (T) ⇒ T
    Definition Classes
    TransformerPipelineSupport
  53. def mapHeaders(f: (Seq[HttpHeader]) ⇒ Seq[HttpHeader]): (RouteTest.this)#RequestTransformer
    Definition Classes
    RequestBuilding
  54. def marshal[T](value: T)(implicit arg0: ToEntityMarshaller[T], ec: ExecutionContext, mat: Materializer): Strict
    Definition Classes
    MarshallingTestUtils
  55. def marshalToResponse[T](value: T, request: HttpRequest = HttpRequest())(implicit arg0: ToResponseMarshaller[T], ec: ExecutionContext): HttpResponse
    Definition Classes
    MarshallingTestUtils
  56. def marshalToResponseForRequestAccepting[T](value: T, mediaRanges: MediaRange*)(implicit arg0: ToResponseMarshaller[T], ec: ExecutionContext): HttpResponse
    Definition Classes
    MarshallingTestUtils
  57. def marshallingTimeout: FiniteDuration
    Definition Classes
    MarshallingTestUtils
  58. implicit val materializer: ActorMaterializer
  59. def mediaType: MediaType
  60. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  61. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  62. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  63. def rejection: Rejection
  64. def rejections: Seq[Rejection]
  65. def removeHeader(clazz: Class[_]): (RouteTest.this)#RequestTransformer
    Definition Classes
    RequestBuilding
  66. def removeHeader[T <: HttpHeader](implicit arg0: ClassTag[T]): (RouteTest.this)#RequestTransformer
    Definition Classes
    RequestBuilding
  67. def removeHeader(headerName: String): (RouteTest.this)#RequestTransformer
    Definition Classes
    RequestBuilding
  68. def removeHeaders(names: String*): (RouteTest.this)#RequestTransformer
    Definition Classes
    RequestBuilding
  69. def response: HttpResponse
  70. def responseAs[T](implicit arg0: FromResponseUnmarshaller[T], arg1: ClassTag[T], timeout: Duration = 1.second): T
  71. def responseEntity: HttpEntity
  72. def runRoute: ((RouteTest.this)#RouteTestResult) ⇒ (RouteTest.this)#RouteTestResult

    A dummy that can be used as ~> runRoute to run the route but without blocking for the result.

    A dummy that can be used as ~> runRoute to run the route but without blocking for the result. The result of the pipeline is the result that can later be checked with check. See the "separate running route from checking" example from ScalatestRouteTestSpec.scala.

  73. def status: StatusCode
  74. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  75. implicit val system: ActorSystem
  76. def testConfig: Config
    Definition Classes
    RouteTestMarshallingTestUtils
  77. def testConfigSource: String
  78. def toString(): String
    Definition Classes
    AnyRef → Any
  79. def trailer: Seq[HttpHeader]
  80. def unmarshal[T](entity: HttpEntity)(implicit arg0: FromEntityUnmarshaller[T], ec: ExecutionContext, mat: Materializer): Try[T]
    Definition Classes
    MarshallingTestUtils
  81. def unmarshalValue[T](entity: HttpEntity)(implicit arg0: FromEntityUnmarshaller[T], ec: ExecutionContext, mat: Materializer): T
    Definition Classes
    MarshallingTestUtils
  82. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  83. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  84. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  85. def [B](y: B): (RouteTest, B)
    Implicit
    This member is added by an implicit conversion from RouteTest to ArrowAssoc[RouteTest] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
  86. object DefaultHostInfo extends Serializable
  87. object TildeArrow

Shadowed Implicit Value Members

  1. def ~>[B](f: (RouteTest) ⇒ B): B
    Implicit
    This member is added by an implicit conversion from RouteTest to client.RequestBuilding.WithTransformation[RouteTest] performed by method WithTransformation in akka.http.scaladsl.client.TransformerPipelineSupport.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (routeTest: client.RequestBuilding.WithTransformation[RouteTest]).~>(f)
    Definition Classes
    WithTransformation
  2. def ~>[B](f: (RouteTest) ⇒ B): B
    Implicit
    This member is added by an implicit conversion from RouteTest to client.TransformerPipelineSupport.WithTransformation[RouteTest] performed by method WithTransformation in akka.http.scaladsl.client.TransformerPipelineSupport.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (routeTest: client.TransformerPipelineSupport.WithTransformation[RouteTest]).~>(f)
    Definition Classes
    WithTransformation

Inherited from MarshallingTestUtils

Inherited from RouteTestResultComponent

Inherited from WSTestRequestBuilding

Inherited from RequestBuilding

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion WithTransformation from RouteTest to client.RequestBuilding.WithTransformation[RouteTest]

Inherited by implicit conversion WithTransformation from RouteTest to client.TransformerPipelineSupport.WithTransformation[RouteTest]

Inherited by implicit conversion any2stringadd from RouteTest to any2stringadd[RouteTest]

Inherited by implicit conversion StringFormat from RouteTest to StringFormat[RouteTest]

Inherited by implicit conversion Ensuring from RouteTest to Ensuring[RouteTest]

Inherited by implicit conversion ArrowAssoc from RouteTest to ArrowAssoc[RouteTest]

Ungrouped