Add more toString() methods and additional wrapping for Kotlin elements

This commit is contained in:
Nikolay Krasko
2015-03-24 01:16:35 +03:00
parent ad23e9159c
commit 4e04d9b887
8 changed files with 55 additions and 9 deletions
@@ -27,4 +27,8 @@ object Test7 {
}
// ANNOTATION: java.lang.Deprecated
// SEARCH: PsiMethod:test1, PsiMethod:test2, PsiMethod:test4, PsiMethod:test6, PsiMethod:test7
// SEARCH: KotlinLightMethodForDeclaration:test1
// SEARCH: KotlinLightMethodForDeclaration:test2
// SEARCH: KotlinLightMethodForDeclaration:test4
// SEARCH: KotlinLightMethodForDeclaration:test6
// SEARCH: KotlinLightMethodForDeclaration:test7
@@ -5,4 +5,5 @@ MyAnnotation("f", "s") class Test1() {}
annotation class MyAnnotation(val first: String, val second: String)
// ANNOTATION: MyAnnotation
// SEARCH: PsiMethod:test1, KotlinLightClass:Test1
// SEARCH: KotlinLightMethodForDeclaration:test1
// SEARCH: KotlinLightClass:Test1
+6 -1
View File
@@ -17,4 +17,9 @@ class MyTestClass {
}
// ANNOTATION: org.junit.Test
// SEARCH: PsiMethod:test1, PsiMethod:test2, PsiMethod:test3, PsiMethod:test4, PsiMethod:test5, PsiMethod:test6
// SEARCH: KotlinLightMethodForDeclaration:test1
// SEARCH: KotlinLightMethodForDeclaration:test2
// SEARCH: KotlinLightMethodForDeclaration:test3
// SEARCH: KotlinLightMethodForDeclaration:test4
// SEARCH: KotlinLightMethodForDeclaration:test5
// SEARCH: KotlinLightMethodForDeclaration:test6
@@ -10,4 +10,6 @@ class MyTestClass {
}
// ANNOTATION: org.junit.Test
// SEARCH: PsiMethod:test1, PsiMethod:test2, PsiMethod:test3
// SEARCH: KotlinLightMethodForDeclaration:test1
// SEARCH: KotlinLightMethodForDeclaration:test2
// SEARCH: KotlinLightMethodForDeclaration:test3