AbstractSearcherTest: check member kind in test data not the psi implementation class

It is not what should be tested in this test
This commit is contained in:
Pavel V. Talanov
2015-10-30 19:05:48 +03:00
parent 78bb44850d
commit ce4a950697
10 changed files with 37 additions and 26 deletions
+3 -3
View File
@@ -11,6 +11,6 @@ class TestClass5 {
}
// ANNOTATION: java.lang.Deprecated
// SEARCH: KotlinLightClass:TestClass1, KotlinLightClass:TestClass2, KotlinLightClass:TestClass3
// SEARCH: KotlinLightClass:TestClass4
// SEARCH: KotlinLightClass:TestClass5.innerTestClass5
// SEARCH: class:TestClass1, class:TestClass2, class:TestClass3
// SEARCH: class:TestClass4
// SEARCH: class:innerTestClass5
@@ -27,8 +27,8 @@ object Test7 {
}
// ANNOTATION: java.lang.Deprecated
// SEARCH: KotlinLightMethodForDeclaration:test1
// SEARCH: KotlinLightMethodForDeclaration:test2
// SEARCH: KotlinLightMethodForDeclaration:test4
// SEARCH: KotlinLightMethodForDeclaration:test6
// SEARCH: KotlinLightMethodForDeclaration:test7
// SEARCH: method:test1
// SEARCH: method:test2
// SEARCH: method:test4
// SEARCH: method:test6
// SEARCH: method:test7
@@ -7,5 +7,5 @@
annotation class MyAnnotation(val first: String, val second: String)
// ANNOTATION: MyAnnotation
// SEARCH: KotlinLightMethodForDeclaration:test1
// SEARCH: KotlinLightClass:Test1
// SEARCH: method:test1
// SEARCH: class:Test1