Switch JetMultifileBasicCompletionTest to generated approach
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
package second
|
||||
|
||||
class Some
|
||||
|
||||
// Two function to prevent automatic insert
|
||||
fun Some.extensionFunction1() = 12
|
||||
fun Some.extensionFunction2() = 12
|
||||
|
||||
fun foo() = Some()
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
package second
|
||||
|
||||
class Some
|
||||
|
||||
// Two function to prevent automatic insert
|
||||
fun Some.extensionFunction1(): Int = 12
|
||||
fun Some.extensionFunction2(): Int = 12
|
||||
|
||||
fun foo(): Some = Some()
|
||||
@@ -1,11 +0,0 @@
|
||||
package first
|
||||
|
||||
fun firstFun() {
|
||||
val a = SomeUnknownClass()
|
||||
a.hello<caret>
|
||||
}
|
||||
|
||||
// ABSENT: helloFun
|
||||
// ABSENT: helloFunPreventAutoInsert
|
||||
// ABSENT: helloWithParams
|
||||
// NUMBER: 0
|
||||
@@ -1,11 +0,0 @@
|
||||
package second
|
||||
|
||||
fun String.helloFun() {
|
||||
}
|
||||
|
||||
fun String.helloWithParams(i : Int) : String {
|
||||
return ""
|
||||
}
|
||||
|
||||
fun String.helloFunPreventAutoInsert() {
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
package first
|
||||
|
||||
import second.SomeTestClass
|
||||
|
||||
fun firstFun() {
|
||||
SomeTestClass().some<caret>
|
||||
}
|
||||
|
||||
// EXIST: someProperty
|
||||
// EXIST: someOtherProperty
|
||||
// EXIST: someSelfProperty
|
||||
// NUMBER: 3
|
||||
@@ -1,8 +0,0 @@
|
||||
package second
|
||||
|
||||
class SomeTestClass() {
|
||||
}
|
||||
|
||||
val SomeTestClass.someProperty = 12
|
||||
var SomeTestClass.someOtherProperty = ""
|
||||
val SomeTestClass.someSelfProperty = SomeTestClass()
|
||||
+1
-1
@@ -6,4 +6,4 @@ class Some {
|
||||
fun testFunction2() : Int = 12
|
||||
}
|
||||
|
||||
fun someWithLiteral(body: (Some) -> Unit) = 12
|
||||
fun someWithLiteral(body: (Some) -> Unit): Int = 12
|
||||
Reference in New Issue
Block a user