[JS][IC][test] Remove testBreakKlibBinaryCompatibilityWithVariance test
#KT-57078 Fixed
This commit is contained in:
committed by
Space Team
parent
153aed29ba
commit
66c278ff8d
Generated
-5
@@ -40,11 +40,6 @@ public class JsFirInvalidationTestGenerated extends AbstractJsFirInvalidationTes
|
|||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("js/js.translator/testData/incremental/invalidation"), Pattern.compile("^([^_](.+))$"), null, TargetBackend.JS_IR, false);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("js/js.translator/testData/incremental/invalidation"), Pattern.compile("^([^_](.+))$"), null, TargetBackend.JS_IR, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("breakKlibBinaryCompatibilityWithVariance")
|
|
||||||
public void testBreakKlibBinaryCompatibilityWithVariance() throws Exception {
|
|
||||||
runTest("js/js.translator/testData/incremental/invalidation/breakKlibBinaryCompatibilityWithVariance/");
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("circleExportsUpdate")
|
@TestMetadata("circleExportsUpdate")
|
||||||
public void testCircleExportsUpdate() throws Exception {
|
public void testCircleExportsUpdate() throws Exception {
|
||||||
runTest("js/js.translator/testData/incremental/invalidation/circleExportsUpdate/");
|
runTest("js/js.translator/testData/incremental/invalidation/circleExportsUpdate/");
|
||||||
|
|||||||
Generated
-5
@@ -40,11 +40,6 @@ public class JsIrES6InvalidationTestGenerated extends AbstractJsIrES6Invalidatio
|
|||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("js/js.translator/testData/incremental/invalidation"), Pattern.compile("^([^_](.+))$"), null, TargetBackend.JS_IR_ES6, false);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("js/js.translator/testData/incremental/invalidation"), Pattern.compile("^([^_](.+))$"), null, TargetBackend.JS_IR_ES6, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("breakKlibBinaryCompatibilityWithVariance")
|
|
||||||
public void testBreakKlibBinaryCompatibilityWithVariance() throws Exception {
|
|
||||||
runTest("js/js.translator/testData/incremental/invalidation/breakKlibBinaryCompatibilityWithVariance/");
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("circleExportsUpdate")
|
@TestMetadata("circleExportsUpdate")
|
||||||
public void testCircleExportsUpdate() throws Exception {
|
public void testCircleExportsUpdate() throws Exception {
|
||||||
runTest("js/js.translator/testData/incremental/invalidation/circleExportsUpdate/");
|
runTest("js/js.translator/testData/incremental/invalidation/circleExportsUpdate/");
|
||||||
|
|||||||
-5
@@ -40,11 +40,6 @@ public class JsIrInvalidationTestGenerated extends AbstractJsIrInvalidationTest
|
|||||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("js/js.translator/testData/incremental/invalidation"), Pattern.compile("^([^_](.+))$"), null, TargetBackend.JS_IR, false);
|
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("js/js.translator/testData/incremental/invalidation"), Pattern.compile("^([^_](.+))$"), null, TargetBackend.JS_IR, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
@TestMetadata("breakKlibBinaryCompatibilityWithVariance")
|
|
||||||
public void testBreakKlibBinaryCompatibilityWithVariance() throws Exception {
|
|
||||||
runTest("js/js.translator/testData/incremental/invalidation/breakKlibBinaryCompatibilityWithVariance/");
|
|
||||||
}
|
|
||||||
|
|
||||||
@TestMetadata("circleExportsUpdate")
|
@TestMetadata("circleExportsUpdate")
|
||||||
public void testCircleExportsUpdate() throws Exception {
|
public void testCircleExportsUpdate() throws Exception {
|
||||||
runTest("js/js.translator/testData/incremental/invalidation/circleExportsUpdate/");
|
runTest("js/js.translator/testData/incremental/invalidation/circleExportsUpdate/");
|
||||||
|
|||||||
-5
@@ -1,5 +0,0 @@
|
|||||||
interface GenericInterface<T>
|
|
||||||
|
|
||||||
interface TestInterface {
|
|
||||||
fun <T> test(f: () -> GenericInterface<out T>) {}
|
|
||||||
}
|
|
||||||
-5
@@ -1,5 +0,0 @@
|
|||||||
interface GenericInterface<out T>
|
|
||||||
|
|
||||||
interface TestInterface {
|
|
||||||
fun <T> test(f: () -> GenericInterface<T>) {}
|
|
||||||
}
|
|
||||||
-9
@@ -1,9 +0,0 @@
|
|||||||
STEP 0:
|
|
||||||
modifications:
|
|
||||||
U : l1.0.kt -> l1.kt
|
|
||||||
added file: l1.kt
|
|
||||||
STEP 1:
|
|
||||||
modifications:
|
|
||||||
U : l1.1.kt -> l1.kt
|
|
||||||
modified ir: l1.kt
|
|
||||||
updated exports: l1.kt
|
|
||||||
-5
@@ -1,5 +0,0 @@
|
|||||||
class TestClass : TestInterface {
|
|
||||||
override fun <T> test(f: () -> GenericInterface<out T>) {
|
|
||||||
f()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
-8
@@ -1,8 +0,0 @@
|
|||||||
STEP 0:
|
|
||||||
dependencies: lib1
|
|
||||||
modifications:
|
|
||||||
U : l2.0.kt -> l2.kt
|
|
||||||
added file: l2.kt
|
|
||||||
STEP 1:
|
|
||||||
rebuild klib: false
|
|
||||||
updated imports: l2.kt
|
|
||||||
-16
@@ -1,16 +0,0 @@
|
|||||||
fun box(stepId: Int): String {
|
|
||||||
var x = -1
|
|
||||||
TestClass().test {
|
|
||||||
object : GenericInterface<Int> {
|
|
||||||
init {
|
|
||||||
x = stepId
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
when (stepId) {
|
|
||||||
in 0..1 -> if (x != stepId) return "Fail, got $x"
|
|
||||||
else -> return "Unknown"
|
|
||||||
}
|
|
||||||
return "OK"
|
|
||||||
}
|
|
||||||
-6
@@ -1,6 +0,0 @@
|
|||||||
STEP 0:
|
|
||||||
dependencies: lib1, lib2
|
|
||||||
added file: m.kt
|
|
||||||
STEP 1:
|
|
||||||
dependencies: lib1, lib2
|
|
||||||
updated imports: m.kt
|
|
||||||
-8
@@ -1,8 +0,0 @@
|
|||||||
MODULES: lib1, lib2, main
|
|
||||||
|
|
||||||
STEP 0:
|
|
||||||
libs: lib1, lib2, main
|
|
||||||
dirty js: lib1, lib2, main
|
|
||||||
STEP 1:
|
|
||||||
libs: lib1, lib2, main
|
|
||||||
dirty js: lib1, lib2, main
|
|
||||||
Reference in New Issue
Block a user