[devkit] Support Nest-nested classes with Kotlin TestMetadata annotation for test data navigation (IDEA-272789)

GitOrigin-RevId: 46f841f142a933c6a4f0f455fb23b2da886015de
This commit is contained in:
Vladimir Dolzhenko
2021-11-10 11:10:21 +01:00
committed by intellij-monorepo-bot
parent 656119ca76
commit 868e8c3494
3 changed files with 35 additions and 13 deletions

View File

@@ -12,6 +12,18 @@ public class ATest extends LightCodeInsightFixtureTestCase {
public void testAnonymousType() throws Exception {
runTest("testData/refactoring/introduceVariable/AnonymousType.kt");
}
@org.jetbrains.kotlin.test.TestMetadata("testData/refactoring/introduceVariable/extra")
public static class IntroduceExtraVariable extends ATest {
private void runTest(String testDataFilePath) throws Exception {
}
@org.jetbrains.kotlin.test.TestMetadata("AnonymousType.kt")
public void testAnonymousType() throws Exception {
runTest("testData/refactoring/introduceVariable/extra/AnonymousType.kt");
}
}
}
@org.jetbrains.kotlin.test.TestMetadata("introduceVariable/SomeType.kt")