Add test data for parsing of complicated <..> and <..>= combinations

^KT-52684 Related
^KT-8263 Related
This commit is contained in:
Denis.Zharkov
2022-06-08 16:19:11 +03:00
committed by teamcity
parent 149402cf00
commit 67f9025f9e
13 changed files with 326 additions and 0 deletions
@@ -31153,6 +31153,28 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
}
}
@Nested
@TestMetadata("compiler/testData/diagnostics/tests/syntax")
@TestDataPath("$PROJECT_ROOT")
public class Syntax {
@Test
public void testAllFilesPresentInSyntax() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/syntax"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
}
@Test
@TestMetadata("complicatedLTGT.kt")
public void testComplicatedLTGT() throws Exception {
runTest("compiler/testData/diagnostics/tests/syntax/complicatedLTGT.kt");
}
@Test
@TestMetadata("complicatedLTGTE.kt")
public void testComplicatedLTGTE() throws Exception {
runTest("compiler/testData/diagnostics/tests/syntax/complicatedLTGTE.kt");
}
}
@Nested
@TestMetadata("compiler/testData/diagnostics/tests/syntheticExtensions")
@TestDataPath("$PROJECT_ROOT")