Rewrite compiler visualizer tests using new test infrastructure
This commit is contained in:
committed by
TeamCityServer
parent
4c0cab4756
commit
4ac38e5f29
@@ -11,12 +11,18 @@ dependencies {
|
||||
|
||||
testCompileOnly(project(":compiler:fir:raw-fir:psi2fir"))
|
||||
|
||||
testCompileOnly(project(":compiler:visualizer:render-psi"))
|
||||
testCompileOnly(project(":compiler:visualizer:render-fir"))
|
||||
testImplementation(project(":compiler:visualizer:render-psi"))
|
||||
testImplementation(project(":compiler:visualizer:render-fir"))
|
||||
|
||||
testCompile(commonDep("junit:junit"))
|
||||
testCompile(projectTests(":compiler:tests-common"))
|
||||
testCompile(projectTests(":compiler:fir:analysis-tests:legacy-fir-tests"))
|
||||
testApi(platform("org.junit:junit-bom:5.7.0"))
|
||||
testApi("org.junit.jupiter:junit-jupiter")
|
||||
testApi("org.junit.platform:junit-platform-commons:1.7.0")
|
||||
testApi("org.junit.platform:junit-platform-launcher:1.7.0")
|
||||
|
||||
testImplementation(projectTests(":compiler:tests-common"))
|
||||
testImplementation(projectTests(":compiler:tests-common-new"))
|
||||
testImplementation(projectTests(":compiler:test-infrastructure"))
|
||||
testImplementation(projectTests(":compiler:fir:analysis-tests:legacy-fir-tests"))
|
||||
}
|
||||
|
||||
val generationRoot = projectDir.resolve("tests-gen")
|
||||
@@ -36,8 +42,10 @@ if (kotlinBuildProperties.isInJpsBuildIdeaSync) {
|
||||
}
|
||||
}
|
||||
|
||||
projectTest {
|
||||
projectTest(parallel = true, jUnit5Enabled = true) {
|
||||
workingDir = rootDir
|
||||
|
||||
useJUnitPlatform()
|
||||
}
|
||||
|
||||
testsJar()
|
||||
|
||||
Reference in New Issue
Block a user