JUnit4: test function annotated with 'test' annotation

#KT-3178 Fixed
This commit is contained in:
Natalia.Ukhorskaya
2012-12-27 15:43:57 +04:00
parent e9d1171d6d
commit 00ef0fc0a6
3 changed files with 35 additions and 2 deletions
@@ -0,0 +1,13 @@
import org.junit.Test as test
import org.junit.Test
class MyTestClass {
test fun test1() {}
[Deprecated test] fun test2() {}
Test fun test3() {}
}
// ANNOTATION: org.junit.Test
// SEARCH: PsiMethod:test1, PsiMethod:test2, PsiMethod:test3