[Tests] Add tests for matching of expect property against Java property
...via typealias. Java property can be either field or method, which overrides Kotlin property. ^KT-63624
This commit is contained in:
committed by
Space Team
parent
c322644860
commit
3f95e99e29
+42
@@ -26190,6 +26190,48 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
|
||||
public void testParameterNames() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/multiplatform/java/parameterNames.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyAgainstFakeOverrideInJava.kt")
|
||||
public void testPropertyAgainstFakeOverrideInJava() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/multiplatform/java/propertyAgainstFakeOverrideInJava.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyAgainstJavaMethod.kt")
|
||||
public void testPropertyAgainstJavaMethod() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/multiplatform/java/propertyAgainstJavaMethod.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyAgainstJavaPrivateFieldAndPublicMethod.kt")
|
||||
public void testPropertyAgainstJavaPrivateFieldAndPublicMethod() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/multiplatform/java/propertyAgainstJavaPrivateFieldAndPublicMethod.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyAgainstJavaPublicFieldAndPublicGetter.kt")
|
||||
public void testPropertyAgainstJavaPublicFieldAndPublicGetter() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/multiplatform/java/propertyAgainstJavaPublicFieldAndPublicGetter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyAgainstValInJavaWithExtraSetter.kt")
|
||||
public void testPropertyAgainstValInJavaWithExtraSetter() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/multiplatform/java/propertyAgainstValInJavaWithExtraSetter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varPropertyAgainstJavaField.kt")
|
||||
public void testVarPropertyAgainstJavaField() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/multiplatform/java/varPropertyAgainstJavaField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varPropertyAgainstJavaGetterAndNonFinalField.kt")
|
||||
public void testVarPropertyAgainstJavaGetterAndNonFinalField() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/multiplatform/java/varPropertyAgainstJavaGetterAndNonFinalField.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
|
||||
+42
@@ -26190,6 +26190,48 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
|
||||
public void testParameterNames() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/multiplatform/java/parameterNames.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyAgainstFakeOverrideInJava.kt")
|
||||
public void testPropertyAgainstFakeOverrideInJava() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/multiplatform/java/propertyAgainstFakeOverrideInJava.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyAgainstJavaMethod.kt")
|
||||
public void testPropertyAgainstJavaMethod() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/multiplatform/java/propertyAgainstJavaMethod.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyAgainstJavaPrivateFieldAndPublicMethod.kt")
|
||||
public void testPropertyAgainstJavaPrivateFieldAndPublicMethod() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/multiplatform/java/propertyAgainstJavaPrivateFieldAndPublicMethod.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyAgainstJavaPublicFieldAndPublicGetter.kt")
|
||||
public void testPropertyAgainstJavaPublicFieldAndPublicGetter() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/multiplatform/java/propertyAgainstJavaPublicFieldAndPublicGetter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyAgainstValInJavaWithExtraSetter.kt")
|
||||
public void testPropertyAgainstValInJavaWithExtraSetter() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/multiplatform/java/propertyAgainstValInJavaWithExtraSetter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varPropertyAgainstJavaField.kt")
|
||||
public void testVarPropertyAgainstJavaField() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/multiplatform/java/varPropertyAgainstJavaField.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varPropertyAgainstJavaGetterAndNonFinalField.kt")
|
||||
public void testVarPropertyAgainstJavaGetterAndNonFinalField() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/multiplatform/java/varPropertyAgainstJavaGetterAndNonFinalField.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
|
||||
Reference in New Issue
Block a user