JVM_IR KT-42260 add abstract overrides for generated stubs
This commit is contained in:
+5
@@ -4964,6 +4964,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("addCollectionStubWithCovariantOverride.kt")
|
||||
public void testAddCollectionStubWithCovariantOverride() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/collections/addCollectionStubWithCovariantOverride.kt");
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInCollections() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/collections"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
+20
@@ -299,6 +299,26 @@ public class BytecodeListingTestGenerated extends AbstractBytecodeListingTest {
|
||||
runTest("compiler/testData/codegen/bytecodeListing/collectionStubs/observableMutableMap.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("stubForAbstractFun.kt")
|
||||
public void testStubForAbstractFun() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeListing/collectionStubs/stubForAbstractFun.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("stubForAbstractFunInAbstractClass.kt")
|
||||
public void testStubForAbstractFunInAbstractClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeListing/collectionStubs/stubForAbstractFunInAbstractClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("stubForAbstractFunInAbstractClassWithCovariantOverride.kt")
|
||||
public void testStubForAbstractFunInAbstractClassWithCovariantOverride() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeListing/collectionStubs/stubForAbstractFunInAbstractClassWithCovariantOverride.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("stubForAbstractFunWithCovariantOverride.kt")
|
||||
public void testStubForAbstractFunWithCovariantOverride() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeListing/collectionStubs/stubForAbstractFunWithCovariantOverride.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("stubsFromSuperclass.kt")
|
||||
public void testStubsFromSuperclass() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeListing/collectionStubs/stubsFromSuperclass.kt");
|
||||
|
||||
+5
@@ -4964,6 +4964,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("addCollectionStubWithCovariantOverride.kt")
|
||||
public void testAddCollectionStubWithCovariantOverride() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/collections/addCollectionStubWithCovariantOverride.kt");
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInCollections() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/collections"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
+5
@@ -4934,6 +4934,11 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM_IR, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("addCollectionStubWithCovariantOverride.kt")
|
||||
public void testAddCollectionStubWithCovariantOverride() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/collections/addCollectionStubWithCovariantOverride.kt");
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInCollections() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/collections"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
+20
@@ -299,6 +299,26 @@ public class IrBytecodeListingTestGenerated extends AbstractIrBytecodeListingTes
|
||||
runTest("compiler/testData/codegen/bytecodeListing/collectionStubs/observableMutableMap.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("stubForAbstractFun.kt")
|
||||
public void testStubForAbstractFun() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeListing/collectionStubs/stubForAbstractFun.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("stubForAbstractFunInAbstractClass.kt")
|
||||
public void testStubForAbstractFunInAbstractClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeListing/collectionStubs/stubForAbstractFunInAbstractClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("stubForAbstractFunInAbstractClassWithCovariantOverride.kt")
|
||||
public void testStubForAbstractFunInAbstractClassWithCovariantOverride() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeListing/collectionStubs/stubForAbstractFunInAbstractClassWithCovariantOverride.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("stubForAbstractFunWithCovariantOverride.kt")
|
||||
public void testStubForAbstractFunWithCovariantOverride() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeListing/collectionStubs/stubForAbstractFunWithCovariantOverride.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("stubsFromSuperclass.kt")
|
||||
public void testStubsFromSuperclass() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeListing/collectionStubs/stubsFromSuperclass.kt");
|
||||
|
||||
Reference in New Issue
Block a user