mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-18 20:41:22 +07:00
[devkit] Support Kotlin TestMetadata annotation for test data navigation (IDEA-272789)
GitOrigin-RevId: 23d5a6d02220f6554912ebbc4325fa2de2e9cf6d
This commit is contained in:
committed by
intellij-monorepo-bot
parent
517f70cafe
commit
ad70f810c0
@@ -0,0 +1,23 @@
|
||||
@com.intellij.testFramework.TestDataPath("$CONTENT_ROOT")
|
||||
@org.jetbrains.kotlin.test.TestMetadata("testData/refactoring")
|
||||
public class ATest extends LightCodeInsightFixtureTestCase {
|
||||
|
||||
@com.intellij.testFramework.TestDataPath("")
|
||||
@org.jetbrains.kotlin.test.TestMetadata("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("introduceVariable/SomeType.kt")
|
||||
public void testSomeType() throws Exception {
|
||||
runTest("testData/refactoring/introduceVariable/SomeType.kt");
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user