[Test] Add tests for KT-63076

This commit is contained in:
Dmitriy Novozhilov
2023-12-11 16:30:48 +02:00
committed by Space Team
parent 63d615d220
commit be6694f049
10 changed files with 410 additions and 0 deletions
@@ -22419,6 +22419,30 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
runTest("compiler/testData/diagnostics/tests/j+k/properties/staticFieldPropertyOverloads.kt");
}
@Test
@TestMetadata("syntheticPropertyFromKotlinGetter_javaOrigin.kt")
public void testSyntheticPropertyFromKotlinGetter_javaOrigin() throws Exception {
runTest("compiler/testData/diagnostics/tests/j+k/properties/syntheticPropertyFromKotlinGetter_javaOrigin.kt");
}
@Test
@TestMetadata("syntheticPropertyFromKotlinGetter_kotlinOrigin.kt")
public void testSyntheticPropertyFromKotlinGetter_kotlinOrigin() throws Exception {
runTest("compiler/testData/diagnostics/tests/j+k/properties/syntheticPropertyFromKotlinGetter_kotlinOrigin.kt");
}
@Test
@TestMetadata("syntheticPropertyFromKotlinGetter_mixedOrigin_1.kt")
public void testSyntheticPropertyFromKotlinGetter_mixedOrigin_1() throws Exception {
runTest("compiler/testData/diagnostics/tests/j+k/properties/syntheticPropertyFromKotlinGetter_mixedOrigin_1.kt");
}
@Test
@TestMetadata("syntheticPropertyFromKotlinGetter_mixedOrigin_2.kt")
public void testSyntheticPropertyFromKotlinGetter_mixedOrigin_2() throws Exception {
runTest("compiler/testData/diagnostics/tests/j+k/properties/syntheticPropertyFromKotlinGetter_mixedOrigin_2.kt");
}
@Test
@TestMetadata("unitVsVoid.kt")
public void testUnitVsVoid() throws Exception {
@@ -22419,6 +22419,30 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
runTest("compiler/testData/diagnostics/tests/j+k/properties/staticFieldPropertyOverloads.kt");
}
@Test
@TestMetadata("syntheticPropertyFromKotlinGetter_javaOrigin.kt")
public void testSyntheticPropertyFromKotlinGetter_javaOrigin() throws Exception {
runTest("compiler/testData/diagnostics/tests/j+k/properties/syntheticPropertyFromKotlinGetter_javaOrigin.kt");
}
@Test
@TestMetadata("syntheticPropertyFromKotlinGetter_kotlinOrigin.kt")
public void testSyntheticPropertyFromKotlinGetter_kotlinOrigin() throws Exception {
runTest("compiler/testData/diagnostics/tests/j+k/properties/syntheticPropertyFromKotlinGetter_kotlinOrigin.kt");
}
@Test
@TestMetadata("syntheticPropertyFromKotlinGetter_mixedOrigin_1.kt")
public void testSyntheticPropertyFromKotlinGetter_mixedOrigin_1() throws Exception {
runTest("compiler/testData/diagnostics/tests/j+k/properties/syntheticPropertyFromKotlinGetter_mixedOrigin_1.kt");
}
@Test
@TestMetadata("syntheticPropertyFromKotlinGetter_mixedOrigin_2.kt")
public void testSyntheticPropertyFromKotlinGetter_mixedOrigin_2() throws Exception {
runTest("compiler/testData/diagnostics/tests/j+k/properties/syntheticPropertyFromKotlinGetter_mixedOrigin_2.kt");
}
@Test
@TestMetadata("unitVsVoid.kt")
public void testUnitVsVoid() throws Exception {