Moved test data
This commit is contained in:
+8
@@ -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
|
||||
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
// "Replace with 'test.Bar'" "true"
|
||||
|
||||
package x
|
||||
|
||||
import dependency.*
|
||||
|
||||
annotation class A(val a: NewAnnotation)
|
||||
|
||||
@A(NewAnnotation()) class Y
|
||||
+10
@@ -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
|
||||
+8
@@ -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
|
||||
Vendored
+10
@@ -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
|
||||
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
// "Replace with 'test.Bar'" "true"
|
||||
|
||||
package x
|
||||
|
||||
import dependency.*
|
||||
|
||||
annotation class A(val a: OldAnnotation)
|
||||
|
||||
@A(OldAnnotation()) class Y
|
||||
Reference in New Issue
Block a user