Added tests with class referenced from proto.
Original commit: ca4ac43add
This commit is contained in:
@@ -66,6 +66,11 @@ public class IncrementalJpsTestGenerated extends AbstractIncrementalJpsTest {
|
|||||||
doTest("jps-plugin/testData/incremental/constantValue/");
|
doTest("jps-plugin/testData/incremental/constantValue/");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("dependencyClassReferenced")
|
||||||
|
public void testDependencyClassReferenced() throws Exception {
|
||||||
|
doTest("jps-plugin/testData/incremental/dependencyClassReferenced/");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("filesExchangePackages")
|
@TestMetadata("filesExchangePackages")
|
||||||
public void testFilesExchangePackages() throws Exception {
|
public void testFilesExchangePackages() throws Exception {
|
||||||
doTest("jps-plugin/testData/incremental/filesExchangePackages/");
|
doTest("jps-plugin/testData/incremental/filesExchangePackages/");
|
||||||
@@ -81,6 +86,11 @@ public class IncrementalJpsTestGenerated extends AbstractIncrementalJpsTest {
|
|||||||
doTest("jps-plugin/testData/incremental/multiplePackagesModified/");
|
doTest("jps-plugin/testData/incremental/multiplePackagesModified/");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("ourClassReferenced")
|
||||||
|
public void testOurClassReferenced() throws Exception {
|
||||||
|
doTest("jps-plugin/testData/incremental/ourClassReferenced/");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("packageFileAdded")
|
@TestMetadata("packageFileAdded")
|
||||||
public void testPackageFileAdded() throws Exception {
|
public void testPackageFileAdded() throws Exception {
|
||||||
doTest("jps-plugin/testData/incremental/packageFileAdded/");
|
doTest("jps-plugin/testData/incremental/packageFileAdded/");
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
package test
|
||||||
|
|
||||||
|
fun a(ref: kotlin.test.Asserter) {
|
||||||
|
b(ref)
|
||||||
|
println(":)")
|
||||||
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
package test
|
||||||
|
|
||||||
|
fun a(ref: kotlin.test.Asserter) {
|
||||||
|
b(ref)
|
||||||
|
println(":)")
|
||||||
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
package test
|
||||||
|
|
||||||
|
fun b(ref: kotlin.test.Asserter) {
|
||||||
|
a(ref)
|
||||||
|
println(":)")
|
||||||
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
Cleaning output files:
|
||||||
|
out/production/module/test/TestPackage-a-*.class
|
||||||
|
out/production/module/test/TestPackage.class
|
||||||
|
End of files
|
||||||
|
Compiling files:
|
||||||
|
src/a.kt
|
||||||
|
End of files
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
package klass
|
||||||
|
|
||||||
|
class Klass
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
package klass
|
||||||
|
|
||||||
|
class Klass
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
package test
|
||||||
|
|
||||||
|
import klass.*
|
||||||
|
|
||||||
|
fun a(klass: Klass) {
|
||||||
|
b(klass)
|
||||||
|
println(":)")
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
package test
|
||||||
|
|
||||||
|
import klass.*
|
||||||
|
|
||||||
|
fun a(klass: Klass) {
|
||||||
|
b(klass)
|
||||||
|
println(":)")
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
package test
|
||||||
|
|
||||||
|
import klass.*
|
||||||
|
|
||||||
|
fun a(klass: Klass) {
|
||||||
|
b(klass)
|
||||||
|
println(":)")
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
package test
|
||||||
|
|
||||||
|
import klass.*
|
||||||
|
|
||||||
|
fun b(klass: Klass) {
|
||||||
|
a(klass)
|
||||||
|
println(":)")
|
||||||
|
}
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
Cleaning output files:
|
||||||
|
out/production/module/test/TestPackage-a-*.class
|
||||||
|
out/production/module/test/TestPackage.class
|
||||||
|
End of files
|
||||||
|
Compiling files:
|
||||||
|
src/a.kt
|
||||||
|
End of files
|
||||||
|
|
||||||
|
|
||||||
|
Cleaning output files:
|
||||||
|
out/production/module/klass/Klass.class
|
||||||
|
out/production/module/test/TestPackage-a-*.class
|
||||||
|
out/production/module/test/TestPackage.class
|
||||||
|
End of files
|
||||||
|
Compiling files:
|
||||||
|
src/Klass.kt
|
||||||
|
src/a.kt
|
||||||
|
End of files
|
||||||
Reference in New Issue
Block a user