FIR IDE: introduce common function to mute tests

This commit is contained in:
Ilya Kirillov
2020-11-12 17:24:47 +03:00
parent e4d2e38ea2
commit 7061608567
24 changed files with 246 additions and 141 deletions
@@ -57,6 +57,7 @@ import java.io.File
import java.io.IOException
import java.util.*
import kotlin.reflect.full.findAnnotation
import java.nio.file.Path
abstract class KotlinLightCodeInsightFixtureTestCase : KotlinLightCodeInsightFixtureTestCaseBase() {
@@ -68,6 +69,8 @@ abstract class KotlinLightCodeInsightFixtureTestCase : KotlinLightCodeInsightFix
protected fun testDataFile(): File = testDataFile(fileName())
protected fun testDataFilePath(): Path = testDataFile().toPath()
protected fun testPath(fileName: String = fileName()): String = testDataFile(fileName).toString()
protected fun testPath(): String = testPath(fileName())