Files
openide/plugins/devkit/devkit-java-tests/testData/referenceCollector/TestMetadataDataNoTopLevel.java
Vladimir Dolzhenko 4f4a583461 [kotlin] Fix test data path lookup when top level class has no @TestMetadata
#KTIJ-21456 Fixed

GitOrigin-RevId: 2d2f28955dfd0284306bd612647d80412c326ec1
2022-04-06 15:56:57 +00:00

29 lines
1001 B
Java

public class ATest extends LightCodeInsightFixtureTestCase {
@com.intellij.testFramework.TestDataPath("$CONTENT_ROOT")
@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");
}
}
}
}