Test accessing file facades from java in mpp project

This commit is contained in:
Pavel V. Talanov
2018-05-25 16:19:21 +02:00
committed by Pavel V. Talanov
parent 1be477c816
commit 8185b1bf02
4 changed files with 24 additions and 0 deletions
@@ -0,0 +1,5 @@
package c
fun common() {
}
@@ -0,0 +1,11 @@
package j;
public class Use {
public static void use() {
c.CommonKt.common();
c.CommonKt.<error>j</error>();
j.JvmKt.j();
j.JvmKt.<error>c</error>();
}
}
@@ -0,0 +1,3 @@
package j
fun j() {}
@@ -89,6 +89,11 @@ public class MultiPlatformHighlightingTestGenerated extends AbstractMultiPlatfor
runTest("idea/testData/multiModuleHighlighting/multiplatform/internalDependencyFromTests/");
}
@TestMetadata("javaUsesPlatformFacade")
public void testJavaUsesPlatformFacade() throws Exception {
runTest("idea/testData/multiModuleHighlighting/multiplatform/javaUsesPlatformFacade/");
}
@TestMetadata("nestedClassWithoutImpl")
public void testNestedClassWithoutImpl() throws Exception {
runTest("idea/testData/multiModuleHighlighting/multiplatform/nestedClassWithoutImpl/");