Split up Result API boxing tests

This commit is contained in:
Steven Schäfer
2019-09-05 11:12:40 +02:00
committed by Alexander Udalov
parent 2e53e36fd5
commit 49efa5fbc4
7 changed files with 94 additions and 16 deletions
@@ -2603,11 +2603,31 @@ public class BytecodeTextTestGenerated extends AbstractBytecodeTextTest {
runTest("compiler/testData/codegen/bytecodeText/inlineClasses/propertySetterWithInlineClassTypeArgument.kt");
}
@TestMetadata("resultApiDoesntCallSpecializedEquals.kt")
public void testResultApiDoesntCallSpecializedEquals() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/inlineClasses/resultApiDoesntCallSpecializedEquals.kt");
}
@TestMetadata("resultApiDoesntUseBox.kt")
public void testResultApiDoesntUseBox() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/inlineClasses/resultApiDoesntUseBox.kt");
}
@TestMetadata("resultApiEqualsDoesntBox.kt")
public void testResultApiEqualsDoesntBox() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/inlineClasses/resultApiEqualsDoesntBox.kt");
}
@TestMetadata("resultApiRunCatchingDoesntBox.kt")
public void testResultApiRunCatchingDoesntBox() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/inlineClasses/resultApiRunCatchingDoesntBox.kt");
}
@TestMetadata("resultApiStringInterpolationDoesntBox.kt")
public void testResultApiStringInterpolationDoesntBox() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/inlineClasses/resultApiStringInterpolationDoesntBox.kt");
}
@TestMetadata("resultMangling.kt")
public void testResultMangling() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/inlineClasses/resultMangling.kt");