Change Signature: Search & process as-property usages of Java methods (This ixes some muted tests on Change Signature for properties).

Improve test data
This commit is contained in:
Alexey Sedunov
2015-10-21 18:24:10 +03:00
committed by Alexey Sedunov
parent ad0c12935b
commit 8d3296e08d
23 changed files with 283 additions and 116 deletions
@@ -6,6 +6,12 @@ class C: A(0) {
override var s: String = 1
}
class D(override var s: String) : J()
class E : J() {
override var s: String = 1
}
fun test() {
val t1 = A(0).s
A(0).s = 1
@@ -16,6 +22,12 @@ fun test() {
val t3 = C().s
C().s = 3
val t4 = J().getS()
J().setS(4)
val t4 = J().s
J().s = 4
val t5 = D().s
D().s = 5
val t6 = E().s
E().s = 6
}