Files
Vladimir Dolzhenko 868e8c3494 [devkit] Support Nest-nested classes with Kotlin TestMetadata annotation for test data navigation (IDEA-272789)
GitOrigin-RevId: 46f841f142a933c6a4f0f455fb23b2da886015de
2021-11-10 14:10:45 +00:00

35 lines
1.2 KiB
Java

@com.intellij.testFramework.TestDataPath("$CONTENT_ROOT")
@org.jetbrains.kotlin.test.TestMetadata("testData/refactoring")
public class ATest extends LightCodeInsightFixtureTestCase {
@org.jetbrains.kotlin.test.TestMetadata("testData/refactoring/introduceVariable")
public static class IntroduceVariable 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/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")
public void testSomeType() throws Exception {
runTest("testData/refactoring/introduceVariable/SomeType.kt");
}
}