Fix test for "Suppress unused if annotated"

Quick-fix test was changed in 182 branch,
so I have to introduce bunch files for 181/173/AS here
This commit is contained in:
Mikhail Glukhikh
2018-08-08 13:03:54 +03:00
parent db787c78d6
commit 87b5fca094
13 changed files with 61 additions and 5 deletions
@@ -1,4 +1,4 @@
// "Suppress for declarations annotated by 'kotlin.Deprecated'" "false"
// "Suppress unused warning if annotated by 'kotlin.Deprecated'" "false"
// ACTION: Create test
@Deprecated("")
fun foo<caret>(){}
@@ -1,4 +1,4 @@
// "Suppress for declarations annotated by 'java.lang.SuppressWarnings'" "false"
// "Suppress unused warning if annotated by 'java.lang.SuppressWarnings'" "false"
// ACTION: Safe delete 'Unused'
// ACTION: Create test
// ACTION: Rename file to Unused.kt
@@ -1,4 +1,4 @@
// "Suppress for declarations annotated by 'org.jetbrains.annotations.NonNls'" "false"
// "Suppress unused warning if annotated by 'org.jetbrains.annotations.NonNls'" "false"
// ACTION: Safe delete 'foo'
// ACTION: Create test
import org.jetbrains.annotations.NonNls
+1 -1
View File
@@ -1,4 +1,4 @@
// "Suppress for declarations annotated by 'xxx.XXX'" "true"
// "Suppress unused warning if annotated by 'xxx.XXX'" "true"
package xxx
annotation class XXX
@@ -0,0 +1,7 @@
// "Suppress for declarations annotated by 'xxx.XXX'" "true"
package xxx
annotation class XXX
@XXX
class <caret>UnusedClass
@@ -0,0 +1,7 @@
// "Suppress for declarations annotated by 'xxx.XXX'" "true"
package xxx
annotation class XXX
@XXX
class <caret>UnusedClass
@@ -1,4 +1,4 @@
// "Suppress for declarations annotated by 'xxx.XXX'" "true"
// "Suppress unused warning if annotated by 'xxx.XXX'" "true"
package xxx
annotation class XXX
@@ -0,0 +1,7 @@
// "Suppress for declarations annotated by 'xxx.XXX'" "true"
package xxx
annotation class XXX
@XXX
class <caret>UnusedClass
@@ -0,0 +1,7 @@
// "Suppress for declarations annotated by 'xxx.XXX'" "true"
package xxx
annotation class XXX
@XXX
class <caret>UnusedClass
@@ -0,0 +1,7 @@
// "Suppress for declarations annotated by 'xxx.XXX'" "true"
package xxx
annotation class XXX
@XXX
class <caret>UnusedClass
@@ -0,0 +1,7 @@
// "Suppress for declarations annotated by 'xxx.XXX'" "true"
package xxx
annotation class XXX
@XXX
class <caret>UnusedClass
@@ -0,0 +1,7 @@
// "Suppress for declarations annotated by 'xxx.XXX'" "true"
package xxx
annotation class XXX
@XXX
class <caret>UnusedClass
@@ -0,0 +1,7 @@
// "Suppress for declarations annotated by 'xxx.XXX'" "true"
package xxx
annotation class XXX
@XXX
class <caret>UnusedClass