[Test] Disable UNUSED_* diagnostics in tests which are not belong to contolFlowAnalysis suite
This commit is contained in:
committed by
TeamCityServer
parent
85949b387e
commit
cd890d5833
+3
-3
@@ -11,7 +11,7 @@ class CustomDelegate {
|
||||
class SomeClass {
|
||||
|
||||
<!WRONG_ANNOTATION_TARGET_WITH_USE_SITE_TARGET!>@property:Ann<!>
|
||||
constructor(<!UNUSED_PARAMETER!>s<!>: String)
|
||||
constructor(s: String)
|
||||
|
||||
@property:Ann
|
||||
protected val p1: String = ""
|
||||
@@ -28,12 +28,12 @@ class SomeClass {
|
||||
@property:Ann
|
||||
var propertyWithCustomSetter: Int
|
||||
get() = 5
|
||||
set(<!UNUSED_PARAMETER!>v<!>) {}
|
||||
set(v) {}
|
||||
|
||||
<!WRONG_ANNOTATION_TARGET_WITH_USE_SITE_TARGET!>@property:Ann<!>
|
||||
fun anotherFun() {
|
||||
<!WRONG_ANNOTATION_TARGET_WITH_USE_SITE_TARGET!>@property:Ann<!>
|
||||
val <!UNUSED_VARIABLE!>localVariable<!> = 5
|
||||
val localVariable = 5
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user