[FIR] Add a test for KT-26045
^KT-26045 Fixed Merge-request: KT-MR-13023 Merged-by: Nikolay Lunyak <Nikolay.Lunyak@jetbrains.com>
This commit is contained in:
committed by
Space Team
parent
951830fcef
commit
9e57aba448
+6
@@ -58,6 +58,12 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
|
||||
runTest("compiler/testData/diagnostics/tests/AbstractInTrait.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("addTestForFalsePositiveDuplicateLabelInWhen.kt")
|
||||
public void testAddTestForFalsePositiveDuplicateLabelInWhen() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/addTestForFalsePositiveDuplicateLabelInWhen.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInTests() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform");
|
||||
|
||||
+6
@@ -58,6 +58,12 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
|
||||
runTest("compiler/testData/diagnostics/tests/AbstractInTrait.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("addTestForFalsePositiveDuplicateLabelInWhen.kt")
|
||||
public void testAddTestForFalsePositiveDuplicateLabelInWhen() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/addTestForFalsePositiveDuplicateLabelInWhen.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInTests() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform");
|
||||
|
||||
Reference in New Issue
Block a user