mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 03:21:12 +07:00
[kotlin] Add test for navigation from top level function with JvmName file to test #KTIJ-28969
GitOrigin-RevId: 432e59700c1ce19421c07299d511ed4f2c59a7fb
This commit is contained in:
committed by
intellij-monorepo-bot
parent
f86790309e
commit
2d252ff519
@@ -58,6 +58,11 @@ public class K2GotoTestOrCodeActionTestGenerated extends AbstractK2GotoTestOrCod
|
||||
runTest("../../../idea/tests/testData/navigation/gotoTestOrCode/fromKotlinFileToTest.main.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("fromKotlinJvmFileToJavaFacadeTest.main.kt")
|
||||
public void testFromKotlinJvmFileToJavaFacadeTest() throws Exception {
|
||||
runTest("../../../idea/tests/testData/navigation/gotoTestOrCode/fromKotlinJvmFileToJavaFacadeTest.main.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("fromKotlinTestToJavaClass.main.kt")
|
||||
public void testFromKotlinTestToJavaClass() throws Exception {
|
||||
runTest("../../../idea/tests/testData/navigation/gotoTestOrCode/fromKotlinTestToJavaClass.main.kt");
|
||||
|
||||
@@ -58,6 +58,11 @@ public class GotoTestOrCodeActionTestGenerated extends AbstractGotoTestOrCodeAct
|
||||
runTest("testData/navigation/gotoTestOrCode/fromKotlinFileToTest.main.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("fromKotlinJvmFileToJavaFacadeTest.main.kt")
|
||||
public void testFromKotlinJvmFileToJavaFacadeTest() throws Exception {
|
||||
runTest("testData/navigation/gotoTestOrCode/fromKotlinJvmFileToJavaFacadeTest.main.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("fromKotlinTestToJavaClass.main.kt")
|
||||
public void testFromKotlinTestToJavaClass() throws Exception {
|
||||
runTest("testData/navigation/gotoTestOrCode/fromKotlinTestToJavaClass.main.kt");
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
// CONFIGURE_LIBRARY: JUnit
|
||||
// REF: (<root>).FooUtilsTest
|
||||
@file:JvmName("FooUtils")
|
||||
import junit.framework.TestCase
|
||||
|
||||
fun foo<caret>() { }
|
||||
|
||||
class FooUtilsTest : TestCase() {
|
||||
fun testFoo() { }
|
||||
}
|
||||
Reference in New Issue
Block a user