Use correct module name when calling internal members from other module

This is needed to avoid using the same module name for test root as for
the main source root in the Gradle plugin, which is needed to fix
KT-18955
This commit is contained in:
Alexander Udalov
2018-08-30 19:33:36 +02:00
parent d1667483a5
commit 5f18439442
4 changed files with 42 additions and 13 deletions
@@ -138,6 +138,11 @@ public class CompileKotlinAgainstKotlinTestGenerated extends AbstractCompileKotl
runTest("compiler/testData/compileKotlinAgainstKotlin/internalSetterOverridden.kt");
}
@TestMetadata("internalWithOtherModuleName.kt")
public void testInternalWithOtherModuleName() throws Exception {
runTest("compiler/testData/compileKotlinAgainstKotlin/internalWithOtherModuleName.kt");
}
@TestMetadata("jvmField.kt")
public void testJvmField() throws Exception {
runTest("compiler/testData/compileKotlinAgainstKotlin/jvmField.kt");