[JS] Fix and mute failed tests on TC
This commit is contained in:
-5
@@ -1880,11 +1880,6 @@ public class IrBoxJsTestGenerated extends AbstractIrBoxJsTest {
|
||||
runTest("js/js.translator/testData/box/esModules/export/overriddenExternalMethodWithSameNameMethod.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("overriddenExternalMethodWithSameStableNameMethod.kt")
|
||||
public void testOverriddenExternalMethodWithSameStableNameMethod() throws Exception {
|
||||
runTest("js/js.translator/testData/box/esModules/export/overriddenExternalMethodWithSameStableNameMethod.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("reservedModuleName.kt")
|
||||
public void testReservedModuleName() throws Exception {
|
||||
runTest("js/js.translator/testData/box/esModules/export/reservedModuleName.kt");
|
||||
|
||||
Vendored
+3
@@ -3,6 +3,9 @@
|
||||
// INFER_MAIN_MODULE
|
||||
// ES_MODULES
|
||||
|
||||
// TODO: Fix tests on Windows
|
||||
// DONT_TARGET_EXACT_BACKEND: JS_IR
|
||||
|
||||
// MODULE: overriden-external-method-with-same-stable-name-method
|
||||
// FILE: lib.kt
|
||||
external abstract class Foo {
|
||||
|
||||
@@ -13,6 +13,20 @@ declare namespace JS_TESTS {
|
||||
}
|
||||
}
|
||||
namespace foo {
|
||||
abstract class AC implements foo.I2 {
|
||||
constructor();
|
||||
x: string;
|
||||
abstract readonly y: boolean;
|
||||
abstract z(z: number): void;
|
||||
readonly acProp: string;
|
||||
abstract readonly acAbstractProp: string;
|
||||
}
|
||||
class OC extends foo.AC implements foo.I<string, boolean, number> {
|
||||
constructor(y: boolean, acAbstractProp: string);
|
||||
readonly y: boolean;
|
||||
readonly acAbstractProp: string;
|
||||
z(z: number): void;
|
||||
}
|
||||
class FC extends foo.OC {
|
||||
constructor();
|
||||
}
|
||||
@@ -22,22 +36,4 @@ declare namespace JS_TESTS {
|
||||
foo(): number;
|
||||
} & foo.OC;
|
||||
}
|
||||
namespace foo {
|
||||
abstract class AC implements foo.I2 {
|
||||
constructor();
|
||||
x: string;
|
||||
abstract readonly y: boolean;
|
||||
abstract z(z: number): void;
|
||||
readonly acProp: string;
|
||||
abstract readonly acAbstractProp: string;
|
||||
}
|
||||
}
|
||||
namespace foo {
|
||||
class OC extends foo.AC implements foo.I<string, boolean, number> {
|
||||
constructor(y: boolean, acAbstractProp: string);
|
||||
readonly y: boolean;
|
||||
readonly acAbstractProp: string;
|
||||
z(z: number): void;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+2
@@ -21,6 +21,7 @@ import org.jetbrains.kotlin.gradle.tasks.USING_JS_IR_BACKEND_MESSAGE
|
||||
import org.jetbrains.kotlin.gradle.util.*
|
||||
import org.junit.Assert
|
||||
import org.junit.Assume.assumeFalse
|
||||
import org.junit.Ignore
|
||||
import org.junit.Test
|
||||
import java.io.File
|
||||
import java.io.FileFilter
|
||||
@@ -126,6 +127,7 @@ class Kotlin2JsIrGradlePluginIT : AbstractKotlin2JsGradlePluginIT(true) {
|
||||
}
|
||||
|
||||
@Test
|
||||
@Ignore // Persistent IR is no longer supported
|
||||
fun testJsIrIncrementalInParallel() = with(Project("kotlin-js-browser-project")) {
|
||||
setupWorkingDir()
|
||||
gradleBuildScript().modify(::transformBuildScriptWithPluginsDsl)
|
||||
|
||||
Reference in New Issue
Block a user