Regenerate tests and test data

This commit is contained in:
Alexey Andreev
2016-12-29 16:15:49 +03:00
parent 175d37fdc8
commit 07de819377
7 changed files with 6 additions and 37 deletions
@@ -1,5 +1,5 @@
// Enable when KT-14833 is fixed.
// IGNORE_BACKEND: JVM
// TARGET_BACKEND: JS
import kotlin.reflect.KProperty
var a = 0
@@ -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[]
@@ -1,3 +1,4 @@
@kotlin.Metadata
public final class A {
private final field x: int
public method <init>(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
@@ -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
}
@@ -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");
@@ -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");
@@ -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");