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,33 @@
class C {
fun foo(){}
fun bar(p: Int) {}
fun zoo(p1: Int, p2: Int){}
val prop: Int = 1
}
fun C.xxx() {}
fun C.yyy(p: Int) {}
fun C.zzz(p1: Int, p2: Int) {}
val C.extensionProp: Int get() = 1
fun <A, B> A.and(that: B): Pair<A, B> = Pair(this, that)
fun String.ttt(p: Int) {}
fun f() {
C() <caret>
}
// ABSENT: "foo"
// EXIST: "bar"
// ABSENT: "zoo"
// ABSENT: "prop"
// ABSENT: "xxx"
// EXIST: "yyy"
// ABSENT: "zzz"
// ABSENT: "extensionProp"
// EXIST: "and"
// ABSENT: "ttt"