Add tests for KT-40152
This commit is contained in:
+5
@@ -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");
|
||||
|
||||
+5
@@ -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");
|
||||
|
||||
+5
@@ -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");
|
||||
|
||||
+5
@@ -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");
|
||||
|
||||
+5
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user