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:
@@ -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,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
|
||||
Reference in New Issue
Block a user