Incremental compilation test for @file:JvmName
Original commit: 37d5a16a3d
This commit is contained in:
@@ -121,6 +121,12 @@ public class IncrementalJpsTestGenerated extends AbstractIncrementalJpsTest {
|
|||||||
doTest(fileName);
|
doTest(fileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("accessingFunctionsViaRenamedFileClass")
|
||||||
|
public void testAccessingFunctionsViaRenamedFileClass() throws Exception {
|
||||||
|
String fileName = JetTestUtils.navigationMetadata("jps-plugin/testData/incremental/pureKotlin/accessingFunctionsViaRenamedFileClass/");
|
||||||
|
doTest(fileName);
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("accessingPropertiesViaField")
|
@TestMetadata("accessingPropertiesViaField")
|
||||||
public void testAccessingPropertiesViaField() throws Exception {
|
public void testAccessingPropertiesViaField() throws Exception {
|
||||||
String fileName = JetTestUtils.navigationMetadata("jps-plugin/testData/incremental/pureKotlin/accessingPropertiesViaField/");
|
String fileName = JetTestUtils.navigationMetadata("jps-plugin/testData/incremental/pureKotlin/accessingPropertiesViaField/");
|
||||||
|
|||||||
+3
@@ -0,0 +1,3 @@
|
|||||||
|
package test
|
||||||
|
|
||||||
|
fun a() = "a"
|
||||||
+3
@@ -0,0 +1,3 @@
|
|||||||
|
package test
|
||||||
|
|
||||||
|
fun b() = "b"
|
||||||
+4
@@ -0,0 +1,4 @@
|
|||||||
|
@file:JvmName("B")
|
||||||
|
package test
|
||||||
|
|
||||||
|
fun b() = "b"
|
||||||
+23
@@ -0,0 +1,23 @@
|
|||||||
|
Cleaning output files:
|
||||||
|
out/production/module/META-INF/module.kotlin_module
|
||||||
|
out/production/module/test/BKt.class
|
||||||
|
out/production/module/test/TestPackage.class
|
||||||
|
out/production/module/test/UsageKt.class
|
||||||
|
End of files
|
||||||
|
Compiling files:
|
||||||
|
src/b.kt
|
||||||
|
src/usage.kt
|
||||||
|
End of files
|
||||||
|
Cleaning output files:
|
||||||
|
out/production/module/META-INF/module.kotlin_module
|
||||||
|
out/production/module/other/OtherKt.class
|
||||||
|
out/production/module/other/OtherPackage.class
|
||||||
|
out/production/module/test/AKt.class
|
||||||
|
out/production/module/test/TestPackage.class
|
||||||
|
out/production/module/test/UsageKt.class
|
||||||
|
End of files
|
||||||
|
Compiling files:
|
||||||
|
src/a.kt
|
||||||
|
src/other.kt
|
||||||
|
src/usage.kt
|
||||||
|
End of files
|
||||||
+3
@@ -0,0 +1,3 @@
|
|||||||
|
package other
|
||||||
|
|
||||||
|
fun other() = "other"
|
||||||
+5
@@ -0,0 +1,5 @@
|
|||||||
|
package test
|
||||||
|
|
||||||
|
fun main(args: Array<String>) {
|
||||||
|
println(a() + b() + other.other())
|
||||||
|
}
|
||||||
+5
@@ -0,0 +1,5 @@
|
|||||||
|
package test
|
||||||
|
|
||||||
|
fun main(args: Array<String>) {
|
||||||
|
println(a() + b() + other.other())
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user