Add CLI test for K/javac project with non-transitive dependency, KT-33932
This commit is contained in:
+4
@@ -0,0 +1,4 @@
|
||||
package my;
|
||||
public class Base {
|
||||
private Some some;
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package my;
|
||||
public class Some {
|
||||
private int foo = 42;
|
||||
public int getFoo() { return foo; }
|
||||
}
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
OK
|
||||
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
package my
|
||||
class First : Base()
|
||||
+4
@@ -203,6 +203,10 @@ class CompileKotlinAgainstCustomBinariesTest : AbstractKotlinCompilerIntegration
|
||||
doTestBrokenLibrary("library", "a/A.class")
|
||||
}
|
||||
|
||||
fun testNonTransitiveDependencyWithJavac() {
|
||||
doTestBrokenLibrary("library", "my/Some.class", additionalOptions = listOf("-Xuse-javac", "-Xcompile-java"))
|
||||
}
|
||||
|
||||
fun testComputeSupertypeWithMissingDependency() {
|
||||
doTestBrokenLibrary("library", "a/A.class")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user