Get rid of KTUsefulTestCase, improve stability of the tests

This commit is contained in:
Ilya Chernikov
2020-04-14 10:17:10 +02:00
parent 850681f5e3
commit 4ecedf2e3b
6 changed files with 27 additions and 11 deletions
@@ -7,8 +7,6 @@ plugins {
}
dependencies {
testRuntimeOnly(intellijDep()) // Should come before compiler, because of "progarded" stuff needed for tests
compileOnly(project(":compiler:frontend"))
compileOnly(project(":compiler:frontend.java"))
compileOnly(project(":compiler:psi"))
@@ -35,6 +33,7 @@ dependencies {
testCompile(commonDep("junit:junit"))
testImplementation(intellijCoreDep()) { includeJars("intellij-core") }
testRuntimeOnly(intellijDep()) { includeJars("jps-model") }
}
sourceSets {
@@ -58,7 +57,7 @@ javadocJar()
testsJar()
projectTest {
projectTest(parallel = true) {
dependsOn(":dist")
workingDir = rootDir
systemProperty("kotlin.test.script.classpath", testSourceSet.output.classesDirs.joinToString(File.pathSeparator))