Moving test data into java-specific folder
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
fun foo() {
|
||||
javax.swing.SwingUtilities.invoke<caret>
|
||||
}
|
||||
|
||||
// EXIST: { lookupString: "invokeLater", itemText: "invokeLater", tailText: "(Runnable!)", typeText: "Unit" }
|
||||
// EXIST: { lookupString: "invokeLater", itemText: "invokeLater", tailText: " {...} ((() -> Unit)!)", typeText: "Unit" }
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
import java.io.File
|
||||
|
||||
fun File.foo(absolutePath: String?) {
|
||||
<caret>
|
||||
}
|
||||
|
||||
// EXIST: getAbsolutePath
|
||||
// ABSENT: { itemText: "absolutePath", typeText: "String" }
|
||||
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
fun foo(thread: Thread) {
|
||||
thread.<caret>
|
||||
}
|
||||
|
||||
// INVOCATION_COUNT: 2
|
||||
// EXIST: { lookupString: "priority", itemText: "priority", tailText: " (from getPriority()/setPriority())", typeText: "Int" }
|
||||
// EXIST: getPriority
|
||||
// EXIST: setPriority
|
||||
+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!" }
|
||||
// ABSENT: getAbsolutePath
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
fun Thread.foo(urlConnection: java.net.URLConnection) {
|
||||
with (urlConnection) {
|
||||
<caret>
|
||||
}
|
||||
}
|
||||
|
||||
// EXIST: { lookupString: "priority", itemText: "priority", tailText: " (from getPriority()/setPriority())", typeText: "Int" }
|
||||
// EXIST: { lookupString: "isDaemon", itemText: "isDaemon", tailText: " (from isDaemon()/setDaemon())", typeText: "Boolean" }
|
||||
// EXIST: { lookupString: "url", itemText: "url", tailText: " (from getURL())", typeText: "URL!" }
|
||||
// ABSENT: getPriority
|
||||
// ABSENT: setPriority
|
||||
// ABSENT: { itemText: "isDaemon", tailText: "()" }
|
||||
// ABSENT: setDaemon
|
||||
// ABSENT: getURL
|
||||
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
fun foo(klass: Class<*>) {
|
||||
klass.<caret>
|
||||
}
|
||||
|
||||
// EXIST: simpleName
|
||||
// ABSENT: getSimpleName
|
||||
// EXIST: enclosingClass
|
||||
// ABSENT: getEnclosingClass
|
||||
// EXIST: annotations
|
||||
// ABSENT: getAnnotations
|
||||
Vendored
+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!" }
|
||||
// ABSENT: getAbsolutePath
|
||||
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
import java.io.File
|
||||
|
||||
fun foo(o: Any) {
|
||||
if (o is File) {
|
||||
o.<caret>
|
||||
}
|
||||
}
|
||||
|
||||
// EXIST: { lookupString: "absolutePath", itemText: "absolutePath", tailText: " (from getAbsolutePath())", typeText: "String!" }
|
||||
// ABSENT: getAbsolutePath
|
||||
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
import java.io.File
|
||||
|
||||
fun Any.foo() {
|
||||
if (this is File) {
|
||||
<caret>
|
||||
}
|
||||
}
|
||||
|
||||
// EXIST: { lookupString: "absolutePath", itemText: "absolutePath", tailText: " (from getAbsolutePath())", typeText: "String!" }
|
||||
// ABSENT: getAbsolutePath
|
||||
Reference in New Issue
Block a user