Add tests for constructors taking inline class arguments

This commit is contained in:
Steven Schäfer
2019-09-23 14:08:29 +02:00
committed by Alexander Udalov
parent 9389d88232
commit 21af7dfbe1
6 changed files with 41 additions and 0 deletions
@@ -2478,6 +2478,11 @@ public class BytecodeTextTestGenerated extends AbstractBytecodeTextTest {
runTest("compiler/testData/codegen/bytecodeText/inlineClasses/checkOuterInlineFunctionCall.kt");
}
@TestMetadata("constructorBridge.kt")
public void testConstructorBridge() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/inlineClasses/constructorBridge.kt");
}
@TestMetadata("defaultParametersDontBox.kt")
public void testDefaultParametersDontBox() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/inlineClasses/defaultParametersDontBox.kt");
@@ -481,6 +481,11 @@ public class WriteFlagsTestGenerated extends AbstractWriteFlagsTest {
public void testTopLevelObject() throws Exception {
runTest("compiler/testData/writeFlags/function/constructors/topLevelObject.kt");
}
@TestMetadata("withMangledArguments.kt")
public void testWithMangledArguments() throws Exception {
runTest("compiler/testData/writeFlags/function/constructors/withMangledArguments.kt");
}
}
@TestMetadata("compiler/testData/writeFlags/function/deprecatedFlag")
@@ -2448,6 +2448,11 @@ public class IrBytecodeTextTestGenerated extends AbstractIrBytecodeTextTest {
runTest("compiler/testData/codegen/bytecodeText/inlineClasses/checkOuterInlineFunctionCall.kt");
}
@TestMetadata("constructorBridge.kt")
public void testConstructorBridge() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/inlineClasses/constructorBridge.kt");
}
@TestMetadata("defaultParametersDontBox.kt")
public void testDefaultParametersDontBox() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/inlineClasses/defaultParametersDontBox.kt");
@@ -481,6 +481,11 @@ public class IrWriteFlagsTestGenerated extends AbstractIrWriteFlagsTest {
public void testTopLevelObject() throws Exception {
runTest("compiler/testData/writeFlags/function/constructors/topLevelObject.kt");
}
@TestMetadata("withMangledArguments.kt")
public void testWithMangledArguments() throws Exception {
runTest("compiler/testData/writeFlags/function/constructors/withMangledArguments.kt");
}
}
@TestMetadata("compiler/testData/writeFlags/function/deprecatedFlag")