[NI-TESTS] Add regression tests

^KT-33638 Obsolete

Add test for case mentioned in KT-33629.
Used to be runtime failure instead of error diagnostic.
This commit is contained in:
Pavel Kirpichenkov
2020-02-12 18:51:17 +03:00
parent dc42b20ae3
commit ac5c255c20
13 changed files with 130 additions and 0 deletions
@@ -11390,6 +11390,11 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTestWithFirVali
runTest("compiler/testData/diagnostics/tests/inference/regressions/kt3344.kt");
}
@TestMetadata("kt33629.kt")
public void testKt33629() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/regressions/kt33629.kt");
}
@TestMetadata("kt34029.kt")
public void testKt34029() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/regressions/kt34029.kt");
@@ -11385,6 +11385,11 @@ public class DiagnosticsUsingJavacTestGenerated extends AbstractDiagnosticsUsing
runTest("compiler/testData/diagnostics/tests/inference/regressions/kt3344.kt");
}
@TestMetadata("kt33629.kt")
public void testKt33629() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/regressions/kt33629.kt");
}
@TestMetadata("kt34029.kt")
public void testKt34029() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/regressions/kt34029.kt");
@@ -26224,6 +26224,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/regressions/kt32949.kt");
}
@TestMetadata("kt33638.kt")
public void testKt33638() throws Exception {
runTest("compiler/testData/codegen/box/regressions/kt33638.kt");
}
@TestMetadata("kt3421.kt")
public void testKt3421() throws Exception {
runTest("compiler/testData/codegen/box/regressions/kt3421.kt");
@@ -25041,6 +25041,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/regressions/kt32949.kt");
}
@TestMetadata("kt33638.kt")
public void testKt33638() throws Exception {
runTest("compiler/testData/codegen/box/regressions/kt33638.kt");
}
@TestMetadata("kt3421.kt")
public void testKt3421() throws Exception {
runTest("compiler/testData/codegen/box/regressions/kt3421.kt");
@@ -24708,6 +24708,11 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
runTest("compiler/testData/codegen/box/regressions/kt32949.kt");
}
@TestMetadata("kt33638.kt")
public void testKt33638() throws Exception {
runTest("compiler/testData/codegen/box/regressions/kt33638.kt");
}
@TestMetadata("kt3421.kt")
public void testKt3421() throws Exception {
runTest("compiler/testData/codegen/box/regressions/kt3421.kt");