add test for generating annotations on the setter of a delegated property; (KT-4169); properly generate backing field for delegated property with a setter

This commit is contained in:
Dmitry Jemerov
2015-03-04 15:05:07 +01:00
committed by Andrey Breslav
parent b4eb3e0f43
commit c029fa2ed0
3 changed files with 37 additions and 4 deletions
@@ -93,6 +93,12 @@ public class BlackBoxWithStdlibCodegenTestGenerated extends AbstractBlackBoxCode
doTestWithStdlib(fileName);
}
@TestMetadata("delegatedPropertySetter.kt")
public void testDelegatedPropertySetter() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/annotations/delegatedPropertySetter.kt");
doTestWithStdlib(fileName);
}
@TestMetadata("jvmFlags.kt")
public void testJvmFlags() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/annotations/jvmFlags.kt");