[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
+30
@@ -16527,6 +16527,12 @@ public class LLFirBlackBoxCodegenBasedTestGenerated extends AbstractLLFirBlackBo
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/delegatedProperty/provideDelegate"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("commonCaseForInference.kt")
|
||||
public void testCommonCaseForInference() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/delegatedProperty/provideDelegate/commonCaseForInference.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("delegatedPropertyWithIdProvideDelegate.kt")
|
||||
public void testDelegatedPropertyWithIdProvideDelegate() throws Exception {
|
||||
@@ -16587,6 +16593,12 @@ public class LLFirBlackBoxCodegenBasedTestGenerated extends AbstractLLFirBlackBo
|
||||
runTest("compiler/testData/codegen/box/delegatedProperty/provideDelegate/inClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inferenceFromReceiver2.kt")
|
||||
public void testInferenceFromReceiver2() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/delegatedProperty/provideDelegate/inferenceFromReceiver2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineProvideDelegate.kt")
|
||||
public void testInlineProvideDelegate() throws Exception {
|
||||
@@ -16647,6 +16659,12 @@ public class LLFirBlackBoxCodegenBasedTestGenerated extends AbstractLLFirBlackBo
|
||||
runTest("compiler/testData/codegen/box/delegatedProperty/provideDelegate/memberExtension.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("notNullAssertionInLocalDelegated.kt")
|
||||
public void testNotNullAssertionInLocalDelegated() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/delegatedProperty/provideDelegate/notNullAssertionInLocalDelegated.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyMetadata.kt")
|
||||
public void testPropertyMetadata() throws Exception {
|
||||
@@ -16658,6 +16676,12 @@ public class LLFirBlackBoxCodegenBasedTestGenerated extends AbstractLLFirBlackBo
|
||||
public void testProvideDelegateByExtensionFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/delegatedProperty/provideDelegate/provideDelegateByExtensionFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("setValue.kt")
|
||||
public void testSetValue() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/delegatedProperty/provideDelegate/setValue.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16772,6 +16796,12 @@ public class LLFirBlackBoxCodegenBasedTestGenerated extends AbstractLLFirBlackBo
|
||||
runTest("compiler/testData/codegen/box/delegation/hiddenSuperOverrideIn1.0.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ifWithCallableReferenceInLazy.kt")
|
||||
public void testIfWithCallableReferenceInLazy() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/delegation/ifWithCallableReferenceInLazy.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inClassDeclaration.kt")
|
||||
public void testInClassDeclaration() throws Exception {
|
||||
|
||||
+30
@@ -16527,6 +16527,12 @@ public class LLFirReversedBlackBoxCodegenBasedTestGenerated extends AbstractLLFi
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/delegatedProperty/provideDelegate"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("commonCaseForInference.kt")
|
||||
public void testCommonCaseForInference() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/delegatedProperty/provideDelegate/commonCaseForInference.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("delegatedPropertyWithIdProvideDelegate.kt")
|
||||
public void testDelegatedPropertyWithIdProvideDelegate() throws Exception {
|
||||
@@ -16587,6 +16593,12 @@ public class LLFirReversedBlackBoxCodegenBasedTestGenerated extends AbstractLLFi
|
||||
runTest("compiler/testData/codegen/box/delegatedProperty/provideDelegate/inClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inferenceFromReceiver2.kt")
|
||||
public void testInferenceFromReceiver2() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/delegatedProperty/provideDelegate/inferenceFromReceiver2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineProvideDelegate.kt")
|
||||
public void testInlineProvideDelegate() throws Exception {
|
||||
@@ -16647,6 +16659,12 @@ public class LLFirReversedBlackBoxCodegenBasedTestGenerated extends AbstractLLFi
|
||||
runTest("compiler/testData/codegen/box/delegatedProperty/provideDelegate/memberExtension.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("notNullAssertionInLocalDelegated.kt")
|
||||
public void testNotNullAssertionInLocalDelegated() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/delegatedProperty/provideDelegate/notNullAssertionInLocalDelegated.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("propertyMetadata.kt")
|
||||
public void testPropertyMetadata() throws Exception {
|
||||
@@ -16658,6 +16676,12 @@ public class LLFirReversedBlackBoxCodegenBasedTestGenerated extends AbstractLLFi
|
||||
public void testProvideDelegateByExtensionFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/delegatedProperty/provideDelegate/provideDelegateByExtensionFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("setValue.kt")
|
||||
public void testSetValue() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/delegatedProperty/provideDelegate/setValue.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16772,6 +16796,12 @@ public class LLFirReversedBlackBoxCodegenBasedTestGenerated extends AbstractLLFi
|
||||
runTest("compiler/testData/codegen/box/delegation/hiddenSuperOverrideIn1.0.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ifWithCallableReferenceInLazy.kt")
|
||||
public void testIfWithCallableReferenceInLazy() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/delegation/ifWithCallableReferenceInLazy.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inClassDeclaration.kt")
|
||||
public void testInClassDeclaration() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user