[FIR, Tests] Add box tests to verify that disappeared DELEGATE_SPECIAL_FUNCTION_NONE_APPLICABLE leads to executable code
#KT-59903 Merge-request: KT-MR-13423 Merged-by: Evgeniy Zhelenskiy <Evgeniy.Zhelenskiy@jetbrains.com>
This commit is contained in:
committed by
Space Team
parent
aff5b91da3
commit
9cef8a2133
+25
@@ -13575,6 +13575,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/delegatedProperty/provideDelegate"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@TestMetadata("commonCaseForInference.kt")
|
||||
public void testCommonCaseForInference() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/delegatedProperty/provideDelegate/commonCaseForInference.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("delegatedPropertyWithIdProvideDelegate.kt")
|
||||
public void testDelegatedPropertyWithIdProvideDelegate() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/delegatedProperty/provideDelegate/delegatedPropertyWithIdProvideDelegate.kt");
|
||||
@@ -13625,6 +13630,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/delegatedProperty/provideDelegate/inClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("inferenceFromReceiver2.kt")
|
||||
public void testInferenceFromReceiver2() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/delegatedProperty/provideDelegate/inferenceFromReceiver2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineProvideDelegate.kt")
|
||||
public void testInlineProvideDelegate() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/delegatedProperty/provideDelegate/inlineProvideDelegate.kt");
|
||||
@@ -13675,6 +13685,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/delegatedProperty/provideDelegate/memberExtension.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("notNullAssertionInLocalDelegated.kt")
|
||||
public void testNotNullAssertionInLocalDelegated() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/delegatedProperty/provideDelegate/notNullAssertionInLocalDelegated.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("propertyMetadata.kt")
|
||||
public void testPropertyMetadata() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/delegatedProperty/provideDelegate/propertyMetadata.kt");
|
||||
@@ -13684,6 +13699,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
public void testProvideDelegateByExtensionFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/delegatedProperty/provideDelegate/provideDelegateByExtensionFunction.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("setValue.kt")
|
||||
public void testSetValue() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/delegatedProperty/provideDelegate/setValue.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13784,6 +13804,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/delegation/hiddenSuperOverrideIn1.0.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("ifWithCallableReferenceInLazy.kt")
|
||||
public void testIfWithCallableReferenceInLazy() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/delegation/ifWithCallableReferenceInLazy.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("inClassDeclaration.kt")
|
||||
public void testInClassDeclaration() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/delegation/inClassDeclaration.kt");
|
||||
|
||||
Reference in New Issue
Block a user