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,9 @@
package second
class Some {
// Two function to prevent automatic insert
fun testFunction1() : Int = 12
fun testFunction2() : Int = 12
}
fun someWithLiteral(body: (Some) -> Unit): Int = 12
@@ -0,0 +1,11 @@
package first
// For KT-3096 No completion in function literal
import second.someWithLiteral
fun test() {
someWithLiteral({file -> file.testFu<caret>})
}
// EXIST: testFunction1, testFunction2