Add tests for issues fixed in JVM IR and other obsolete issues

#KT-6007
 #KT-16445
 #KT-17753
 #KT-22488
 #KT-23881
 #KT-24135
 #KT-26360
 #KT-27427
 #KT-27449
 #KT-27830
 #KT-28042
 #KT-29595
 #KT-30708
 #KT-32793
This commit is contained in:
Alexander Udalov
2021-01-07 19:31:59 +01:00
parent 3e59adc7f3
commit 5480faf5c5
36 changed files with 824 additions and 0 deletions
@@ -5623,6 +5623,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
runTest("compiler/testData/codegen/box/coroutines/kt21605.kt");
}
@TestMetadata("kt24135.kt")
public void testKt24135() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/kt24135.kt");
}
@TestMetadata("kt25912.kt")
public void testKt25912() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/kt25912.kt");
@@ -5973,6 +5978,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
runTest("compiler/testData/codegen/box/coroutines/controlFlow/doWhileStatement.kt");
}
@TestMetadata("doWhileWithInline.kt")
public void testDoWhileWithInline() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/controlFlow/doWhileWithInline.kt");
}
@TestMetadata("doubleBreak.kt")
public void testDoubleBreak() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/controlFlow/doubleBreak.kt");
@@ -7198,6 +7208,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
runTest("compiler/testData/codegen/box/coroutines/localFunctions/named/capturedVariables.kt");
}
@TestMetadata("defaultArgument.kt")
public void testDefaultArgument() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/localFunctions/named/defaultArgument.kt");
}
@TestMetadata("extension.kt")
public void testExtension() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/localFunctions/named/extension.kt");
@@ -12155,6 +12170,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
runTest("compiler/testData/codegen/box/inlineClasses/kt28585.kt");
}
@TestMetadata("kt32793.kt")
public void testKt32793() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/kt32793.kt");
}
@TestMetadata("kt33119.kt")
public void testKt33119() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/kt33119.kt");
@@ -24402,6 +24422,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
runTest("compiler/testData/codegen/box/reified/instanceof.kt");
}
@TestMetadata("kt16445.kt")
public void testKt16445() throws Exception {
runTest("compiler/testData/codegen/box/reified/kt16445.kt");
}
@TestMetadata("newArrayInt.kt")
public void testNewArrayInt() throws Exception {
runTest("compiler/testData/codegen/box/reified/newArrayInt.kt");
@@ -242,6 +242,11 @@ public class IrJsCodegenInlineES6TestGenerated extends AbstractIrJsCodegenInline
runTest("compiler/testData/codegen/boxInline/anonymousObject/kt42815_delegated.kt");
}
@TestMetadata("kt6007.kt")
public void testKt6007() throws Exception {
runTest("compiler/testData/codegen/boxInline/anonymousObject/kt6007.kt");
}
@TestMetadata("kt6552.kt")
public void testKt6552() throws Exception {
runTest("compiler/testData/codegen/boxInline/anonymousObject/kt6552.kt");
@@ -847,6 +852,11 @@ public class IrJsCodegenInlineES6TestGenerated extends AbstractIrJsCodegenInline
runTest("compiler/testData/codegen/boxInline/callableReference/bound/kt18728_4.kt");
}
@TestMetadata("lambdaOnLhs.kt")
public void testLambdaOnLhs() throws Exception {
runTest("compiler/testData/codegen/boxInline/callableReference/bound/lambdaOnLhs.kt");
}
@TestMetadata("map.kt")
public void testMap() throws Exception {
runTest("compiler/testData/codegen/boxInline/callableReference/bound/map.kt");
@@ -3992,6 +4002,11 @@ public class IrJsCodegenInlineES6TestGenerated extends AbstractIrJsCodegenInline
runTest("compiler/testData/codegen/boxInline/suspend/stateMachine/insideObject.kt");
}
@TestMetadata("kt30708.kt")
public void testKt30708() throws Exception {
runTest("compiler/testData/codegen/boxInline/suspend/stateMachine/kt30708.kt");
}
@TestMetadata("lambdaTransformation.kt")
public void testLambdaTransformation() throws Exception {
runTest("compiler/testData/codegen/boxInline/suspend/stateMachine/lambdaTransformation.kt");
@@ -5623,6 +5623,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/coroutines/kt21605.kt");
}
@TestMetadata("kt24135.kt")
public void testKt24135() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/kt24135.kt");
}
@TestMetadata("kt25912.kt")
public void testKt25912() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/kt25912.kt");
@@ -5973,6 +5978,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/coroutines/controlFlow/doWhileStatement.kt");
}
@TestMetadata("doWhileWithInline.kt")
public void testDoWhileWithInline() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/controlFlow/doWhileWithInline.kt");
}
@TestMetadata("doubleBreak.kt")
public void testDoubleBreak() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/controlFlow/doubleBreak.kt");
@@ -7198,6 +7208,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/coroutines/localFunctions/named/capturedVariables.kt");
}
@TestMetadata("defaultArgument.kt")
public void testDefaultArgument() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/localFunctions/named/defaultArgument.kt");
}
@TestMetadata("extension.kt")
public void testExtension() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/localFunctions/named/extension.kt");
@@ -12155,6 +12170,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/inlineClasses/kt28585.kt");
}
@TestMetadata("kt32793.kt")
public void testKt32793() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/kt32793.kt");
}
@TestMetadata("kt33119.kt")
public void testKt33119() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/kt33119.kt");
@@ -24402,6 +24422,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/reified/instanceof.kt");
}
@TestMetadata("kt16445.kt")
public void testKt16445() throws Exception {
runTest("compiler/testData/codegen/box/reified/kt16445.kt");
}
@TestMetadata("newArrayInt.kt")
public void testNewArrayInt() throws Exception {
runTest("compiler/testData/codegen/box/reified/newArrayInt.kt");
@@ -242,6 +242,11 @@ public class IrJsCodegenInlineTestGenerated extends AbstractIrJsCodegenInlineTes
runTest("compiler/testData/codegen/boxInline/anonymousObject/kt42815_delegated.kt");
}
@TestMetadata("kt6007.kt")
public void testKt6007() throws Exception {
runTest("compiler/testData/codegen/boxInline/anonymousObject/kt6007.kt");
}
@TestMetadata("kt6552.kt")
public void testKt6552() throws Exception {
runTest("compiler/testData/codegen/boxInline/anonymousObject/kt6552.kt");
@@ -847,6 +852,11 @@ public class IrJsCodegenInlineTestGenerated extends AbstractIrJsCodegenInlineTes
runTest("compiler/testData/codegen/boxInline/callableReference/bound/kt18728_4.kt");
}
@TestMetadata("lambdaOnLhs.kt")
public void testLambdaOnLhs() throws Exception {
runTest("compiler/testData/codegen/boxInline/callableReference/bound/lambdaOnLhs.kt");
}
@TestMetadata("map.kt")
public void testMap() throws Exception {
runTest("compiler/testData/codegen/boxInline/callableReference/bound/map.kt");
@@ -3992,6 +4002,11 @@ public class IrJsCodegenInlineTestGenerated extends AbstractIrJsCodegenInlineTes
runTest("compiler/testData/codegen/boxInline/suspend/stateMachine/insideObject.kt");
}
@TestMetadata("kt30708.kt")
public void testKt30708() throws Exception {
runTest("compiler/testData/codegen/boxInline/suspend/stateMachine/kt30708.kt");
}
@TestMetadata("lambdaTransformation.kt")
public void testLambdaTransformation() throws Exception {
runTest("compiler/testData/codegen/boxInline/suspend/stateMachine/lambdaTransformation.kt");
@@ -5623,6 +5623,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/coroutines/kt21605.kt");
}
@TestMetadata("kt24135.kt")
public void testKt24135() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/kt24135.kt");
}
@TestMetadata("kt25912.kt")
public void testKt25912() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/kt25912.kt");
@@ -5973,6 +5978,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/coroutines/controlFlow/doWhileStatement.kt");
}
@TestMetadata("doWhileWithInline.kt")
public void testDoWhileWithInline() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/controlFlow/doWhileWithInline.kt");
}
@TestMetadata("doubleBreak.kt")
public void testDoubleBreak() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/controlFlow/doubleBreak.kt");
@@ -7198,6 +7208,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/coroutines/localFunctions/named/capturedVariables.kt");
}
@TestMetadata("defaultArgument.kt")
public void testDefaultArgument() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/localFunctions/named/defaultArgument.kt");
}
@TestMetadata("extension.kt")
public void testExtension() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/localFunctions/named/extension.kt");
@@ -12220,6 +12235,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/inlineClasses/kt28585.kt");
}
@TestMetadata("kt32793.kt")
public void testKt32793() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/kt32793.kt");
}
@TestMetadata("kt33119.kt")
public void testKt33119() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/kt33119.kt");
@@ -24367,6 +24387,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/reified/instanceof.kt");
}
@TestMetadata("kt16445.kt")
public void testKt16445() throws Exception {
runTest("compiler/testData/codegen/box/reified/kt16445.kt");
}
@TestMetadata("newArrayInt.kt")
public void testNewArrayInt() throws Exception {
runTest("compiler/testData/codegen/box/reified/newArrayInt.kt");
@@ -242,6 +242,11 @@ public class JsCodegenInlineTestGenerated extends AbstractJsCodegenInlineTest {
runTest("compiler/testData/codegen/boxInline/anonymousObject/kt42815_delegated.kt");
}
@TestMetadata("kt6007.kt")
public void testKt6007() throws Exception {
runTest("compiler/testData/codegen/boxInline/anonymousObject/kt6007.kt");
}
@TestMetadata("kt6552.kt")
public void testKt6552() throws Exception {
runTest("compiler/testData/codegen/boxInline/anonymousObject/kt6552.kt");
@@ -847,6 +852,11 @@ public class JsCodegenInlineTestGenerated extends AbstractJsCodegenInlineTest {
runTest("compiler/testData/codegen/boxInline/callableReference/bound/kt18728_4.kt");
}
@TestMetadata("lambdaOnLhs.kt")
public void testLambdaOnLhs() throws Exception {
runTest("compiler/testData/codegen/boxInline/callableReference/bound/lambdaOnLhs.kt");
}
@TestMetadata("map.kt")
public void testMap() throws Exception {
runTest("compiler/testData/codegen/boxInline/callableReference/bound/map.kt");
@@ -3992,6 +4002,11 @@ public class JsCodegenInlineTestGenerated extends AbstractJsCodegenInlineTest {
runTest("compiler/testData/codegen/boxInline/suspend/stateMachine/insideObject.kt");
}
@TestMetadata("kt30708.kt")
public void testKt30708() throws Exception {
runTest("compiler/testData/codegen/boxInline/suspend/stateMachine/kt30708.kt");
}
@TestMetadata("lambdaTransformation.kt")
public void testLambdaTransformation() throws Exception {
runTest("compiler/testData/codegen/boxInline/suspend/stateMachine/lambdaTransformation.kt");
@@ -12961,6 +12961,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
runTest("compiler/testData/codegen/box/reified/instanceof.kt");
}
@TestMetadata("kt16445.kt")
public void testKt16445() throws Exception {
runTest("compiler/testData/codegen/box/reified/kt16445.kt");
}
@TestMetadata("newArrayInt.kt")
public void testNewArrayInt() throws Exception {
runTest("compiler/testData/codegen/box/reified/newArrayInt.kt");