Moved test data

This commit is contained in:
Valentin Kipyatkov
2015-09-02 20:13:12 +03:00
parent 712df5682c
commit 64e520b689
8 changed files with 14 additions and 4 deletions
@@ -0,0 +1,8 @@
package dependency
@deprecated("", ReplaceWith("dependency.NewAnnotation"))
annotation class OldAnnotation(val p: Int = 0)
annotation class NewAnnotation(val p: Int = 0, val newP: String = "")
@NewAnnotation class C
@@ -0,0 +1,9 @@
// "Replace with 'test.Bar'" "true"
package x
import dependency.*
annotation class A(val a: NewAnnotation)
@A(NewAnnotation()) class Y
@@ -0,0 +1,10 @@
// "Replace usages of 'OldAnnotation' in whole project" "true"
package test
import dependency.NewAnnotation
fun foo(a: NewAnnotation) {
}
@NewAnnotation(1) class X
@@ -0,0 +1,8 @@
package dependency
@deprecated("", ReplaceWith("dependency.NewAnnotation"))
annotation class OldAnnotation(val p: Int = 0)
annotation class NewAnnotation(val p: Int = 0, val newP: String = "")
@OldAnnotation class C
@@ -0,0 +1,10 @@
// "Replace usages of 'OldAnnotation' in whole project" "true"
package test
import dependency.OldAnnotation
fun foo(a: OldAnnotation) {
}
@<caret>OldAnnotation(1) class X
@@ -0,0 +1,9 @@
// "Replace with 'test.Bar'" "true"
package x
import dependency.*
annotation class A(val a: OldAnnotation)
@A(OldAnnotation()) class Y