pref_sources/IntelliJ/templates/kotlin-junit.xml
<templateSet group="Kotlin-JUnit">
<template name="test" value="@org.junit.Test fun `$1$`() { $END$ }" description="Kotlin JUnit test" toReformat="true" toShortenFQNames="true">
<variable name="1" expression="" defaultValue=""it should"" alwaysStopAt="true" />
<context>
<option name="KOTLIN_CLASS" value="true" />
</context>
</template>
<template name="aft" value="@org.junit.After fun $1$() { $END$ }" description="Kotlin JUnit After" toReformat="true" toShortenFQNames="true">
<variable name="1" expression="" defaultValue=""tearDown"" alwaysStopAt="true" />
<context>
<option name="KOTLIN_CLASS" value="true" />
</context>
</template>
<template name="aftc" value="companion object { @org.junit.AfterClass @JvmStatic fun $1$() { $END$ } }" description="Kotlin JUnit AfterClass" toReformat="true" toShortenFQNames="true" useStaticImport="true">
<variable name="1" expression="" defaultValue=""tearDownClass"" alwaysStopAt="true" />
<context>
<option name="KOTLIN_CLASS" value="true" />
</context>
</template>
<template name="befc" value="companion object { @org.junit.BeforeClass @JvmStatic fun $1$() { $END$ } }" description="Kotlin JUnit BeforeClass" toReformat="true" toShortenFQNames="true">
<variable name="1" expression="" defaultValue=""setUpClass"" alwaysStopAt="true" />
<context>
<option name="KOTLIN_CLASS" value="true" />
</context>
</template>
<template name="bef" value="@org.junit.Before fun $1$() { $END$ }" description="Kotlin JUnit Before" toReformat="true" toShortenFQNames="true">
<variable name="1" expression="" defaultValue=""setUp"" alwaysStopAt="true" />
<context>
<option name="KOTLIN_CLASS" value="true" />
</context>
</template>
</templateSet>