Add some tests on Java property references

This commit is contained in:
Alexander Udalov
2015-07-10 15:50:33 +03:00
parent c62f19ee82
commit 3b2be6212d
5 changed files with 53 additions and 0 deletions
@@ -285,12 +285,24 @@ public class BlackBoxWithJavaCodegenTestGenerated extends AbstractBlackBoxCodege
doTestWithJava(fileName);
}
@TestMetadata("javaStaticField")
public void testJavaStaticField() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/boxWithJava/reflection/javaStaticField/");
doTestWithJava(fileName);
}
@TestMetadata("kotlinPropertyInheritedInJava")
public void testKotlinPropertyInheritedInJava() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/boxWithJava/reflection/kotlinPropertyInheritedInJava/");
doTestWithJava(fileName);
}
@TestMetadata("noConflictOnKotlinGetterAndJavaField")
public void testNoConflictOnKotlinGetterAndJavaField() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/boxWithJava/reflection/noConflictOnKotlinGetterAndJavaField/");
doTestWithJava(fileName);
}
}
@TestMetadata("compiler/testData/codegen/boxWithJava/secondaryConstructors")