Add test for Obsolete issues

#KT-15956 Obsolete
 #KT-15751 Obsolete
 #KT-16417 Obsolete
 #KT-21787 Obsolete
This commit is contained in:
Mikhael Bogdanov
2019-01-08 10:00:08 +01:00
parent 6a19e45e27
commit 9a059809bf
17 changed files with 262 additions and 0 deletions
@@ -136,6 +136,11 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo
runTest("compiler/testData/codegen/boxInline/anonymousObject/kt14011_3.kt");
}
@TestMetadata("kt15751.kt")
public void testKt15751() throws Exception {
runTest("compiler/testData/codegen/boxInline/anonymousObject/kt15751.kt");
}
@TestMetadata("kt16193.kt")
public void testKt16193() throws Exception {
runTest("compiler/testData/codegen/boxInline/anonymousObject/kt16193.kt");
@@ -714,6 +719,11 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo
runTest("compiler/testData/codegen/boxInline/callableReference/kt15449.kt");
}
@TestMetadata("kt15751_2.kt")
public void testKt15751_2() throws Exception {
runTest("compiler/testData/codegen/boxInline/callableReference/kt15751_2.kt");
}
@TestMetadata("kt16411.kt")
public void testKt16411() throws Exception {
runTest("compiler/testData/codegen/boxInline/callableReference/kt16411.kt");
@@ -2015,6 +2025,11 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxInline/nonLocalReturns/tryFinally"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("kt16417.kt")
public void testKt16417() throws Exception {
runTest("compiler/testData/codegen/boxInline/nonLocalReturns/tryFinally/kt16417.kt");
}
@TestMetadata("kt20433.kt")
public void testKt20433() throws Exception {
runTest("compiler/testData/codegen/boxInline/nonLocalReturns/tryFinally/kt20433.kt");
@@ -2548,6 +2563,11 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo
runTest("compiler/testData/codegen/boxInline/reified/kt11677.kt");
}
@TestMetadata("kt15956.kt")
public void testKt15956() throws Exception {
runTest("compiler/testData/codegen/boxInline/reified/kt15956.kt");
}
@TestMetadata("kt15997.kt")
public void testKt15997() throws Exception {
runTest("compiler/testData/codegen/boxInline/reified/kt15997.kt");