Use test path relative to testDataPath in fixture.configureByFile to be complaint with 193

This commit is contained in:
Vladimir Dolzhenko
2019-09-29 09:45:42 +02:00
parent 7c80c6ba63
commit 3e2dac6586
8 changed files with 32 additions and 26 deletions
@@ -62,6 +62,9 @@ abstract class KotlinLightCodeInsightFixtureTestCase : KotlinLightCodeInsightFix
protected open val captureExceptions = true
protected fun testPath(): String =
File(testDataPath, fileName()).toString()
override fun setUp() {
super.setUp()
// We do it here to avoid possible initialization problems