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();