[TEST] Migrate AbstractFirDiagnosticsWithLightTreeTest to new test runners

Also this commit adds AbstractTwoAttributesMetaInfoProcessor which can
  be used for reporting diagnostics with two attributes (OI/NI, PSI/Light tree)
This commit is contained in:
Dmitriy Novozhilov
2020-12-15 16:07:26 +03:00
parent 7e9deb7602
commit 49d9b85950
12 changed files with 757 additions and 313 deletions
@@ -603,14 +603,9 @@ fun main(args: Array<String>) {
}
testGroup("compiler/fir/analysis-tests/tests-gen", "compiler/fir/analysis-tests/testData") {
testClass<AbstractFirDiagnosticsWithLightTreeTest> {
model("resolve", pattern = KT_WITHOUT_DOTS_IN_NAME)
}
testClass<AbstractLazyBodyIsNotTouchedTilContractsPhaseTest> {
model("resolve", pattern = KT_WITHOUT_DOTS_IN_NAME)
}
}
testGroup("compiler/fir/analysis-tests/tests-gen", "compiler/testData") {