JS: add test to prove that KT-14419 is not more reproducible. Add test to prove that extension delegate with extension getValue is translated correctly.

This commit is contained in:
Alexey Andreev
2016-12-13 18:05:11 +03:00
parent b21f906856
commit b50bfaf071
8 changed files with 134 additions and 0 deletions
@@ -5768,6 +5768,18 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis
doTest(fileName);
}
@TestMetadata("extensionDelegatesWithSameNames.kt")
public void testExtensionDelegatesWithSameNames() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/delegatedProperty/extensionDelegatesWithSameNames.kt");
doTest(fileName);
}
@TestMetadata("extensionPropertyAndExtensionGetValue.kt")
public void testExtensionPropertyAndExtensionGetValue() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/delegatedProperty/extensionPropertyAndExtensionGetValue.kt");
doTest(fileName);
}
@TestMetadata("genericDelegate.kt")
public void testGenericDelegate() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/delegatedProperty/genericDelegate.kt");