From 3b58b7007615822b26d2d45308e77d24320bea5e Mon Sep 17 00:00:00 2001 From: peter Date: Mon, 30 Aug 2010 21:18:07 +0100 Subject: [PATCH] some javadoc --- .../fixtures/CodeInsightTestFixture.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/platform/testFramework/src/com/intellij/testFramework/fixtures/CodeInsightTestFixture.java b/platform/testFramework/src/com/intellij/testFramework/fixtures/CodeInsightTestFixture.java index 76ccf050b001..66fa0c988012 100644 --- a/platform/testFramework/src/com/intellij/testFramework/fixtures/CodeInsightTestFixture.java +++ b/platform/testFramework/src/com/intellij/testFramework/fixtures/CodeInsightTestFixture.java @@ -288,10 +288,19 @@ public interface CodeInsightTestFixture extends IdeaProjectTestFixture { PsiManager getPsiManager(); + /** + * @return null if the only item was auto-completed + */ @Nullable LookupElement[] completeBasic(); + /** + * @return null if the only item was auto-completed + */ @Nullable LookupElement[] complete(CompletionType type); + /** + * @return null if the only item was auto-completed + */ @Nullable LookupElement[] complete(CompletionType type, int invocationCount); void checkResult(final String text); @@ -326,6 +335,9 @@ public interface CodeInsightTestFixture extends IdeaProjectTestFixture { List getCompletionVariants(String... filesBefore); + /** + * @return null if the only item was auto-completed + */ @Nullable LookupElement[] getLookupElements();