Some more bytecode listing tests for JVM_IR

This commit is contained in:
Dmitry Petrov
2020-09-23 16:03:51 +03:00
parent 25ea3df5ca
commit 99dbeecc40
7 changed files with 477 additions and 1 deletions
@@ -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("collectionsWithFullJdk.kt")
public void testCollectionsWithFullJdk() throws Exception {
runTest("compiler/testData/codegen/bytecodeListing/collectionStubs/collectionsWithFullJdk.kt");
}
@TestMetadata("customListIterator.kt")
public void testCustomListIterator() throws Exception {
runTest("compiler/testData/codegen/bytecodeListing/collectionStubs/customListIterator.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("collectionsWithFullJdk.kt")
public void testCollectionsWithFullJdk() throws Exception {
runTest("compiler/testData/codegen/bytecodeListing/collectionStubs/collectionsWithFullJdk.kt");
}
@TestMetadata("customListIterator.kt")
public void testCustomListIterator() throws Exception {
runTest("compiler/testData/codegen/bytecodeListing/collectionStubs/customListIterator.kt");