[TEST] Introduce test-infrastructure-utils module and extract common test utilities here
This commit is contained in:
+2
-2
@@ -18,7 +18,7 @@ import org.jetbrains.kotlin.spec.utils.parsers.CommonParser
|
||||
import org.jetbrains.kotlin.spec.utils.validators.DiagnosticTestTypeValidator
|
||||
import org.jetbrains.kotlin.spec.utils.validators.SpecTestValidationException
|
||||
import org.jetbrains.kotlin.test.ConfigurationKind
|
||||
import org.jetbrains.kotlin.test.KotlinTestUtils
|
||||
import org.jetbrains.kotlin.test.util.KtTestUtil
|
||||
import org.junit.Assert
|
||||
import java.io.File
|
||||
import java.util.regex.Matcher
|
||||
@@ -41,7 +41,7 @@ abstract class AbstractDiagnosticsTestSpec : org.jetbrains.kotlin.checkers.Abstr
|
||||
val helperContent = FileUtil.loadFile(File("$HELPERS_PATH/$filename"), true)
|
||||
|
||||
|
||||
KotlinTestUtils.createFile(filename, helperContent, project)
|
||||
KtTestUtil.createFile(filename, helperContent, project)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user