K1/K2: add tests for KT-55811

This commit is contained in:
Anastasia.Nekrasova
2023-12-21 16:41:37 +02:00
committed by Space Team
parent 5150812838
commit 867be40c8e
8 changed files with 151 additions and 0 deletions
@@ -41913,6 +41913,24 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
runTest("compiler/testData/diagnostics/testsWithStdLib/annotations/subclassOptInRequired/InheritingDifferentOptInLevels.kt");
}
@Test
@TestMetadata("InnerAndNestedClasses.kt")
public void testInnerAndNestedClasses() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/annotations/subclassOptInRequired/InnerAndNestedClasses.kt");
}
@Test
@TestMetadata("InnerClasses.kt")
public void testInnerClasses() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/annotations/subclassOptInRequired/InnerClasses.kt");
}
@Test
@TestMetadata("NestedClasses.kt")
public void testNestedClasses() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/annotations/subclassOptInRequired/NestedClasses.kt");
}
@Test
@TestMetadata("NotApiMarkerAsArgument.kt")
public void testNotApiMarkerAsArgument() throws Exception {
@@ -41913,6 +41913,24 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
runTest("compiler/testData/diagnostics/testsWithStdLib/annotations/subclassOptInRequired/InheritingDifferentOptInLevels.kt");
}
@Test
@TestMetadata("InnerAndNestedClasses.kt")
public void testInnerAndNestedClasses() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/annotations/subclassOptInRequired/InnerAndNestedClasses.kt");
}
@Test
@TestMetadata("InnerClasses.kt")
public void testInnerClasses() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/annotations/subclassOptInRequired/InnerClasses.kt");
}
@Test
@TestMetadata("NestedClasses.kt")
public void testNestedClasses() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/annotations/subclassOptInRequired/NestedClasses.kt");
}
@Test
@TestMetadata("NotApiMarkerAsArgument.kt")
public void testNotApiMarkerAsArgument() throws Exception {