[FIR2IR] Add test for problematic KT-42359

This commit is contained in:
Mikhail Glukhikh
2020-09-30 18:57:51 +03:00
parent 49307e243c
commit fb4f27e136
4 changed files with 124 additions and 0 deletions
@@ -1717,6 +1717,11 @@ public class IrTextTestCaseGenerated extends AbstractIrTextTestCase {
KotlinTestUtils.runTest(this::doTest, this, testDataFilePath);
}
@TestMetadata("AllCandidates.kt")
public void testAllCandidates() throws Exception {
runTest("compiler/testData/ir/irText/firProblems/AllCandidates.kt");
}
public void testAllFilesPresentInFirProblems() throws Exception {
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/irText/firProblems"), Pattern.compile("^(.+)\\.kt$"), null, true);
}