Created module idea-test-framework and moved classes needed for idea tests there
Moved tests for completion and their test data into module idea-completion
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
fun test() {
|
||||
12.in<caret>
|
||||
}
|
||||
|
||||
// TYPE: "."
|
||||
@@ -0,0 +1,5 @@
|
||||
fun test() {
|
||||
12.inc().<caret>
|
||||
}
|
||||
|
||||
// TYPE: "."
|
||||
@@ -0,0 +1,3 @@
|
||||
import kotlin.util <caret>// Comment to prevent for removing trailing spaces
|
||||
|
||||
// TYPE: "as"
|
||||
@@ -0,0 +1,3 @@
|
||||
import kotlin.util as// Comment to prevent for removing trailing spaces
|
||||
|
||||
// TYPE: "as"
|
||||
@@ -0,0 +1,6 @@
|
||||
fun main(args : Array<String>) {
|
||||
val mmm = 12
|
||||
val t = { i -> <caret>}
|
||||
}
|
||||
|
||||
// TYPE: "mm "
|
||||
@@ -0,0 +1,6 @@
|
||||
fun main(args : Array<String>) {
|
||||
val mmm = 12
|
||||
val t = { i -> mmm }
|
||||
}
|
||||
|
||||
// TYPE: "mm "
|
||||
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
<caret>// Comment to prevent for removing trailing spaces
|
||||
|
||||
// TYPE: "pub "
|
||||
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
public // Comment to prevent for removing trailing spaces
|
||||
|
||||
// TYPE: "pub "
|
||||
@@ -0,0 +1,7 @@
|
||||
fun test() {
|
||||
val v = 1
|
||||
for (i in v.<caret>) {
|
||||
}
|
||||
}
|
||||
|
||||
// TYPE: "."
|
||||
@@ -0,0 +1,7 @@
|
||||
fun test() {
|
||||
val v = 1
|
||||
for (i in v..) {
|
||||
}
|
||||
}
|
||||
|
||||
// TYPE: "."
|
||||
Reference in New Issue
Block a user