• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
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
8import kotlinx.coroutines.knit.*
9import 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}