[NI] Remove failing codegen tests and add similar diagnostic one

These tests were added for suspend-conversions, it worked only
 with new inference, but implementation was incorrect and had other
 bugs, which were fixed in 1ac25259.
 Support of suspend-conversions will be addressed later with a different
 implementation (#KT-30703)
This commit is contained in:
Mikhail Zarechenskiy
2019-04-01 00:19:15 +03:00
parent 4a3e4f099d
commit a4cbec64b7
11 changed files with 34 additions and 124 deletions
@@ -3587,20 +3587,10 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/boxInline/suspend/callableReference"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("ordinaryParameter.kt")
public void testOrdinaryParameter() throws Exception {
runTest("compiler/testData/codegen/boxInline/suspend/callableReference/ordinaryParameter.kt");
}
@TestMetadata("simple.kt")
public void testSimple() throws Exception {
runTest("compiler/testData/codegen/boxInline/suspend/callableReference/simple.kt");
}
@TestMetadata("suspendOfOrdinary.kt")
public void testSuspendOfOrdinary() throws Exception {
runTest("compiler/testData/codegen/boxInline/suspend/callableReference/suspendOfOrdinary.kt");
}
}
@TestMetadata("compiler/testData/codegen/boxInline/suspend/defaultParameter")