Tests: add CompileKotlinAgainstCustomBinariesTest for K2
This is needed because after changing default language version to 2.0, we still need to test many scenarios from this test in K1. Move K1-specific tests to OldCompileKotlinAgainstCustomBinariesTest, and K2-specific tests to FirCompileKotlinAgainstCustomBinariesTest. Mute failing K2 tests via `muteForK2`. It will throw exception if the muted test will suddenly start passing.
This commit is contained in:
committed by
Space Team
parent
21c7325dbe
commit
54c7466074
+4
@@ -0,0 +1,4 @@
|
||||
package test;
|
||||
public interface A extends java.util.Map<String, String> {
|
||||
String remove(Object x, Object y);
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
package test;
|
||||
public abstract class B implements java.util.Map<String, String>, A {
|
||||
public String remove(Object x, Object y) { return x; }
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
OK
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package test
|
||||
|
||||
abstract class C : B()
|
||||
Reference in New Issue
Block a user