diff --git a/compiler/testData/codegen/box/properties/augmentedAssignmentsAndIncrements.kt b/compiler/testData/codegen/box/properties/augmentedAssignmentsAndIncrements.kt index bde3c09d5c4..0b8af84ffe1 100644 --- a/compiler/testData/codegen/box/properties/augmentedAssignmentsAndIncrements.kt +++ b/compiler/testData/codegen/box/properties/augmentedAssignmentsAndIncrements.kt @@ -1,5 +1,5 @@ // Enable when KT-14833 is fixed. -// IGNORE_BACKEND: JVM +// TARGET_BACKEND: JS import kotlin.reflect.KProperty var a = 0 diff --git a/compiler/testData/codegen/light-analysis/builtinStubMethods/immutableRemove.txt b/compiler/testData/codegen/light-analysis/builtinStubMethods/immutableRemove.txt index c831236546d..956b3f03fad 100644 --- a/compiler/testData/codegen/light-analysis/builtinStubMethods/immutableRemove.txt +++ b/compiler/testData/codegen/light-analysis/builtinStubMethods/immutableRemove.txt @@ -21,6 +21,7 @@ public final class ImmutableCollectionmpl { public @org.jetbrains.annotations.NotNull method remove(p0: java.lang.Object): ImmutableCollection public method remove(p0: java.lang.Object): boolean public method removeAll(p0: java.util.Collection): boolean + public method removeIf(p0: java.util.function.Predicate): boolean public method retainAll(p0: java.util.Collection): boolean public final method size(): int public method toArray(): java.lang.Object[] diff --git a/compiler/testData/codegen/light-analysis/operatorConventions/augmentedAssignmentWithArrayLHS.txt b/compiler/testData/codegen/light-analysis/operatorConventions/augmentedAssignmentWithArrayLHS.txt index c8e554e7366..ea86cfcf1b0 100644 --- a/compiler/testData/codegen/light-analysis/operatorConventions/augmentedAssignmentWithArrayLHS.txt +++ b/compiler/testData/codegen/light-analysis/operatorConventions/augmentedAssignmentWithArrayLHS.txt @@ -1,3 +1,4 @@ +@kotlin.Metadata public final class A { private final field x: int public method (p0: int): void @@ -11,6 +12,7 @@ public final class A { public method toString(): java.lang.String } +@kotlin.Metadata public final class AugmentedAssignmentWithArrayLHSKt { private static @org.jetbrains.annotations.NotNull field log: java.lang.String public final static method bar(): int diff --git a/compiler/testData/codegen/light-analysis/publishedApi/topLevel.txt b/compiler/testData/codegen/light-analysis/publishedApi/topLevel.txt index d3b9de697b9..0eccfb84126 100644 --- a/compiler/testData/codegen/light-analysis/publishedApi/topLevel.txt +++ b/compiler/testData/codegen/light-analysis/publishedApi/topLevel.txt @@ -1,8 +1,10 @@ +@kotlin.Metadata public final class LibKt { public final static @kotlin.PublishedApi @org.jetbrains.annotations.NotNull method published(): java.lang.String public final static @org.jetbrains.annotations.NotNull method test(): java.lang.String } +@kotlin.Metadata public final class MainKt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String } diff --git a/compiler/tests-ir-jvm/tests/org/jetbrains/kotlin/codegen/ir/IrBlackBoxCodegenTestGenerated.java b/compiler/tests-ir-jvm/tests/org/jetbrains/kotlin/codegen/ir/IrBlackBoxCodegenTestGenerated.java index 15323be37a7..ff5ed810abc 100644 --- a/compiler/tests-ir-jvm/tests/org/jetbrains/kotlin/codegen/ir/IrBlackBoxCodegenTestGenerated.java +++ b/compiler/tests-ir-jvm/tests/org/jetbrains/kotlin/codegen/ir/IrBlackBoxCodegenTestGenerated.java @@ -11393,18 +11393,6 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/properties"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } - @TestMetadata("augmentedAssignmentsAndIncrements.kt") - public void testAugmentedAssignmentsAndIncrements() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/properties/augmentedAssignmentsAndIncrements.kt"); - try { - doTest(fileName); - } - catch (Throwable ignore) { - return; - } - throw new AssertionError("Looks like this test can be unmuted. Remove IGNORE_BACKEND directive for that."); - } - @TestMetadata("classArtificialFieldInsideNested.kt") public void testClassArtificialFieldInsideNested() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/properties/classArtificialFieldInsideNested.kt"); diff --git a/compiler/tests/org/jetbrains/kotlin/codegen/BlackBoxCodegenTestGenerated.java b/compiler/tests/org/jetbrains/kotlin/codegen/BlackBoxCodegenTestGenerated.java index a172bcabae6..0b12785b8e3 100644 --- a/compiler/tests/org/jetbrains/kotlin/codegen/BlackBoxCodegenTestGenerated.java +++ b/compiler/tests/org/jetbrains/kotlin/codegen/BlackBoxCodegenTestGenerated.java @@ -11393,18 +11393,6 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/properties"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } - @TestMetadata("augmentedAssignmentsAndIncrements.kt") - public void testAugmentedAssignmentsAndIncrements() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/properties/augmentedAssignmentsAndIncrements.kt"); - try { - doTest(fileName); - } - catch (Throwable ignore) { - return; - } - throw new AssertionError("Looks like this test can be unmuted. Remove IGNORE_BACKEND directive for that."); - } - @TestMetadata("classArtificialFieldInsideNested.kt") public void testClassArtificialFieldInsideNested() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/properties/classArtificialFieldInsideNested.kt"); diff --git a/compiler/tests/org/jetbrains/kotlin/codegen/LightAnalysisModeCodegenTestGenerated.java b/compiler/tests/org/jetbrains/kotlin/codegen/LightAnalysisModeCodegenTestGenerated.java index 6288c3333fd..3e946bb00ee 100644 --- a/compiler/tests/org/jetbrains/kotlin/codegen/LightAnalysisModeCodegenTestGenerated.java +++ b/compiler/tests/org/jetbrains/kotlin/codegen/LightAnalysisModeCodegenTestGenerated.java @@ -11393,18 +11393,6 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/properties"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true); } - @TestMetadata("augmentedAssignmentsAndIncrements.kt") - public void testAugmentedAssignmentsAndIncrements() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/properties/augmentedAssignmentsAndIncrements.kt"); - try { - doTest(fileName); - } - catch (Throwable ignore) { - return; - } - throw new AssertionError("Looks like this test can be unmuted. Remove IGNORE_BACKEND directive for that."); - } - @TestMetadata("classArtificialFieldInsideNested.kt") public void testClassArtificialFieldInsideNested() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/properties/classArtificialFieldInsideNested.kt");