Added a test
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
import java.io.File
|
||||
|
||||
fun foo(file: File?) {
|
||||
file.<caret>
|
||||
}
|
||||
|
||||
// EXIST: { lookupString: "absolutePath", itemText: "absolutePath", tailText: " (from getAbsolutePath())", typeText: "String!", attributes: "grayed" }
|
||||
// ABSENT: getAbsolutePath
|
||||
+6
@@ -2316,6 +2316,12 @@ public class JvmBasicCompletionTestGenerated extends AbstractJvmBasicCompletionT
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("NullableReceiver.kt")
|
||||
public void testNullableReceiver() throws Exception {
|
||||
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/java/syntheticExtensions/NullableReceiver.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("SafeCall.kt")
|
||||
public void testSafeCall() throws Exception {
|
||||
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/basic/java/syntheticExtensions/SafeCall.kt");
|
||||
|
||||
Reference in New Issue
Block a user