Fixed KeywordCompletionTests.

This commit is contained in:
Stanislav Erokhin
2016-12-15 17:37:55 +03:00
parent 2ff04f2bc5
commit 5a353412e4
5 changed files with 11 additions and 3 deletions
@@ -8,7 +8,6 @@ class TestSample() {
// EXIST: vararg
// EXIST: noinline
// EXIST: crossinline
// EXIST: coroutine
/* TODO: val&var are not correct */
// EXIST: val
// EXIST: var
@@ -14,7 +14,6 @@ class TestSample(<caret>)
// EXIST: private
// EXIST: protected
// EXIST: internal
// EXIST: coroutine
// EXIST: impl
/* TODO: keywords below should not be here*/
// EXIST: abstract
@@ -5,7 +5,6 @@ fun test(<caret>) {
// EXIST: vararg
// EXIST: noinline
// EXIST: crossinline
// EXIST: coroutine
/* TODO: they all are not correct */
// EXIST: val
// EXIST: var
@@ -0,0 +1,5 @@
val a : <caret>
// EXIST: suspend
// NOTHING_ELSE
@@ -324,6 +324,12 @@ public class KeywordCompletionTestGenerated extends AbstractKeywordCompletionTes
doTest(fileName);
}
@TestMetadata("InTypePosition.kt")
public void testInTypePosition() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("idea/idea-completion/testData/keywords/InTypePosition.kt");
doTest(fileName);
}
@TestMetadata("LabeledLambdaThis.kt")
public void testLabeledLambdaThis() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("idea/idea-completion/testData/keywords/LabeledLambdaThis.kt");