PsiChecker test for classes with dollars in name

This commit is contained in:
Pavel V. Talanov
2016-07-25 16:29:42 +03:00
parent 4ee0f7052f
commit e51957a431
2 changed files with 21 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
class `A$B` {
class `$$$` {
class `$`
}
}
object `$$$$B$C`
fun f() {
fun g() {
class `A$B` {
inner class `C$D`
}
}
}
@@ -502,6 +502,12 @@ public class PsiCheckerTestGenerated extends AbstractPsiCheckerTest {
doTest(fileName);
}
@TestMetadata("DollarsInName.kt")
public void testDollarsInName() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/checker/regression/DollarsInName.kt");
doTest(fileName);
}
@TestMetadata("DoubleDefine.kt")
public void testDoubleDefine() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/checker/regression/DoubleDefine.kt");