ktor-server-test-suites / io.ktor.server.testing.suites / HttpServerTestSuite

HttpServerTestSuite

abstract class HttpServerTestSuite<TEngine : ApplicationEngine, TConfiguration : Configuration> : EngineTestBase<TEngine, TConfiguration>

Constructors

<init>

HttpServerTestSuite(hostFactory: ApplicationEngineFactory<TEngine, TConfiguration>)

Functions

test404

fun test404(): Unit

testClosedConnection

fun testClosedConnection(): Unit

testConnectionReset

fun testConnectionReset(): Unit

testCookie

fun testCookie(): Unit

testFormUrlEncoded

fun testFormUrlEncoded(): Unit

testHeadRequest

open fun testHeadRequest(): Unit

testHeader

fun testHeader(): Unit

testHeadersReturnCorrectly

fun testHeadersReturnCorrectly(): Unit

testParentContextPropagates

fun testParentContextPropagates(): Unit

testPathComponentsDecoding

fun testPathComponentsDecoding(): Unit

testProxyHeaders

fun testProxyHeaders(): Unit

testRedirect

fun testRedirect(): Unit

testRedirectFromInterceptor

fun testRedirectFromInterceptor(): Unit

testRemoteHost

fun testRemoteHost(): Unit

testRequestParameters

fun testRequestParameters(): Unit

testRequestParts

fun testRequestParts(): Unit

testRequestTwiceInOneBufferWithKeepAlive

fun testRequestTwiceInOneBufferWithKeepAlive(): Unit

testRequestTwiceNoKeepAlive

fun testRequestTwiceNoKeepAlive(): Unit

testRequestTwiceWithKeepAlive

fun testRequestTwiceWithKeepAlive(): Unit

testServerPush

fun testServerPush(): Unit

testStatusCodeDirect

fun testStatusCodeDirect(): Unit

testStatusCodeViaResponseObject

fun testStatusCodeViaResponseObject(): Unit

testStatusPages404

fun testStatusPages404(): Unit

testUpgrade

open fun testUpgrade(): Unit