Add tests for ClassInheritorsSearch and AnnotatedMembersSearch
Add test for junit
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import junit.framework.TestCase
|
||||
|
||||
class Test1: TestCase() {
|
||||
fun test1() {}
|
||||
}
|
||||
|
||||
class Test2: junit.framework.TestCase() {
|
||||
fun test2() {}
|
||||
}
|
||||
|
||||
// CLASS: junit.framework.TestCase
|
||||
// SEARCH: JetLightClass:Test1, JetLightClass:Test2
|
||||
@@ -0,0 +1,20 @@
|
||||
import org.junit.Test
|
||||
|
||||
class MyTestClass {
|
||||
[org.junit.Test] fun test1() {}
|
||||
|
||||
org.junit.Test fun test2() {}
|
||||
|
||||
[Test] fun test3() {}
|
||||
|
||||
Test fun test4() {}
|
||||
|
||||
[Deprecated org.junit.Test] fun test5() {}
|
||||
|
||||
[Deprecated Test] fun test6() {}
|
||||
|
||||
fun test7() {}
|
||||
}
|
||||
|
||||
// ANNOTATION: org.junit.Test
|
||||
// SEARCH: PsiMethod:test1, PsiMethod:test2, PsiMethod:test3, PsiMethod:test4, PsiMethod:test5, PsiMethod:test6
|
||||
Reference in New Issue
Block a user