Add tests for KT-40152

This commit is contained in:
Dmitry Petrov
2020-09-23 16:16:01 +03:00
parent cd37301ea2
commit 1c4567c999
10 changed files with 126 additions and 0 deletions
@@ -5073,6 +5073,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/collections/removeClashWithGenerics.kt");
}
@TestMetadata("removeNullFromList.kt")
public void testRemoveNullFromList() throws Exception {
runTest("compiler/testData/codegen/box/collections/removeNullFromList.kt");
}
@TestMetadata("removeOverriddenInJava.kt")
public void testRemoveOverriddenInJava() throws Exception {
runTest("compiler/testData/codegen/box/collections/removeOverriddenInJava.kt");
@@ -229,6 +229,11 @@ public class BytecodeListingTestGenerated extends AbstractBytecodeListingTest {
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/bytecodeListing/collectionStubs"), Pattern.compile("^(.+)\\.kt$"), null, true);
}
@TestMetadata("collectionByDelegation.kt")
public void testCollectionByDelegation() throws Exception {
runTest("compiler/testData/codegen/bytecodeListing/collectionStubs/collectionByDelegation.kt");
}
@TestMetadata("collectionsWithFullJdk.kt")
public void testCollectionsWithFullJdk() throws Exception {
runTest("compiler/testData/codegen/bytecodeListing/collectionStubs/collectionsWithFullJdk.kt");
@@ -5073,6 +5073,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/collections/removeClashWithGenerics.kt");
}
@TestMetadata("removeNullFromList.kt")
public void testRemoveNullFromList() throws Exception {
runTest("compiler/testData/codegen/box/collections/removeNullFromList.kt");
}
@TestMetadata("removeOverriddenInJava.kt")
public void testRemoveOverriddenInJava() throws Exception {
runTest("compiler/testData/codegen/box/collections/removeOverriddenInJava.kt");
@@ -5043,6 +5043,11 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
runTest("compiler/testData/codegen/box/collections/removeClashWithGenerics.kt");
}
@TestMetadata("removeNullFromList.kt")
public void testRemoveNullFromList() throws Exception {
runTest("compiler/testData/codegen/box/collections/removeNullFromList.kt");
}
@TestMetadata("removeOverriddenInJava.kt")
public void testRemoveOverriddenInJava() throws Exception {
runTest("compiler/testData/codegen/box/collections/removeOverriddenInJava.kt");
@@ -229,6 +229,11 @@ public class IrBytecodeListingTestGenerated extends AbstractIrBytecodeListingTes
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/bytecodeListing/collectionStubs"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
}
@TestMetadata("collectionByDelegation.kt")
public void testCollectionByDelegation() throws Exception {
runTest("compiler/testData/codegen/bytecodeListing/collectionStubs/collectionByDelegation.kt");
}
@TestMetadata("collectionsWithFullJdk.kt")
public void testCollectionsWithFullJdk() throws Exception {
runTest("compiler/testData/codegen/bytecodeListing/collectionStubs/collectionsWithFullJdk.kt");