Added test for KT-12124

This commit is contained in:
Valentin Kipyatkov
2016-04-28 21:14:13 +03:00
parent 182ade19e9
commit fe2953090e
3 changed files with 20 additions and 0 deletions
@@ -0,0 +1,7 @@
class JavaClass {
public void setFoo(String value) {
}
public String getFoo() {
return "";
}
}
@@ -0,0 +1,7 @@
val v = JavaClass().apply {
foo = ""
foo.<caret>
}
// EXIST: length
// EXIST: substring
@@ -185,6 +185,12 @@ public class MultiFileJvmBasicCompletionTestGenerated extends AbstractMultiFileJ
doTest(fileName);
}
@TestMetadata("KT12124")
public void testKT12124() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("idea/idea-completion/testData/basic/multifile/KT12124/");
doTest(fileName);
}
@TestMetadata("MoreSpecificExtensionGeneric")
public void testMoreSpecificExtensionGeneric() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("idea/idea-completion/testData/basic/multifile/MoreSpecificExtensionGeneric/");