+6
@@ -962,6 +962,12 @@ public class IncrementalJpsTestGenerated extends AbstractIncrementalJpsTest {
|
|||||||
doTest(fileName);
|
doTest(fileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("changeSignaturePackagePrivateNonRoot")
|
||||||
|
public void testChangeSignaturePackagePrivateNonRoot() throws Exception {
|
||||||
|
String fileName = KotlinTestUtils.navigationMetadata("jps-plugin/testData/incremental/withJava/javaUsedInKotlin/changeSignaturePackagePrivateNonRoot/");
|
||||||
|
doTest(fileName);
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("changeSignatureStatic")
|
@TestMetadata("changeSignatureStatic")
|
||||||
public void testChangeSignatureStatic() throws Exception {
|
public void testChangeSignatureStatic() throws Exception {
|
||||||
String fileName = KotlinTestUtils.navigationMetadata("jps-plugin/testData/incremental/withJava/javaUsedInKotlin/changeSignatureStatic/");
|
String fileName = KotlinTestUtils.navigationMetadata("jps-plugin/testData/incremental/withJava/javaUsedInKotlin/changeSignatureStatic/");
|
||||||
|
|||||||
+1
-10
@@ -7,13 +7,4 @@ Exit code: NOTHING_DONE
|
|||||||
------------------------------------------
|
------------------------------------------
|
||||||
Compiling files:
|
Compiling files:
|
||||||
src/JavaClass.java
|
src/JavaClass.java
|
||||||
End of files
|
End of files
|
||||||
Cleaning output files:
|
|
||||||
out/production/module/META-INF/module.kotlin_module
|
|
||||||
out/production/module/UsageKt.class
|
|
||||||
End of files
|
|
||||||
Compiling files:
|
|
||||||
src/usage.kt
|
|
||||||
End of files
|
|
||||||
Exit code: OK
|
|
||||||
------------------------------------------
|
|
||||||
+7
@@ -0,0 +1,7 @@
|
|||||||
|
================ Step #1 =================
|
||||||
|
|
||||||
|
Compiling files:
|
||||||
|
src/usage.kt
|
||||||
|
End of files
|
||||||
|
Exit code: OK
|
||||||
|
|
||||||
+7
@@ -0,0 +1,7 @@
|
|||||||
|
public class JavaClass {
|
||||||
|
public void foo() {
|
||||||
|
}
|
||||||
|
|
||||||
|
public void bar() {
|
||||||
|
}
|
||||||
|
}
|
||||||
+7
@@ -0,0 +1,7 @@
|
|||||||
|
public class JavaClass {
|
||||||
|
void foo() {
|
||||||
|
}
|
||||||
|
|
||||||
|
public void bar() {
|
||||||
|
}
|
||||||
|
}
|
||||||
+21
@@ -0,0 +1,21 @@
|
|||||||
|
================ Step #1 =================
|
||||||
|
|
||||||
|
Cleaning output files:
|
||||||
|
out/production/module/JavaClass.class
|
||||||
|
End of files
|
||||||
|
Exit code: NOTHING_DONE
|
||||||
|
------------------------------------------
|
||||||
|
Compiling files:
|
||||||
|
src/JavaClass.java
|
||||||
|
End of files
|
||||||
|
Cleaning output files:
|
||||||
|
out/production/module/META-INF/module.kotlin_module
|
||||||
|
out/production/module/second/UsageKt.class
|
||||||
|
End of files
|
||||||
|
Compiling files:
|
||||||
|
src/usage.kt
|
||||||
|
End of files
|
||||||
|
Exit code: ABORT
|
||||||
|
------------------------------------------
|
||||||
|
COMPILATION FAILED
|
||||||
|
Cannot access 'foo': it is public/*package*/ in 'JavaClass'
|
||||||
+7
@@ -0,0 +1,7 @@
|
|||||||
|
package first
|
||||||
|
|
||||||
|
import JavaClass
|
||||||
|
|
||||||
|
fun main(args: Array<String>) {
|
||||||
|
JavaClass().bar()
|
||||||
|
}
|
||||||
+7
@@ -0,0 +1,7 @@
|
|||||||
|
package second
|
||||||
|
|
||||||
|
import JavaClass
|
||||||
|
|
||||||
|
fun main(args: Array<String>) {
|
||||||
|
JavaClass().foo()
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user