Remove separate test configurations for JDK 21

^KT-58765

Now that JDK 21 was released as stable, we can remove separate test
configurations for testing the compiler with JDK 21 and reintegrate
the corresponding test data into standard test configurations.
This commit is contained in:
Stanislav Ruban
2024-01-08 18:24:25 +02:00
committed by Space Team
parent 13b3987aab
commit a5bae12915
7 changed files with 26 additions and 120 deletions
@@ -26,10 +26,6 @@ fun generateJUnit5CompilerTests(args: Array<String>, mainClassName: String?) {
model("diagnostics/testsWithStdLib", excludedPattern = excludedCustomTestdataPattern)
}
testClass<AbstractJdk21DiagnosticTest> {
model("diagnostics/testsWithJdk21", excludedPattern = excludedCustomTestdataPattern)
}
testClass<AbstractDiagnosticUsingJavacTest> {
model("diagnostics/tests/javac", pattern = "^(.*)\\.kts?$", excludedPattern = excludedCustomTestdataPattern)
}
@@ -218,14 +214,6 @@ fun generateJUnit5CompilerTests(args: Array<String>, mainClassName: String?) {
model("diagnostics/testsWithStdLib", excludedPattern = excludedCustomTestdataPattern)
}
testClass<AbstractFirPsiJdk21DiagnosticTest> {
model("diagnostics/testsWithJdk21", excludedPattern = excludedCustomTestdataPattern)
}
testClass<AbstractFirLightTreeJdk21DiagnosticTest> {
model("diagnostics/testsWithJdk21", excludedPattern = excludedCustomTestdataPattern)
}
testClass<AbstractFirPsiWithActualizerDiagnosticsTest>(suiteTestClassName = "FirOldFrontendMPPDiagnosticsWithPsiTestGenerated") {
model("diagnostics/tests/multiplatform", pattern = "^(.*)\\.kts?$", excludedPattern = excludedCustomTestdataPattern)
}