JVM KT-22465 don't generate accessor to private setter in other class
This commit is contained in:
Generated
+20
@@ -17108,6 +17108,26 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
|
||||
runTest("compiler/testData/codegen/box/properties/accessToPrivateSetter.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("accessorForProtectedPropertyWithPrivateSetter.kt")
|
||||
public void testAccessorForProtectedPropertyWithPrivateSetter() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/properties/accessorForProtectedPropertyWithPrivateSetter.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("accessorForProtectedPropertyWithPrivateSetterInObjectLiteral.kt")
|
||||
public void testAccessorForProtectedPropertyWithPrivateSetterInObjectLiteral() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/properties/accessorForProtectedPropertyWithPrivateSetterInObjectLiteral.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("accessorForProtectedPropertyWithPrivateSetterViaSuper.kt")
|
||||
public void testAccessorForProtectedPropertyWithPrivateSetterViaSuper() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/properties/accessorForProtectedPropertyWithPrivateSetterViaSuper.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("accessorForProtectedPropertyWithPrivateSetterWithIntermediateClass.kt")
|
||||
public void testAccessorForProtectedPropertyWithPrivateSetterWithIntermediateClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/properties/accessorForProtectedPropertyWithPrivateSetterWithIntermediateClass.kt");
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInProperties() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/properties"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR_ES6, true);
|
||||
}
|
||||
|
||||
Generated
+20
@@ -17108,6 +17108,26 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/properties/accessToPrivateSetter.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("accessorForProtectedPropertyWithPrivateSetter.kt")
|
||||
public void testAccessorForProtectedPropertyWithPrivateSetter() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/properties/accessorForProtectedPropertyWithPrivateSetter.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("accessorForProtectedPropertyWithPrivateSetterInObjectLiteral.kt")
|
||||
public void testAccessorForProtectedPropertyWithPrivateSetterInObjectLiteral() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/properties/accessorForProtectedPropertyWithPrivateSetterInObjectLiteral.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("accessorForProtectedPropertyWithPrivateSetterViaSuper.kt")
|
||||
public void testAccessorForProtectedPropertyWithPrivateSetterViaSuper() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/properties/accessorForProtectedPropertyWithPrivateSetterViaSuper.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("accessorForProtectedPropertyWithPrivateSetterWithIntermediateClass.kt")
|
||||
public void testAccessorForProtectedPropertyWithPrivateSetterWithIntermediateClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/properties/accessorForProtectedPropertyWithPrivateSetterWithIntermediateClass.kt");
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInProperties() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/properties"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true);
|
||||
}
|
||||
|
||||
+20
@@ -17213,6 +17213,26 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/properties/accessToPrivateSetter.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("accessorForProtectedPropertyWithPrivateSetter.kt")
|
||||
public void testAccessorForProtectedPropertyWithPrivateSetter() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/properties/accessorForProtectedPropertyWithPrivateSetter.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("accessorForProtectedPropertyWithPrivateSetterInObjectLiteral.kt")
|
||||
public void testAccessorForProtectedPropertyWithPrivateSetterInObjectLiteral() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/properties/accessorForProtectedPropertyWithPrivateSetterInObjectLiteral.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("accessorForProtectedPropertyWithPrivateSetterViaSuper.kt")
|
||||
public void testAccessorForProtectedPropertyWithPrivateSetterViaSuper() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/properties/accessorForProtectedPropertyWithPrivateSetterViaSuper.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("accessorForProtectedPropertyWithPrivateSetterWithIntermediateClass.kt")
|
||||
public void testAccessorForProtectedPropertyWithPrivateSetterWithIntermediateClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/properties/accessorForProtectedPropertyWithPrivateSetterWithIntermediateClass.kt");
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInProperties() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/properties"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user