From 85db356611a3722dacf5a7d9639bce64c51d793e Mon Sep 17 00:00:00 2001 From: Denis Zharkov Date: Thu, 15 Dec 2016 11:02:31 +0300 Subject: [PATCH] Minor. Drop test on coroutine applicability --- .../checker/infos/coroutineApplicability.kt | 34 ------------------- .../checkers/PsiCheckerTestGenerated.java | 6 ---- 2 files changed, 40 deletions(-) delete mode 100644 idea/testData/checker/infos/coroutineApplicability.kt diff --git a/idea/testData/checker/infos/coroutineApplicability.kt b/idea/testData/checker/infos/coroutineApplicability.kt deleted file mode 100644 index 9d0d9e8d897..00000000000 --- a/idea/testData/checker/infos/coroutineApplicability.kt +++ /dev/null @@ -1,34 +0,0 @@ -// !DIAGNOSTICS: -UNUSED_PARAMETER -NOTHING_TO_INLINE -class Controller - -fun valid(coroutine c: Controller.() -> Continuation) { - -} - -fun noFunctionType(coroutine c: Unit) { - -} - -fun noExtensionFunction(coroutine c: (Controller) -> Continuation) { - -} - -fun nullableReturnType(coroutine c: Controller.() -> Continuation?) { - -} - -fun wrongReturnType(coroutine c: Controller.() -> Collection) { - -} - -fun notUnitContinuation(coroutine c: Controller.() -> Continuation) { - -} - -inline fun inlineBuilder(coroutine c: Controller.() -> Continuation) { - -} - -inline fun inlineBuilderNoInlineCoroutine(coroutine noinline c: Controller.() -> Continuation) { - -} diff --git a/idea/tests/org/jetbrains/kotlin/checkers/PsiCheckerTestGenerated.java b/idea/tests/org/jetbrains/kotlin/checkers/PsiCheckerTestGenerated.java index 006f55e8cc3..116a1c31fdf 100644 --- a/idea/tests/org/jetbrains/kotlin/checkers/PsiCheckerTestGenerated.java +++ b/idea/tests/org/jetbrains/kotlin/checkers/PsiCheckerTestGenerated.java @@ -887,12 +887,6 @@ public class PsiCheckerTestGenerated extends AbstractPsiCheckerTest { doTestWithInfos(fileName); } - @TestMetadata("coroutineApplicability.kt") - public void testCoroutineApplicability() throws Exception { - String fileName = KotlinTestUtils.navigationMetadata("idea/testData/checker/infos/coroutineApplicability.kt"); - doTestWithInfos(fileName); - } - @TestMetadata("multipleResolvedCalls.kt") public void testMultipleResolvedCalls() throws Exception { String fileName = KotlinTestUtils.navigationMetadata("idea/testData/checker/infos/multipleResolvedCalls.kt");