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:
Valentin Kipyatkov
2015-04-13 18:11:53 +03:00
parent 63825c45dd
commit bb808b5620
1303 changed files with 1741 additions and 1733 deletions
@@ -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: "."