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