public class UtilsKt
| Modifier and Type | Method and Description |
|---|---|
static io.ktor.http.ContentType |
contentType(TestApplicationResponse $receiver)
Return parsed content type from the test response
|
static void |
it(On $receiver,
java.lang.String description,
kotlin.jvm.functions.Function1<? super io.ktor.server.testing.It,kotlin.Unit> body)
DSL function for test test case assertions
|
static void |
on(java.lang.String comment,
kotlin.jvm.functions.Function1<? super io.ktor.server.testing.On,kotlin.Unit> body)
DSL for creating a test case
|
public static void on(java.lang.String comment,
kotlin.jvm.functions.Function1<? super io.ktor.server.testing.On,kotlin.Unit> body)
DSL for creating a test case
public static void it(On $receiver, java.lang.String description, kotlin.jvm.functions.Function1<? super io.ktor.server.testing.It,kotlin.Unit> body)
DSL function for test test case assertions
public static io.ktor.http.ContentType contentType(TestApplicationResponse $receiver)
Return parsed content type from the test response