JVM IR: (Un)mute tests and add more tests for bridge generation
This commit is contained in:
committed by
Georgy Bronnikov
parent
12e31a1760
commit
5f6af58aeb
+30
@@ -1373,6 +1373,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("abstractOverrideBridge.kt")
|
||||
public void testAbstractOverrideBridge() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/bridges/abstractOverrideBridge.kt");
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInBridges() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/bridges"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||
}
|
||||
@@ -1457,6 +1462,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/bridges/fakeOverrideOfTraitImpl.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("fakeOverrideThroughGenericSuperclass.kt")
|
||||
public void testFakeOverrideThroughGenericSuperclass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/bridges/fakeOverrideThroughGenericSuperclass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("fakeOverrideWithSeveralSuperDeclarations.kt")
|
||||
public void testFakeOverrideWithSeveralSuperDeclarations() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/bridges/fakeOverrideWithSeveralSuperDeclarations.kt");
|
||||
@@ -13922,6 +13932,21 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
@TestMetadata("complexGenericMethodWithInlineClassOverride.kt")
|
||||
public void testComplexGenericMethodWithInlineClassOverride() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/complexGenericMethodWithInlineClassOverride.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("complexGenericMethodWithInlineClassOverride2.kt")
|
||||
public void testComplexGenericMethodWithInlineClassOverride2() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/complexGenericMethodWithInlineClassOverride2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("complexGenericMethodWithInlineClassOverride3.kt")
|
||||
public void testComplexGenericMethodWithInlineClassOverride3() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/complexGenericMethodWithInlineClassOverride3.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultInterfaceExtensionFunCall.kt")
|
||||
public void testDefaultInterfaceExtensionFunCall() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/defaultInterfaceExtensionFunCall.kt");
|
||||
@@ -13947,6 +13972,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/genericInterfaceMethodCall.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("genericMethodWithInlineClassOverride.kt")
|
||||
public void testGenericMethodWithInlineClassOverride() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/genericMethodWithInlineClassOverride.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("overriddenDefaultInterfaceMethodCall.kt")
|
||||
public void testOverriddenDefaultInterfaceMethodCall() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/overriddenDefaultInterfaceMethodCall.kt");
|
||||
|
||||
Reference in New Issue
Block a user