Minor, remove extraneous box tests

These tests are already present in
`compiler/testData/codegen/box/classes/kt496.kt`.
This commit is contained in:
Alexander Udalov
2023-06-30 14:15:42 +02:00
committed by Space Team
parent e6c4a8957d
commit 5513740659
17 changed files with 0 additions and 211 deletions
@@ -10060,18 +10060,6 @@ public class FirLightTreeBlackBoxCodegenTestGenerated extends AbstractFirLightTr
runTest("compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/splitTry.kt");
}
@Test
@TestMetadata("splitTryCorner1.kt")
public void testSplitTryCorner1() throws Exception {
runTest("compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/splitTryCorner1.kt");
}
@Test
@TestMetadata("splitTryCorner2.kt")
public void testSplitTryCorner2() throws Exception {
runTest("compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/splitTryCorner2.kt");
}
@Test
@TestMetadata("try.kt")
public void testTry() throws Exception {
@@ -10060,18 +10060,6 @@ public class FirPsiBlackBoxCodegenTestGenerated extends AbstractFirPsiBlackBoxCo
runTest("compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/splitTry.kt");
}
@Test
@TestMetadata("splitTryCorner1.kt")
public void testSplitTryCorner1() throws Exception {
runTest("compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/splitTryCorner1.kt");
}
@Test
@TestMetadata("splitTryCorner2.kt")
public void testSplitTryCorner2() throws Exception {
runTest("compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/splitTryCorner2.kt");
}
@Test
@TestMetadata("try.kt")
public void testTry() throws Exception {
@@ -1,11 +0,0 @@
fun shouldReturnFalse() : Boolean {
try {
return true
} finally {
if (true)
return false
}
}
fun box(): String =
if (shouldReturnFalse()) "Failed" else "OK"
@@ -1,22 +0,0 @@
fun shouldReturn11() : Int {
var x = 0
while (true) {
try {
if(x < 10)
x++
else
break
}
finally {
x++
}
}
return x
}
fun box(): String {
val test = shouldReturn11()
if (test != 11) return "Failed, test=$test"
return "OK"
}
@@ -9802,18 +9802,6 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/splitTry.kt");
}
@Test
@TestMetadata("splitTryCorner1.kt")
public void testSplitTryCorner1() throws Exception {
runTest("compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/splitTryCorner1.kt");
}
@Test
@TestMetadata("splitTryCorner2.kt")
public void testSplitTryCorner2() throws Exception {
runTest("compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/splitTryCorner2.kt");
}
@Test
@TestMetadata("try.kt")
public void testTry() throws Exception {
@@ -10060,18 +10060,6 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
runTest("compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/splitTry.kt");
}
@Test
@TestMetadata("splitTryCorner1.kt")
public void testSplitTryCorner1() throws Exception {
runTest("compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/splitTryCorner1.kt");
}
@Test
@TestMetadata("splitTryCorner2.kt")
public void testSplitTryCorner2() throws Exception {
runTest("compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/splitTryCorner2.kt");
}
@Test
@TestMetadata("try.kt")
public void testTry() throws Exception {
@@ -10060,18 +10060,6 @@ public class IrBlackBoxCodegenWithIrInlinerTestGenerated extends AbstractIrBlack
runTest("compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/splitTry.kt");
}
@Test
@TestMetadata("splitTryCorner1.kt")
public void testSplitTryCorner1() throws Exception {
runTest("compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/splitTryCorner1.kt");
}
@Test
@TestMetadata("splitTryCorner2.kt")
public void testSplitTryCorner2() throws Exception {
runTest("compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/splitTryCorner2.kt");
}
@Test
@TestMetadata("try.kt")
public void testTry() throws Exception {
@@ -7913,16 +7913,6 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/splitTry.kt");
}
@TestMetadata("splitTryCorner1.kt")
public void testSplitTryCorner1() throws Exception {
runTest("compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/splitTryCorner1.kt");
}
@TestMetadata("splitTryCorner2.kt")
public void testSplitTryCorner2() throws Exception {
runTest("compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/splitTryCorner2.kt");
}
@TestMetadata("try.kt")
public void testTry() throws Exception {
runTest("compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/try.kt");
@@ -6880,18 +6880,6 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/splitTry.kt");
}
@Test
@TestMetadata("splitTryCorner1.kt")
public void testSplitTryCorner1() throws Exception {
runTest("compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/splitTryCorner1.kt");
}
@Test
@TestMetadata("splitTryCorner2.kt")
public void testSplitTryCorner2() throws Exception {
runTest("compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/splitTryCorner2.kt");
}
@Test
@TestMetadata("try.kt")
public void testTry() throws Exception {
@@ -6880,18 +6880,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/splitTry.kt");
}
@Test
@TestMetadata("splitTryCorner1.kt")
public void testSplitTryCorner1() throws Exception {
runTest("compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/splitTryCorner1.kt");
}
@Test
@TestMetadata("splitTryCorner2.kt")
public void testSplitTryCorner2() throws Exception {
runTest("compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/splitTryCorner2.kt");
}
@Test
@TestMetadata("try.kt")
public void testTry() throws Exception {
@@ -6880,18 +6880,6 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
runTest("compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/splitTry.kt");
}
@Test
@TestMetadata("splitTryCorner1.kt")
public void testSplitTryCorner1() throws Exception {
runTest("compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/splitTryCorner1.kt");
}
@Test
@TestMetadata("splitTryCorner2.kt")
public void testSplitTryCorner2() throws Exception {
runTest("compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/splitTryCorner2.kt");
}
@Test
@TestMetadata("try.kt")
public void testTry() throws Exception {
@@ -7725,18 +7725,6 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
runTest("compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/splitTry.kt");
}
@Test
@TestMetadata("splitTryCorner1.kt")
public void testSplitTryCorner1() throws Exception {
runTest("compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/splitTryCorner1.kt");
}
@Test
@TestMetadata("splitTryCorner2.kt")
public void testSplitTryCorner2() throws Exception {
runTest("compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/splitTryCorner2.kt");
}
@Test
@TestMetadata("try.kt")
public void testTry() throws Exception {
@@ -7899,18 +7899,6 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
runTest("compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/splitTry.kt");
}
@Test
@TestMetadata("splitTryCorner1.kt")
public void testSplitTryCorner1() throws Exception {
runTest("compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/splitTryCorner1.kt");
}
@Test
@TestMetadata("splitTryCorner2.kt")
public void testSplitTryCorner2() throws Exception {
runTest("compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/splitTryCorner2.kt");
}
@Test
@TestMetadata("try.kt")
public void testTry() throws Exception {
@@ -7639,18 +7639,6 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
runTest("compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/splitTry.kt");
}
@Test
@TestMetadata("splitTryCorner1.kt")
public void testSplitTryCorner1() throws Exception {
runTest("compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/splitTryCorner1.kt");
}
@Test
@TestMetadata("splitTryCorner2.kt")
public void testSplitTryCorner2() throws Exception {
runTest("compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/splitTryCorner2.kt");
}
@Test
@TestMetadata("try.kt")
public void testTry() throws Exception {
@@ -7726,18 +7726,6 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
runTest("compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/splitTry.kt");
}
@Test
@TestMetadata("splitTryCorner1.kt")
public void testSplitTryCorner1() throws Exception {
runTest("compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/splitTryCorner1.kt");
}
@Test
@TestMetadata("splitTryCorner2.kt")
public void testSplitTryCorner2() throws Exception {
runTest("compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/splitTryCorner2.kt");
}
@Test
@TestMetadata("try.kt")
public void testTry() throws Exception {
@@ -6856,18 +6856,6 @@ public class FirWasmCodegenBoxTestGenerated extends AbstractFirWasmCodegenBoxTes
runTest("compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/splitTry.kt");
}
@Test
@TestMetadata("splitTryCorner1.kt")
public void testSplitTryCorner1() throws Exception {
runTest("compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/splitTryCorner1.kt");
}
@Test
@TestMetadata("splitTryCorner2.kt")
public void testSplitTryCorner2() throws Exception {
runTest("compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/splitTryCorner2.kt");
}
@Test
@TestMetadata("try.kt")
public void testTry() throws Exception {
@@ -6856,18 +6856,6 @@ public class K1WasmCodegenBoxTestGenerated extends AbstractK1WasmCodegenBoxTest
runTest("compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/splitTry.kt");
}
@Test
@TestMetadata("splitTryCorner1.kt")
public void testSplitTryCorner1() throws Exception {
runTest("compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/splitTryCorner1.kt");
}
@Test
@TestMetadata("splitTryCorner2.kt")
public void testSplitTryCorner2() throws Exception {
runTest("compiler/testData/codegen/box/controlStructures/tryCatchInExpressions/splitTryCorner2.kt");
}
@Test
@TestMetadata("try.kt")
public void testTry() throws Exception {