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,27 @@
class C {
var property1 = "abc" // has backing field but accessors are default - no sense to show in completion
var property2: String // no backing field
get() = "abc"
set(value){}
var property3 = "abc" // has backing field and accessor
get() = $property3 + 1
var property4 = 1
get() = $property4 + 1
var property5: String? = null
get() = $property3 + 1
fun foo(): String {
return <caret>
}
}
// ABSENT: $property1
// ABSENT: $property2
// EXIST: $property3
// ABSENT: $property4
// EXIST: { itemText: "!! $property5" }
// EXIST: { itemText: "?: $property5" }