From ef612f90f5fe699c235dd408f1b1928888d0f94d Mon Sep 17 00:00:00 2001 From: Mikhail Mazurkevich Date: Mon, 6 Nov 2023 19:08:48 +0400 Subject: [PATCH] [python] Add KDoc about the classpath for tests GitOrigin-RevId: e14152ebd88b2fe4496904af728846649c88f32f --- .../python/ifs/IntroduceVariableSuggesterPythonTest.kt | 1 + .../jetbrains/python/ifs/LineCommentingSuggesterPythonTest.kt | 3 +++ .../python/ifs/ReplaceCompletionSuggesterPythonTest.kt | 3 +++ 3 files changed, 7 insertions(+) diff --git a/python/python-features-trainer/testSrc/com/jetbrains/python/ifs/IntroduceVariableSuggesterPythonTest.kt b/python/python-features-trainer/testSrc/com/jetbrains/python/ifs/IntroduceVariableSuggesterPythonTest.kt index f0e684fdc6ff..9a987fb6acde 100644 --- a/python/python-features-trainer/testSrc/com/jetbrains/python/ifs/IntroduceVariableSuggesterPythonTest.kt +++ b/python/python-features-trainer/testSrc/com/jetbrains/python/ifs/IntroduceVariableSuggesterPythonTest.kt @@ -14,6 +14,7 @@ import training.featuresSuggester.IntroduceVariableSuggesterTest /** * Note: when user is declaring variable and it's name starts with any language keyword suggestion will not be thrown + * Use `intellij.python.tests` module as a classpath to run this test locally */ class IntroduceVariableSuggesterPythonTest : IntroduceVariableSuggesterTest() { override val testingCodeFileName = "PythonCodeExample.py" diff --git a/python/python-features-trainer/testSrc/com/jetbrains/python/ifs/LineCommentingSuggesterPythonTest.kt b/python/python-features-trainer/testSrc/com/jetbrains/python/ifs/LineCommentingSuggesterPythonTest.kt index 1ba8ce797462..aaa0b8444170 100644 --- a/python/python-features-trainer/testSrc/com/jetbrains/python/ifs/LineCommentingSuggesterPythonTest.kt +++ b/python/python-features-trainer/testSrc/com/jetbrains/python/ifs/LineCommentingSuggesterPythonTest.kt @@ -9,6 +9,9 @@ import training.featuresSuggester.FeatureSuggesterTestUtils.testInvokeLater import training.featuresSuggester.FeatureSuggesterTestUtils.typeAndCommit import training.featuresSuggester.NoSuggestion +/** + * Use `intellij.python.tests` module as a classpath to run this test locally + */ class LineCommentingSuggesterPythonTest : FeatureSuggesterTest() { override val testingCodeFileName = "PythonCodeExample.py" override val testingSuggesterId = "Comment with line comment" diff --git a/python/python-features-trainer/testSrc/com/jetbrains/python/ifs/ReplaceCompletionSuggesterPythonTest.kt b/python/python-features-trainer/testSrc/com/jetbrains/python/ifs/ReplaceCompletionSuggesterPythonTest.kt index 255c3f617046..547dd065f9cd 100644 --- a/python/python-features-trainer/testSrc/com/jetbrains/python/ifs/ReplaceCompletionSuggesterPythonTest.kt +++ b/python/python-features-trainer/testSrc/com/jetbrains/python/ifs/ReplaceCompletionSuggesterPythonTest.kt @@ -11,6 +11,9 @@ import training.featuresSuggester.FeatureSuggesterTestUtils.typeDelete import training.featuresSuggester.NoSuggestion import training.featuresSuggester.ReplaceCompletionSuggesterTest +/** + * Use `intellij.python.tests` module as a classpath to run this test locally + */ class ReplaceCompletionSuggesterPythonTest : ReplaceCompletionSuggesterTest() { override val testingCodeFileName = "PythonCodeExample.py"