Migrate boxAgainstJava tests to multi-file framework
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
package test;
|
||||
|
||||
public class classWithNestedEnum {
|
||||
public enum E { ENTRY }
|
||||
|
||||
public static String foo() { return "OK"; }
|
||||
}
|
||||
@@ -1,5 +1,17 @@
|
||||
// FILE: test/JavaClass.java
|
||||
|
||||
package test;
|
||||
|
||||
public class JavaClass {
|
||||
public enum E { ENTRY }
|
||||
|
||||
public static String foo() { return "OK"; }
|
||||
}
|
||||
|
||||
// FILE: 1.kt
|
||||
|
||||
package test
|
||||
|
||||
fun box(): String {
|
||||
return classWithNestedEnum.foo()!!
|
||||
return JavaClass.foo()!!
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user