[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 DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
|
||||
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|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true);
|
||||
|
||||
+6
@@ -58,6 +58,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
|
||||
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|kts)$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true);
|
||||
|
||||
Reference in New Issue
Block a user