Add BE tests for 'break' and 'continue' inside 'when'

This commit is contained in:
Dmitry Petrov
2019-09-10 15:56:23 +03:00
parent f06f6f4660
commit f3837e91e3
7 changed files with 142 additions and 0 deletions
@@ -4683,6 +4683,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/controlStructures/breakInFinally.kt");
}
@TestMetadata("breakInWhen.kt")
public void testBreakInWhen() throws Exception {
runTest("compiler/testData/codegen/box/controlStructures/breakInWhen.kt");
}
@TestMetadata("compareBoxedIntegerToZero.kt")
public void testCompareBoxedIntegerToZero() throws Exception {
runTest("compiler/testData/codegen/box/controlStructures/compareBoxedIntegerToZero.kt");
@@ -4708,6 +4713,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/controlStructures/continueInForCondition.kt");
}
@TestMetadata("continueInWhen.kt")
public void testContinueInWhen() throws Exception {
runTest("compiler/testData/codegen/box/controlStructures/continueInWhen.kt");
}
@TestMetadata("continueInWhile.kt")
public void testContinueInWhile() throws Exception {
runTest("compiler/testData/codegen/box/controlStructures/continueInWhile.kt");