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
+1 -1
View File
@@ -9,4 +9,4 @@ class Test2: junit.framework.TestCase() {
}
// CLASS: junit.framework.TestCase
// SEARCH: KotlinLightClass:Test1, KotlinLightClass:Test2
// SEARCH: class:Test1, class:Test2
+6 -6
View File
@@ -17,9 +17,9 @@ class MyTestClass {
}
// ANNOTATION: org.junit.Test
// SEARCH: KotlinLightMethodForDeclaration:test1
// SEARCH: KotlinLightMethodForDeclaration:test2
// SEARCH: KotlinLightMethodForDeclaration:test3
// SEARCH: KotlinLightMethodForDeclaration:test4
// SEARCH: KotlinLightMethodForDeclaration:test5
// SEARCH: KotlinLightMethodForDeclaration:test6
// SEARCH: method:test1
// SEARCH: method:test2
// SEARCH: method:test3
// SEARCH: method:test4
// SEARCH: method:test5
// SEARCH: method:test6
+3 -3
View File
@@ -10,6 +10,6 @@ class MyTestClass {
}
// ANNOTATION: org.junit.Test
// SEARCH: KotlinLightMethodForDeclaration:test1
// SEARCH: KotlinLightMethodForDeclaration:test2
// SEARCH: KotlinLightMethodForDeclaration:test3
// SEARCH: method:test1
// SEARCH: method:test2
// SEARCH: method:test3
+3 -3
View File
@@ -10,6 +10,6 @@ class MyTestClass {
}
// ANNOTATION: org.junit.Test
// SEARCH: KotlinLightMethodForDeclaration:test1
// SEARCH: KotlinLightMethodForDeclaration:test2
// SEARCH: KotlinLightMethodForDeclaration:test3
// SEARCH: method:test1
// SEARCH: method:test2
// SEARCH: method:test3