Added test for KT-12124
This commit is contained in:
@@ -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
|
||||||
+6
@@ -185,6 +185,12 @@ public class MultiFileJvmBasicCompletionTestGenerated extends AbstractMultiFileJ
|
|||||||
doTest(fileName);
|
doTest(fileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("KT12124")
|
||||||
|
public void testKT12124() throws Exception {
|
||||||
|
String fileName = KotlinTestUtils.navigationMetadata("idea/idea-completion/testData/basic/multifile/KT12124/");
|
||||||
|
doTest(fileName);
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("MoreSpecificExtensionGeneric")
|
@TestMetadata("MoreSpecificExtensionGeneric")
|
||||||
public void testMoreSpecificExtensionGeneric() throws Exception {
|
public void testMoreSpecificExtensionGeneric() throws Exception {
|
||||||
String fileName = KotlinTestUtils.navigationMetadata("idea/idea-completion/testData/basic/multifile/MoreSpecificExtensionGeneric/");
|
String fileName = KotlinTestUtils.navigationMetadata("idea/idea-completion/testData/basic/multifile/MoreSpecificExtensionGeneric/");
|
||||||
|
|||||||
Reference in New Issue
Block a user