blob: 727493c662a4f2a31d3beaa0c9335e3bde55ab00 [file] [log] [blame]
Roman Elizarov660c2d72020-02-14 13:18:37 +03001/*
2 * Copyright 2016-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3 */
4
5// This file was automatically generated from ${file.name} by Knit tool. Do not edit.
6package ${test.package}
7
Roman Elizarovb97ebfc2020-10-08 16:04:41 +03008import kotlinx.coroutines.knit.*
Roman Elizarov660c2d72020-02-14 13:18:37 +03009import org.junit.Test
10
11class ${test.name} {
12<#list cases as case><#assign method = test["mode.${case.param}"]!"custom">
13 @Test
14 fun test${case.name}() {
15 test("${case.name}") { ${case.knit.package}.${case.knit.name}.main() }<#if method != "custom">.${method}(
16<#list case.lines as line>
17 "${line?j_string}"<#sep>,</#sep>
18</#list>
19 )
20<#else>.also { lines ->
21 check(${case.param})
22 }
23</#if>
24 }
25<#sep>
26
27</#list>
28}