[TEST] Migrate duplicating javac tests to new test runners
Also minimize scope of DiagnosticUsingJavac tests to `compiler/testData/diagnostics/tests/javac`. This is fine since javac compilation mode is still not finished and no one not going to support it
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
// SKIP_JAVAC
|
||||
// FILE: a/A.java
|
||||
package a;
|
||||
|
||||
public class A {
|
||||
public static class B {}
|
||||
}
|
||||
|
||||
// FILE: a/D.java
|
||||
package a;
|
||||
|
||||
public class D {
|
||||
public static class B {}
|
||||
}
|
||||
|
||||
// FILE: b/A1.java
|
||||
package b;
|
||||
|
||||
import a.A.B;
|
||||
import a.D.B;
|
||||
|
||||
public class A1 {
|
||||
public B getB() { return null; }
|
||||
}
|
||||
|
||||
// FILE: b/A2.java
|
||||
package b;
|
||||
|
||||
import a.A.*;
|
||||
import a.D.*;
|
||||
|
||||
public class A2 {
|
||||
public B getB() { return null; }
|
||||
}
|
||||
|
||||
// FILE: a.kt
|
||||
package b
|
||||
|
||||
fun test() = A1().getB()
|
||||
fun test2() = A2().<!MISSING_DEPENDENCY_CLASS!>getB<!>()
|
||||
Reference in New Issue
Block a user