ktor-client-content-negotiation-tests
Module Contents
alltypes
Module Contents
abstract
class
ClientContentNegotiationTest
:
TestWithKtor
Module Contents
ClientContentNegotiationTest
(
)
data
class
Response
<
T
>
Module Contents
Response
(
ok
:
Boolean
,
result
:
T
?
)
val
ok
:
Boolean
val
result
:
T
?
sealed
class
TestSealed
Module Contents
data
class
A
:
TestSealed
Module Contents
A
(
valueA
:
String
)
val
valueA
:
String
data
class
B
:
TestSealed
Module Contents
B
(
valueB
:
String
)
val
valueB
:
String
data
class
User
Module Contents
User
(
name
:
String
,
age
:
Int
)
val
age
:
Int
val
name
:
String
data
class
Widget
Module Contents
Widget
(
name
:
String
,
value
:
Int
,
tags
:
List
<
String
>
=
emptyList()
)
val
name
:
String
val
tags
:
List
<
String
>
val
value
:
Int
protected
fun
TestClientBuilder
<
*
>
.
configClient
(
)
:
Unit
protected
abstract
val
converter
:
ContentConverter
?
protected
open
fun
createRoutes
(
routing
:
Routing
)
:
Unit
open
val
server
:
ApplicationEngine
fun
testCustomContentTypes
(
)
:
<ERROR CLASS>
fun
testCustomContentTypesMultiple
(
)
:
<ERROR CLASS>
fun
testCustomContentTypesWildcard
(
)
:
<ERROR CLASS>
fun
testEmptyBody
(
)
:
<ERROR CLASS>
fun
testGeneric
(
)
:
<ERROR CLASS>
open
fun
testSealed
(
)
:
<ERROR CLASS>
fun
testSerializeNested
(
)
:
<ERROR CLASS>
fun
testSerializeSimple
(
)
:
<ERROR CLASS>
package
io.ktor.client.features.contentnegotiation.tests
Module Contents
abstract
class
ClientContentNegotiationTest
:
TestWithKtor
Module Contents
ClientContentNegotiationTest
(
)
data
class
Response
<
T
>
Module Contents
Response
(
ok
:
Boolean
,
result
:
T
?
)
val
ok
:
Boolean
val
result
:
T
?
sealed
class
TestSealed
Module Contents
data
class
A
:
TestSealed
Module Contents
A
(
valueA
:
String
)
val
valueA
:
String
data
class
B
:
TestSealed
Module Contents
B
(
valueB
:
String
)
val
valueB
:
String
data
class
User
Module Contents
User
(
name
:
String
,
age
:
Int
)
val
age
:
Int
val
name
:
String
data
class
Widget
Module Contents
Widget
(
name
:
String
,
value
:
Int
,
tags
:
List
<
String
>
=
emptyList()
)
val
name
:
String
val
tags
:
List
<
String
>
val
value
:
Int
protected
fun
TestClientBuilder
<
*
>
.
configClient
(
)
:
Unit
protected
abstract
val
converter
:
ContentConverter
?
protected
open
fun
createRoutes
(
routing
:
Routing
)
:
Unit
open
val
server
:
ApplicationEngine
fun
testCustomContentTypes
(
)
:
<ERROR CLASS>
fun
testCustomContentTypesMultiple
(
)
:
<ERROR CLASS>
fun
testCustomContentTypesWildcard
(
)
:
<ERROR CLASS>
fun
testEmptyBody
(
)
:
<ERROR CLASS>
fun
testGeneric
(
)
:
<ERROR CLASS>
open
fun
testSealed
(
)
:
<ERROR CLASS>
fun
testSerializeNested
(
)
:
<ERROR CLASS>
fun
testSerializeSimple
(
)
:
<ERROR CLASS>