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
@@ -54,6 +54,11 @@ public class CallableReferenceInlineTestsGenerated extends AbstractCallableRefer
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");
@@ -54,6 +54,11 @@ public class IrCallableReferenceInlineTestsGenerated extends AbstractIrCallableR
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");
@@ -1610,6 +1610,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/callableReference/function/innerConstructorFromTopLevelOneStringArg.kt");
}
@TestMetadata("kt21787.kt")
public void testKt21787() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/function/kt21787.kt");
}
@TestMetadata("nestedConstructorFromClass.kt")
public void testNestedConstructorFromClass() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/function/nestedConstructorFromClass.kt");
@@ -129,6 +129,11 @@ public class IrNonLocalReturnsTestGenerated extends AbstractIrNonLocalReturnsTes
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxInline/nonLocalReturns/tryFinally"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JS_IR, 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");
@@ -1610,6 +1610,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/callableReference/function/innerConstructorFromTopLevelOneStringArg.kt");
}
@TestMetadata("kt21787.kt")
public void testKt21787() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/function/kt21787.kt");
}
@TestMetadata("nestedConstructorFromClass.kt")
public void testNestedConstructorFromClass() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/function/nestedConstructorFromClass.kt");
@@ -129,6 +129,11 @@ public class NonLocalReturnsTestGenerated extends AbstractNonLocalReturnsTest {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxInline/nonLocalReturns/tryFinally"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JS, 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");