ktor-client-content-negotiation-tests / io.ktor.client.features.contentnegotiation.tests / ClientContentNegotiationTest

ClientContentNegotiationTest

abstract class ClientContentNegotiationTest : TestWithKtor

Base class for JSON tests.

Types

Response

data class Response<T>

TestSealed

sealed class TestSealed

User

data class User

Widget

data class Widget

Constructors

<init>

ClientContentNegotiationTest()

Base class for JSON tests.

Properties

converter

abstract val converter: ContentConverter?

server

open val server: ApplicationEngine

Functions

configClient

fun TestClientBuilder<*>.configClient(): Unit

createRoutes

open fun createRoutes(routing: Routing): Unit

testCustomContentTypes

fun testCustomContentTypes(): <ERROR CLASS>

testCustomContentTypesMultiple

fun testCustomContentTypesMultiple(): <ERROR CLASS>

testCustomContentTypesWildcard

fun testCustomContentTypesWildcard(): <ERROR CLASS>

testEmptyBody

fun testEmptyBody(): <ERROR CLASS>

testGeneric

fun testGeneric(): <ERROR CLASS>

testSealed

open fun testSealed(): <ERROR CLASS>

testSerializeNested

fun testSerializeNested(): <ERROR CLASS>

testSerializeSimple

fun testSerializeSimple(): <ERROR CLASS>