blob: a912555a43d1a481b52fa56222f87608faa4f915 [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
8import org.junit.Test
9
10class ${test.name} {
11<#list cases as case><#assign method = test["mode.${case.param}"]!"custom">
12 @Test
13 fun test${case.name}() {
14 test("${case.name}") { ${case.knit.package}.${case.knit.name}.main() }<#if method != "custom">.${method}(
15<#list case.lines as line>
16 "${line?j_string}"<#sep>,</#sep>
17</#list>
18 )
19<#else>.also { lines ->
20 check(${case.param})
21 }
22</#if>
23 }
24<#sep>
25
26</#list>
27}