Test: add K2 version of IR source ranges test

After this commit there are three different versions of
IR source range tests: classic (K1), FIR/PSI (K2), FIR/LT (K2).
Since 5 tests behave differently for FIR/PSI and FIR/LT,
in this commit their test data was set to FIR/LT state,
so relevant 5 tests are failing for FIR/PSI right now.
They will be fixed in two subsequent commits

Related to KT-59864, KT-60111, KT-59584
This commit is contained in:
Mikhail Glukhikh
2023-09-28 15:20:08 +02:00
committed by Space Team
parent 072757cdde
commit 1d631500f5
22 changed files with 1483 additions and 0 deletions
@@ -379,6 +379,14 @@ fun generateJUnit5CompilerTests(args: Array<String>, mainClassName: String?) {
model("ir/irText")
}
testClass<AbstractFirLightTreeJvmIrSourceRangesTest> {
model("ir/sourceRanges")
}
testClass<AbstractFirPsiJvmIrSourceRangesTest> {
model("ir/sourceRanges")
}
testClass<AbstractFirLightTreeBytecodeTextTest> {
model("codegen/bytecodeText")
}