[Test] Add regression tests for issues which are fixed in K2
Related issues: KT-10879, KT-18055, KT-20617, KT-23873 KT-25668, KT-31191, KT-33108, KT-41013 KT-51827, KT-53886, KT-56624, KT-58447 KT-58458, KT-58751, KT-58814, KT-60597 KT-62806, KT-63258, KT-63444, KT-65101 KT-65408, KT-65844, KT-66186 ^KT-65926 Fixed
This commit is contained in:
committed by
Space Team
parent
b875ae774e
commit
4b5eac7816
+18
@@ -22643,6 +22643,12 @@ public class FirLightTreeBlackBoxCodegenTestGenerated extends AbstractFirLightTr
|
||||
runTest("compiler/testData/codegen/box/functions/kt873.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaWithTwoContextReceivers.kt")
|
||||
public void testLambdaWithTwoContextReceivers() {
|
||||
runTest("compiler/testData/codegen/box/functions/lambdaWithTwoContextReceivers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localFunction.kt")
|
||||
public void testLocalFunction() {
|
||||
@@ -23943,6 +23949,12 @@ public class FirLightTreeBlackBoxCodegenTestGenerated extends AbstractFirLightTr
|
||||
runTest("compiler/testData/codegen/box/inference/referenceToCatchParameterFromLambdaExpression.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("safeCastWithElvis.kt")
|
||||
public void testSafeCastWithElvis() {
|
||||
runTest("compiler/testData/codegen/box/inference/safeCastWithElvis.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("specialCallsWithCallableReferences.kt")
|
||||
public void testSpecialCallsWithCallableReferences() {
|
||||
@@ -36357,6 +36369,12 @@ public class FirLightTreeBlackBoxCodegenTestGenerated extends AbstractFirLightTr
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/lambda"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ifWithReferenceAndLambda.kt")
|
||||
public void testIfWithReferenceAndLambda() {
|
||||
runTest("compiler/testData/codegen/box/lambda/ifWithReferenceAndLambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambda1.kt")
|
||||
public void testLambda1() {
|
||||
|
||||
+18
@@ -22643,6 +22643,12 @@ public class FirLightTreeBlackBoxCodegenWithFir2IrFakeOverrideGeneratorTestGener
|
||||
runTest("compiler/testData/codegen/box/functions/kt873.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaWithTwoContextReceivers.kt")
|
||||
public void testLambdaWithTwoContextReceivers() {
|
||||
runTest("compiler/testData/codegen/box/functions/lambdaWithTwoContextReceivers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localFunction.kt")
|
||||
public void testLocalFunction() {
|
||||
@@ -23943,6 +23949,12 @@ public class FirLightTreeBlackBoxCodegenWithFir2IrFakeOverrideGeneratorTestGener
|
||||
runTest("compiler/testData/codegen/box/inference/referenceToCatchParameterFromLambdaExpression.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("safeCastWithElvis.kt")
|
||||
public void testSafeCastWithElvis() {
|
||||
runTest("compiler/testData/codegen/box/inference/safeCastWithElvis.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("specialCallsWithCallableReferences.kt")
|
||||
public void testSpecialCallsWithCallableReferences() {
|
||||
@@ -36357,6 +36369,12 @@ public class FirLightTreeBlackBoxCodegenWithFir2IrFakeOverrideGeneratorTestGener
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/lambda"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ifWithReferenceAndLambda.kt")
|
||||
public void testIfWithReferenceAndLambda() {
|
||||
runTest("compiler/testData/codegen/box/lambda/ifWithReferenceAndLambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambda1.kt")
|
||||
public void testLambda1() {
|
||||
|
||||
+18
@@ -22643,6 +22643,12 @@ public class FirPsiBlackBoxCodegenTestGenerated extends AbstractFirPsiBlackBoxCo
|
||||
runTest("compiler/testData/codegen/box/functions/kt873.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaWithTwoContextReceivers.kt")
|
||||
public void testLambdaWithTwoContextReceivers() {
|
||||
runTest("compiler/testData/codegen/box/functions/lambdaWithTwoContextReceivers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localFunction.kt")
|
||||
public void testLocalFunction() {
|
||||
@@ -23943,6 +23949,12 @@ public class FirPsiBlackBoxCodegenTestGenerated extends AbstractFirPsiBlackBoxCo
|
||||
runTest("compiler/testData/codegen/box/inference/referenceToCatchParameterFromLambdaExpression.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("safeCastWithElvis.kt")
|
||||
public void testSafeCastWithElvis() {
|
||||
runTest("compiler/testData/codegen/box/inference/safeCastWithElvis.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("specialCallsWithCallableReferences.kt")
|
||||
public void testSpecialCallsWithCallableReferences() {
|
||||
@@ -36357,6 +36369,12 @@ public class FirPsiBlackBoxCodegenTestGenerated extends AbstractFirPsiBlackBoxCo
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/lambda"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ifWithReferenceAndLambda.kt")
|
||||
public void testIfWithReferenceAndLambda() {
|
||||
runTest("compiler/testData/codegen/box/lambda/ifWithReferenceAndLambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambda1.kt")
|
||||
public void testLambda1() {
|
||||
|
||||
+6
@@ -4704,6 +4704,12 @@ public class FirLightTreeJvmIrTextTestGenerated extends AbstractFirLightTreeJvmI
|
||||
runTest("compiler/testData/ir/irText/types/inStarProjectionInReceiverType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inferenceOfDefinitelyNotNullableBoolean.kt")
|
||||
public void testInferenceOfDefinitelyNotNullableBoolean() {
|
||||
runTest("compiler/testData/ir/irText/types/inferenceOfDefinitelyNotNullableBoolean.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("intersectionType1.kt")
|
||||
public void testIntersectionType1() {
|
||||
|
||||
compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/ir/FirPsiJvmIrTextTestGenerated.java
Generated
+6
@@ -4704,6 +4704,12 @@ public class FirPsiJvmIrTextTestGenerated extends AbstractFirPsiJvmIrTextTest {
|
||||
runTest("compiler/testData/ir/irText/types/inStarProjectionInReceiverType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inferenceOfDefinitelyNotNullableBoolean.kt")
|
||||
public void testInferenceOfDefinitelyNotNullableBoolean() {
|
||||
runTest("compiler/testData/ir/irText/types/inferenceOfDefinitelyNotNullableBoolean.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("intersectionType1.kt")
|
||||
public void testIntersectionType1() {
|
||||
|
||||
Reference in New Issue
Block a user