From 6c9baf06ced32a73ed07b1c0166d253cdd666ff3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yann=20C=C3=A9bron?= Date: Tue, 27 Apr 2021 11:24:18 +0200 Subject: [PATCH] [simple language] completion_test.md: note CodeInsightTestFixture.testCompletionVariants --- topics/tutorials/writing_tests_for_plugins/completion_test.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/topics/tutorials/writing_tests_for_plugins/completion_test.md b/topics/tutorials/writing_tests_for_plugins/completion_test.md index 767d144a3..5eb7d7a01 100644 --- a/topics/tutorials/writing_tests_for_plugins/completion_test.md +++ b/topics/tutorials/writing_tests_for_plugins/completion_test.md @@ -46,6 +46,8 @@ public class SimpleCodeInsightTest extends LightJavaCodeInsightFixtureTestCase { } ``` +A number of related methods exist in `CodeInsightTestFixture` for testing completion and lookup elements, e.g., when testing completion variants and requiring only one testdata file `CodeInsightTestFixture.testCompletionVariants()`. + ## Run the Test Run the test by: * Opening the **Gradle** Tool Window.