Add tests with resume path
This commit is contained in:
+802
-225
File diff suppressed because it is too large
Load Diff
+802
-225
File diff suppressed because it is too large
Load Diff
+564
-157
@@ -7428,207 +7428,614 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM_IR, testDataFilePath);
|
||||
}
|
||||
|
||||
private void runTestWithPackageReplacement(String testDataFilePath, String packageName) throws Exception {
|
||||
KotlinTestUtils.runTest(filePath -> doTestWithCoroutinesPackageReplacement(filePath, packageName), TargetBackend.JVM_IR, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInInlineClasses() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/inlineClasses"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@TestMetadata("boxReturnValueOfSuspendFunctionReference.kt")
|
||||
public void testBoxReturnValueOfSuspendFunctionReference() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/boxReturnValueOfSuspendFunctionReference.kt");
|
||||
@TestMetadata("compiler/testData/codegen/box/coroutines/inlineClasses/direct")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Direct extends AbstractIrBlackBoxCodegenTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM_IR, testDataFilePath);
|
||||
}
|
||||
|
||||
private void runTestWithPackageReplacement(String testDataFilePath, String packageName) throws Exception {
|
||||
KotlinTestUtils.runTest(filePath -> doTestWithCoroutinesPackageReplacement(filePath, packageName), TargetBackend.JVM_IR, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInDirect() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/inlineClasses/direct"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@TestMetadata("boxReturnValueOfSuspendFunctionReference.kt")
|
||||
public void testBoxReturnValueOfSuspendFunctionReference() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/boxReturnValueOfSuspendFunctionReference.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("boxReturnValueOfSuspendLambda.kt")
|
||||
public void testBoxReturnValueOfSuspendLambda() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/boxReturnValueOfSuspendLambda.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("boxUnboxInsideCoroutine.kt")
|
||||
public void testBoxUnboxInsideCoroutine_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/direct/boxUnboxInsideCoroutine.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("boxUnboxInsideCoroutine_Any.kt")
|
||||
public void testBoxUnboxInsideCoroutine_Any_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/direct/boxUnboxInsideCoroutine_Any.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("boxUnboxInsideCoroutine_InlineAny.kt")
|
||||
public void testBoxUnboxInsideCoroutine_InlineAny_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/direct/boxUnboxInsideCoroutine_InlineAny.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("boxUnboxInsideCoroutine_InlineInt.kt")
|
||||
public void testBoxUnboxInsideCoroutine_InlineInt_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/direct/boxUnboxInsideCoroutine_InlineInt.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("boxUnboxInsideCoroutine_Int.kt")
|
||||
public void testBoxUnboxInsideCoroutine_Int_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/direct/boxUnboxInsideCoroutine_Int.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("boxUnboxInsideCoroutine_Long.kt")
|
||||
public void testBoxUnboxInsideCoroutine_Long_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/direct/boxUnboxInsideCoroutine_Long.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("boxUnboxInsideCoroutine_NAny.kt")
|
||||
public void testBoxUnboxInsideCoroutine_NAny_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/direct/boxUnboxInsideCoroutine_NAny.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("boxUnboxInsideCoroutine_nonLocalReturn.kt")
|
||||
public void testBoxUnboxInsideCoroutine_nonLocalReturn_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/direct/boxUnboxInsideCoroutine_nonLocalReturn.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("boxUnboxInsideCoroutine_suspendFunType.kt")
|
||||
public void testBoxUnboxInsideCoroutine_suspendFunType_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/direct/boxUnboxInsideCoroutine_suspendFunType.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("bridgeGenerationCrossinline.kt")
|
||||
public void testBridgeGenerationCrossinline_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/direct/bridgeGenerationCrossinline.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("bridgeGenerationNonInline.kt")
|
||||
public void testBridgeGenerationNonInline_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/direct/bridgeGenerationNonInline.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFun.kt")
|
||||
public void testCovariantOverrideSuspendFun() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/covariantOverrideSuspendFun.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/covariantOverrideSuspendFunWithNullableInlineClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass_Any.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass_Any() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/covariantOverrideSuspendFunWithNullableInlineClass_Any.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass_Int.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass_Int() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/covariantOverrideSuspendFunWithNullableInlineClass_Int.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass_NullableAny.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass_NullableAny() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/covariantOverrideSuspendFunWithNullableInlineClass_NullableAny.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass_NullableAny_null.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass_NullableAny_null() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/covariantOverrideSuspendFunWithNullableInlineClass_NullableAny_null.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass_NullableInt.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass_NullableInt() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/covariantOverrideSuspendFunWithNullableInlineClass_NullableInt.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass_NullableInt_null.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass_NullableInt_null() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/covariantOverrideSuspendFunWithNullableInlineClass_NullableInt_null.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFun_Any.kt")
|
||||
public void testCovariantOverrideSuspendFun_Any() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/covariantOverrideSuspendFun_Any.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFun_Int.kt")
|
||||
public void testCovariantOverrideSuspendFun_Int() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/covariantOverrideSuspendFun_Int.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("genericOverrideSuspendFun.kt")
|
||||
public void testGenericOverrideSuspendFun() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/genericOverrideSuspendFun.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("genericOverrideSuspendFun_Any.kt")
|
||||
public void testGenericOverrideSuspendFun_Any() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/genericOverrideSuspendFun_Any.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("genericOverrideSuspendFun_Any_NullableInlineClassUpperBound.kt")
|
||||
public void testGenericOverrideSuspendFun_Any_NullableInlineClassUpperBound() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/genericOverrideSuspendFun_Any_NullableInlineClassUpperBound.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("genericOverrideSuspendFun_Int.kt")
|
||||
public void testGenericOverrideSuspendFun_Int() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/genericOverrideSuspendFun_Int.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("genericOverrideSuspendFun_NullableAny.kt")
|
||||
public void testGenericOverrideSuspendFun_NullableAny() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/genericOverrideSuspendFun_NullableAny.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("genericOverrideSuspendFun_NullableAny_null.kt")
|
||||
public void testGenericOverrideSuspendFun_NullableAny_null() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/genericOverrideSuspendFun_NullableAny_null.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("genericOverrideSuspendFun_NullableInt.kt")
|
||||
public void testGenericOverrideSuspendFun_NullableInt() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/genericOverrideSuspendFun_NullableInt.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("genericOverrideSuspendFun_NullableInt_null.kt")
|
||||
public void testGenericOverrideSuspendFun_NullableInt_null() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/genericOverrideSuspendFun_NullableInt_null.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("interfaceDelegateWithInlineClass.kt")
|
||||
public void testInterfaceDelegateWithInlineClass_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/direct/interfaceDelegateWithInlineClass.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("overrideSuspendFun.kt")
|
||||
public void testOverrideSuspendFun_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/direct/overrideSuspendFun.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("overrideSuspendFun_Any.kt")
|
||||
public void testOverrideSuspendFun_Any_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/direct/overrideSuspendFun_Any.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("overrideSuspendFun_Any_itf.kt")
|
||||
public void testOverrideSuspendFun_Any_itf_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/direct/overrideSuspendFun_Any_itf.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("overrideSuspendFun_Any_this.kt")
|
||||
public void testOverrideSuspendFun_Any_this_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/direct/overrideSuspendFun_Any_this.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("overrideSuspendFun_Int.kt")
|
||||
public void testOverrideSuspendFun_Int_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/direct/overrideSuspendFun_Int.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("returnResult.kt")
|
||||
public void testReturnResult() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/returnResult.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("boxReturnValueOfSuspendFunctionReferenceResume.kt")
|
||||
public void testBoxReturnValueOfSuspendFunctionReferenceResume() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/boxReturnValueOfSuspendFunctionReferenceResume.kt");
|
||||
@TestMetadata("compiler/testData/codegen/box/coroutines/inlineClasses/resume")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Resume extends AbstractIrBlackBoxCodegenTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM_IR, testDataFilePath);
|
||||
}
|
||||
|
||||
private void runTestWithPackageReplacement(String testDataFilePath, String packageName) throws Exception {
|
||||
KotlinTestUtils.runTest(filePath -> doTestWithCoroutinesPackageReplacement(filePath, packageName), TargetBackend.JVM_IR, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInResume() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/inlineClasses/resume"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@TestMetadata("boxReturnValueOfSuspendFunctionReference.kt")
|
||||
public void testBoxReturnValueOfSuspendFunctionReference() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/boxReturnValueOfSuspendFunctionReference.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("boxReturnValueOfSuspendLambda.kt")
|
||||
public void testBoxReturnValueOfSuspendLambda() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/boxReturnValueOfSuspendLambda.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("boxUnboxInsideCoroutine.kt")
|
||||
public void testBoxUnboxInsideCoroutine_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/resume/boxUnboxInsideCoroutine.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("boxUnboxInsideCoroutine_Any.kt")
|
||||
public void testBoxUnboxInsideCoroutine_Any_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/resume/boxUnboxInsideCoroutine_Any.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("boxUnboxInsideCoroutine_InlineAny.kt")
|
||||
public void testBoxUnboxInsideCoroutine_InlineAny_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/resume/boxUnboxInsideCoroutine_InlineAny.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("boxUnboxInsideCoroutine_InlineInt.kt")
|
||||
public void testBoxUnboxInsideCoroutine_InlineInt_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/resume/boxUnboxInsideCoroutine_InlineInt.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("boxUnboxInsideCoroutine_Int.kt")
|
||||
public void testBoxUnboxInsideCoroutine_Int_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/resume/boxUnboxInsideCoroutine_Int.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("boxUnboxInsideCoroutine_Long.kt")
|
||||
public void testBoxUnboxInsideCoroutine_Long_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/resume/boxUnboxInsideCoroutine_Long.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("boxUnboxInsideCoroutine_NAny.kt")
|
||||
public void testBoxUnboxInsideCoroutine_NAny_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/resume/boxUnboxInsideCoroutine_NAny.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("boxUnboxInsideCoroutine_nonLocalReturn.kt")
|
||||
public void testBoxUnboxInsideCoroutine_nonLocalReturn_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/resume/boxUnboxInsideCoroutine_nonLocalReturn.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("boxUnboxInsideCoroutine_suspendFunType.kt")
|
||||
public void testBoxUnboxInsideCoroutine_suspendFunType_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/resume/boxUnboxInsideCoroutine_suspendFunType.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("bridgeGenerationCrossinline.kt")
|
||||
public void testBridgeGenerationCrossinline_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/resume/bridgeGenerationCrossinline.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("bridgeGenerationNonInline.kt")
|
||||
public void testBridgeGenerationNonInline_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/resume/bridgeGenerationNonInline.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFun.kt")
|
||||
public void testCovariantOverrideSuspendFun() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/covariantOverrideSuspendFun.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/covariantOverrideSuspendFunWithNullableInlineClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass_Any.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass_Any() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/covariantOverrideSuspendFunWithNullableInlineClass_Any.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass_Int.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass_Int() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/covariantOverrideSuspendFunWithNullableInlineClass_Int.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass_NullableAny.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass_NullableAny() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/covariantOverrideSuspendFunWithNullableInlineClass_NullableAny.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass_NullableAny_null.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass_NullableAny_null() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/covariantOverrideSuspendFunWithNullableInlineClass_NullableAny_null.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass_NullableInt.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass_NullableInt() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/covariantOverrideSuspendFunWithNullableInlineClass_NullableInt.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass_NullableInt_null.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass_NullableInt_null() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/covariantOverrideSuspendFunWithNullableInlineClass_NullableInt_null.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFun_Any.kt")
|
||||
public void testCovariantOverrideSuspendFun_Any() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/covariantOverrideSuspendFun_Any.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFun_Int.kt")
|
||||
public void testCovariantOverrideSuspendFun_Int() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/covariantOverrideSuspendFun_Int.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("genericOverrideSuspendFun.kt")
|
||||
public void testGenericOverrideSuspendFun() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/genericOverrideSuspendFun.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("genericOverrideSuspendFun_Any.kt")
|
||||
public void testGenericOverrideSuspendFun_Any() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/genericOverrideSuspendFun_Any.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("genericOverrideSuspendFun_Any_NullableInlineClassUpperBound.kt")
|
||||
public void testGenericOverrideSuspendFun_Any_NullableInlineClassUpperBound() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/genericOverrideSuspendFun_Any_NullableInlineClassUpperBound.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("genericOverrideSuspendFun_Int.kt")
|
||||
public void testGenericOverrideSuspendFun_Int() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/genericOverrideSuspendFun_Int.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("genericOverrideSuspendFun_NullableAny.kt")
|
||||
public void testGenericOverrideSuspendFun_NullableAny() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/genericOverrideSuspendFun_NullableAny.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("genericOverrideSuspendFun_NullableAny_null.kt")
|
||||
public void testGenericOverrideSuspendFun_NullableAny_null() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/genericOverrideSuspendFun_NullableAny_null.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("genericOverrideSuspendFun_NullableInt.kt")
|
||||
public void testGenericOverrideSuspendFun_NullableInt() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/genericOverrideSuspendFun_NullableInt.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("genericOverrideSuspendFun_NullableInt_null.kt")
|
||||
public void testGenericOverrideSuspendFun_NullableInt_null() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/genericOverrideSuspendFun_NullableInt_null.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("interfaceDelegateWithInlineClass.kt")
|
||||
public void testInterfaceDelegateWithInlineClass_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/resume/interfaceDelegateWithInlineClass.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("overrideSuspendFun.kt")
|
||||
public void testOverrideSuspendFun_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/resume/overrideSuspendFun.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("overrideSuspendFun_Any.kt")
|
||||
public void testOverrideSuspendFun_Any_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/resume/overrideSuspendFun_Any.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("overrideSuspendFun_Any_itf.kt")
|
||||
public void testOverrideSuspendFun_Any_itf_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/resume/overrideSuspendFun_Any_itf.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("overrideSuspendFun_Any_this.kt")
|
||||
public void testOverrideSuspendFun_Any_this_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/resume/overrideSuspendFun_Any_this.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("overrideSuspendFun_Int.kt")
|
||||
public void testOverrideSuspendFun_Int_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/resume/overrideSuspendFun_Int.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("returnResult.kt")
|
||||
public void testReturnResult() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/returnResult.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("boxReturnValueOfSuspendLambda.kt")
|
||||
public void testBoxReturnValueOfSuspendLambda() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/boxReturnValueOfSuspendLambda.kt");
|
||||
}
|
||||
@TestMetadata("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class ResumeWithException extends AbstractIrBlackBoxCodegenTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM_IR, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("boxUnboxInsideCoroutine.kt")
|
||||
public void testBoxUnboxInsideCoroutine_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/boxUnboxInsideCoroutine.kt", "kotlin.coroutines");
|
||||
}
|
||||
private void runTestWithPackageReplacement(String testDataFilePath, String packageName) throws Exception {
|
||||
KotlinTestUtils.runTest(filePath -> doTestWithCoroutinesPackageReplacement(filePath, packageName), TargetBackend.JVM_IR, testDataFilePath);
|
||||
}
|
||||
|
||||
@TestMetadata("boxUnboxInsideCoroutine_Any.kt")
|
||||
public void testBoxUnboxInsideCoroutine_Any_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/boxUnboxInsideCoroutine_Any.kt", "kotlin.coroutines");
|
||||
}
|
||||
public void testAllFilesPresentInResumeWithException() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@TestMetadata("boxUnboxInsideCoroutine_InlineAny.kt")
|
||||
public void testBoxUnboxInsideCoroutine_InlineAny_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/boxUnboxInsideCoroutine_InlineAny.kt", "kotlin.coroutines");
|
||||
}
|
||||
@TestMetadata("boxReturnValueOfSuspendFunctionReference.kt")
|
||||
public void testBoxReturnValueOfSuspendFunctionReference() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/boxReturnValueOfSuspendFunctionReference.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("boxUnboxInsideCoroutine_InlineInt.kt")
|
||||
public void testBoxUnboxInsideCoroutine_InlineInt_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/boxUnboxInsideCoroutine_InlineInt.kt", "kotlin.coroutines");
|
||||
}
|
||||
@TestMetadata("boxReturnValueOfSuspendLambda.kt")
|
||||
public void testBoxReturnValueOfSuspendLambda() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/boxReturnValueOfSuspendLambda.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("boxUnboxInsideCoroutine_Int.kt")
|
||||
public void testBoxUnboxInsideCoroutine_Int_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/boxUnboxInsideCoroutine_Int.kt", "kotlin.coroutines");
|
||||
}
|
||||
@TestMetadata("boxUnboxInsideCoroutine.kt")
|
||||
public void testBoxUnboxInsideCoroutine_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/boxUnboxInsideCoroutine.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("boxUnboxInsideCoroutine_Long.kt")
|
||||
public void testBoxUnboxInsideCoroutine_Long_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/boxUnboxInsideCoroutine_Long.kt", "kotlin.coroutines");
|
||||
}
|
||||
@TestMetadata("boxUnboxInsideCoroutine_Any.kt")
|
||||
public void testBoxUnboxInsideCoroutine_Any_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/boxUnboxInsideCoroutine_Any.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("boxUnboxInsideCoroutine_NAny.kt")
|
||||
public void testBoxUnboxInsideCoroutine_NAny_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/boxUnboxInsideCoroutine_NAny.kt", "kotlin.coroutines");
|
||||
}
|
||||
@TestMetadata("boxUnboxInsideCoroutine_InlineAny.kt")
|
||||
public void testBoxUnboxInsideCoroutine_InlineAny_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/boxUnboxInsideCoroutine_InlineAny.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("boxUnboxInsideCoroutine_nonLocalReturn.kt")
|
||||
public void testBoxUnboxInsideCoroutine_nonLocalReturn_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/boxUnboxInsideCoroutine_nonLocalReturn.kt", "kotlin.coroutines");
|
||||
}
|
||||
@TestMetadata("boxUnboxInsideCoroutine_InlineInt.kt")
|
||||
public void testBoxUnboxInsideCoroutine_InlineInt_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/boxUnboxInsideCoroutine_InlineInt.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("boxUnboxInsideCoroutine_suspendFunType.kt")
|
||||
public void testBoxUnboxInsideCoroutine_suspendFunType_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/boxUnboxInsideCoroutine_suspendFunType.kt", "kotlin.coroutines");
|
||||
}
|
||||
@TestMetadata("boxUnboxInsideCoroutine_Int.kt")
|
||||
public void testBoxUnboxInsideCoroutine_Int_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/boxUnboxInsideCoroutine_Int.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("bridgeGenerationCrossinline.kt")
|
||||
public void testBridgeGenerationCrossinline_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/bridgeGenerationCrossinline.kt", "kotlin.coroutines");
|
||||
}
|
||||
@TestMetadata("boxUnboxInsideCoroutine_Long.kt")
|
||||
public void testBoxUnboxInsideCoroutine_Long_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/boxUnboxInsideCoroutine_Long.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("bridgeGenerationNonInline.kt")
|
||||
public void testBridgeGenerationNonInline_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/bridgeGenerationNonInline.kt", "kotlin.coroutines");
|
||||
}
|
||||
@TestMetadata("boxUnboxInsideCoroutine_NAny.kt")
|
||||
public void testBoxUnboxInsideCoroutine_NAny_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/boxUnboxInsideCoroutine_NAny.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFun.kt")
|
||||
public void testCovariantOverrideSuspendFun() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/covariantOverrideSuspendFun.kt");
|
||||
}
|
||||
@TestMetadata("boxUnboxInsideCoroutine_nonLocalReturn.kt")
|
||||
public void testBoxUnboxInsideCoroutine_nonLocalReturn_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/boxUnboxInsideCoroutine_nonLocalReturn.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/covariantOverrideSuspendFunWithNullableInlineClass.kt");
|
||||
}
|
||||
@TestMetadata("boxUnboxInsideCoroutine_suspendFunType.kt")
|
||||
public void testBoxUnboxInsideCoroutine_suspendFunType_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/boxUnboxInsideCoroutine_suspendFunType.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass_Any.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass_Any() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/covariantOverrideSuspendFunWithNullableInlineClass_Any.kt");
|
||||
}
|
||||
@TestMetadata("bridgeGenerationCrossinline.kt")
|
||||
public void testBridgeGenerationCrossinline_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/bridgeGenerationCrossinline.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass_Int.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass_Int() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/covariantOverrideSuspendFunWithNullableInlineClass_Int.kt");
|
||||
}
|
||||
@TestMetadata("bridgeGenerationNonInline.kt")
|
||||
public void testBridgeGenerationNonInline_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/bridgeGenerationNonInline.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass_NullableAny.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass_NullableAny() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/covariantOverrideSuspendFunWithNullableInlineClass_NullableAny.kt");
|
||||
}
|
||||
@TestMetadata("covariantOverrideSuspendFun.kt")
|
||||
public void testCovariantOverrideSuspendFun() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/covariantOverrideSuspendFun.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass_NullableAny_null.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass_NullableAny_null() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/covariantOverrideSuspendFunWithNullableInlineClass_NullableAny_null.kt");
|
||||
}
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/covariantOverrideSuspendFunWithNullableInlineClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass_NullableInt.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass_NullableInt() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/covariantOverrideSuspendFunWithNullableInlineClass_NullableInt.kt");
|
||||
}
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass_Any.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass_Any() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/covariantOverrideSuspendFunWithNullableInlineClass_Any.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass_NullableInt_null.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass_NullableInt_null() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/covariantOverrideSuspendFunWithNullableInlineClass_NullableInt_null.kt");
|
||||
}
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass_Int.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass_Int() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/covariantOverrideSuspendFunWithNullableInlineClass_Int.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFun_Any.kt")
|
||||
public void testCovariantOverrideSuspendFun_Any() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/covariantOverrideSuspendFun_Any.kt");
|
||||
}
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass_NullableAny.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass_NullableAny() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/covariantOverrideSuspendFunWithNullableInlineClass_NullableAny.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFun_Int.kt")
|
||||
public void testCovariantOverrideSuspendFun_Int() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/covariantOverrideSuspendFun_Int.kt");
|
||||
}
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass_NullableAny_null.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass_NullableAny_null() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/covariantOverrideSuspendFunWithNullableInlineClass_NullableAny_null.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("genericOverrideSuspendFun.kt")
|
||||
public void testGenericOverrideSuspendFun() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/genericOverrideSuspendFun.kt");
|
||||
}
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass_NullableInt.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass_NullableInt() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/covariantOverrideSuspendFunWithNullableInlineClass_NullableInt.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("genericOverrideSuspendFun_Any.kt")
|
||||
public void testGenericOverrideSuspendFun_Any() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/genericOverrideSuspendFun_Any.kt");
|
||||
}
|
||||
@TestMetadata("covariantOverrideSuspendFun_Any.kt")
|
||||
public void testCovariantOverrideSuspendFun_Any() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/covariantOverrideSuspendFun_Any.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("genericOverrideSuspendFun_Any_NullableInlineClassUpperBound.kt")
|
||||
public void testGenericOverrideSuspendFun_Any_NullableInlineClassUpperBound() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/genericOverrideSuspendFun_Any_NullableInlineClassUpperBound.kt");
|
||||
}
|
||||
@TestMetadata("covariantOverrideSuspendFun_Int.kt")
|
||||
public void testCovariantOverrideSuspendFun_Int() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/covariantOverrideSuspendFun_Int.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("genericOverrideSuspendFun_Int.kt")
|
||||
public void testGenericOverrideSuspendFun_Int() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/genericOverrideSuspendFun_Int.kt");
|
||||
}
|
||||
@TestMetadata("genericOverrideSuspendFun.kt")
|
||||
public void testGenericOverrideSuspendFun() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/genericOverrideSuspendFun.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("genericOverrideSuspendFun_NullableAny.kt")
|
||||
public void testGenericOverrideSuspendFun_NullableAny() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/genericOverrideSuspendFun_NullableAny.kt");
|
||||
}
|
||||
@TestMetadata("genericOverrideSuspendFun_Any.kt")
|
||||
public void testGenericOverrideSuspendFun_Any() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/genericOverrideSuspendFun_Any.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("genericOverrideSuspendFun_NullableAny_null.kt")
|
||||
public void testGenericOverrideSuspendFun_NullableAny_null() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/genericOverrideSuspendFun_NullableAny_null.kt");
|
||||
}
|
||||
@TestMetadata("genericOverrideSuspendFun_Any_NullableInlineClassUpperBound.kt")
|
||||
public void testGenericOverrideSuspendFun_Any_NullableInlineClassUpperBound() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/genericOverrideSuspendFun_Any_NullableInlineClassUpperBound.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("genericOverrideSuspendFun_NullableInt.kt")
|
||||
public void testGenericOverrideSuspendFun_NullableInt() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/genericOverrideSuspendFun_NullableInt.kt");
|
||||
}
|
||||
@TestMetadata("genericOverrideSuspendFun_Int.kt")
|
||||
public void testGenericOverrideSuspendFun_Int() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/genericOverrideSuspendFun_Int.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("genericOverrideSuspendFun_NullableInt_null.kt")
|
||||
public void testGenericOverrideSuspendFun_NullableInt_null() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/genericOverrideSuspendFun_NullableInt_null.kt");
|
||||
}
|
||||
@TestMetadata("genericOverrideSuspendFun_NullableAny.kt")
|
||||
public void testGenericOverrideSuspendFun_NullableAny() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/genericOverrideSuspendFun_NullableAny.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("interfaceDelegateWithInlineClass.kt")
|
||||
public void testInterfaceDelegateWithInlineClass_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/interfaceDelegateWithInlineClass.kt", "kotlin.coroutines");
|
||||
}
|
||||
@TestMetadata("genericOverrideSuspendFun_NullableInt.kt")
|
||||
public void testGenericOverrideSuspendFun_NullableInt() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/genericOverrideSuspendFun_NullableInt.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("overrideSuspendFun.kt")
|
||||
public void testOverrideSuspendFun_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/overrideSuspendFun.kt", "kotlin.coroutines");
|
||||
}
|
||||
@TestMetadata("interfaceDelegateWithInlineClass.kt")
|
||||
public void testInterfaceDelegateWithInlineClass_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/interfaceDelegateWithInlineClass.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("overrideSuspendFun_Any.kt")
|
||||
public void testOverrideSuspendFun_Any_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/overrideSuspendFun_Any.kt", "kotlin.coroutines");
|
||||
}
|
||||
@TestMetadata("overrideSuspendFun.kt")
|
||||
public void testOverrideSuspendFun_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/overrideSuspendFun.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("overrideSuspendFun_Any_itf.kt")
|
||||
public void testOverrideSuspendFun_Any_itf_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/overrideSuspendFun_Any_itf.kt", "kotlin.coroutines");
|
||||
}
|
||||
@TestMetadata("overrideSuspendFun_Any.kt")
|
||||
public void testOverrideSuspendFun_Any_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/overrideSuspendFun_Any.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("overrideSuspendFun_Any_this.kt")
|
||||
public void testOverrideSuspendFun_Any_this_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/overrideSuspendFun_Any_this.kt", "kotlin.coroutines");
|
||||
}
|
||||
@TestMetadata("overrideSuspendFun_Any_itf.kt")
|
||||
public void testOverrideSuspendFun_Any_itf_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/overrideSuspendFun_Any_itf.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("overrideSuspendFun_Int.kt")
|
||||
public void testOverrideSuspendFun_Int_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/overrideSuspendFun_Int.kt", "kotlin.coroutines");
|
||||
}
|
||||
@TestMetadata("overrideSuspendFun_Any_this.kt")
|
||||
public void testOverrideSuspendFun_Any_this_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/overrideSuspendFun_Any_this.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("returnResult.kt")
|
||||
public void testReturnResult() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/returnResult.kt");
|
||||
@TestMetadata("overrideSuspendFun_Int.kt")
|
||||
public void testOverrideSuspendFun_Int_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/overrideSuspendFun_Int.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("returnResult.kt")
|
||||
public void testReturnResult() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/returnResult.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user