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

ContentTestSuite

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

Constructors

<init>

ContentTestSuite(hostFactory: ApplicationEngineFactory<TEngine, TConfiguration>)

Functions

testBinary

fun testBinary(): Unit

testBinaryUsingChannel

fun testBinaryUsingChannel(): Unit

testChunked

open fun testChunked(): Unit

testEchoBlocking

fun testEchoBlocking(): Unit

testJarFileContent

fun testJarFileContent(): Unit

testLocalFileContent

fun testLocalFileContent(): Unit

testLocalFileContentRange

fun testLocalFileContentRange(): Unit

testMultipartFileUpload

fun testMultipartFileUpload(): Unit

testMultipartFileUploadLarge

fun testMultipartFileUploadLarge(): Unit

testReceiveInputStream

fun testReceiveInputStream(): Unit

testRequestBodyAsyncEcho

fun testRequestBodyAsyncEcho(): Unit

testRequestContentFormData

fun testRequestContentFormData(): Unit

testRequestContentInputStream

fun testRequestContentInputStream(): Unit

testRequestContentString

fun testRequestContentString(): Unit

testSendTextWithContentType

fun testSendTextWithContentType(): Unit

testStaticServe

fun testStaticServe(): Unit

testStaticServeFromDir

fun testStaticServeFromDir(): Unit

testStream

fun testStream(): Unit

testStreamNoFlush

fun testStreamNoFlush(): Unit

testTextContent

fun testTextContent(): Unit

testURIContent

fun testURIContent(): Unit

testURIContentLocalFile

fun testURIContentLocalFile(): Unit

Companion Object Properties

classesDir

const val classesDir: String

coreClassesDir

const val coreClassesDir: String