test(KT-47806): add tests for the uncovered behavior for generic companion function extensions.

This commit is contained in:
Artem Kobzar
2021-10-11 08:56:52 +00:00
committed by Space
parent a9ce25cf33
commit c9510af2c7
9 changed files with 53 additions and 0 deletions
@@ -4458,6 +4458,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
runTest("compiler/testData/codegen/box/companion/delegatedPropertyOnCompanion.kt");
}
@TestMetadata("genericLambdaOnStringCompanion.kt")
public void testGenericLambdaOnStringCompanion() throws Exception {
runTest("compiler/testData/codegen/box/companion/genericLambdaOnStringCompanion.kt");
}
@TestMetadata("inlineFunctionCompanionPropertyAccess.kt")
public void testInlineFunctionCompanionPropertyAccess() throws Exception {
runTest("compiler/testData/codegen/box/companion/inlineFunctionCompanionPropertyAccess.kt");
@@ -4458,6 +4458,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/companion/delegatedPropertyOnCompanion.kt");
}
@TestMetadata("genericLambdaOnStringCompanion.kt")
public void testGenericLambdaOnStringCompanion() throws Exception {
runTest("compiler/testData/codegen/box/companion/genericLambdaOnStringCompanion.kt");
}
@TestMetadata("inlineFunctionCompanionPropertyAccess.kt")
public void testInlineFunctionCompanionPropertyAccess() throws Exception {
runTest("compiler/testData/codegen/box/companion/inlineFunctionCompanionPropertyAccess.kt");
@@ -4423,6 +4423,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/companion/delegatedPropertyOnCompanion.kt");
}
@TestMetadata("genericLambdaOnStringCompanion.kt")
public void testGenericLambdaOnStringCompanion() throws Exception {
runTest("compiler/testData/codegen/box/companion/genericLambdaOnStringCompanion.kt");
}
@TestMetadata("inlineFunctionCompanionPropertyAccess.kt")
public void testInlineFunctionCompanionPropertyAccess() throws Exception {
runTest("compiler/testData/codegen/box/companion/inlineFunctionCompanionPropertyAccess.kt");
@@ -4379,6 +4379,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
runTest("compiler/testData/codegen/box/companion/delegatedPropertyOnCompanion.kt");
}
@TestMetadata("genericLambdaOnStringCompanion.kt")
public void testGenericLambdaOnStringCompanion() throws Exception {
runTest("compiler/testData/codegen/box/companion/genericLambdaOnStringCompanion.kt");
}
@TestMetadata("inlineFunctionCompanionPropertyAccess.kt")
public void testInlineFunctionCompanionPropertyAccess() throws Exception {
runTest("compiler/testData/codegen/box/companion/inlineFunctionCompanionPropertyAccess.kt");