From fe239046e206f3c4cfd89ad45f12fa759f847c28 Mon Sep 17 00:00:00 2001 From: "Dmitry.Krasilschikov" Date: Tue, 24 Jan 2017 16:09:55 +0300 Subject: [PATCH] RUBY-5449 add documentation for test finders --- .../com/intellij/testIntegration/TestFinder.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/platform/lang-api/src/com/intellij/testIntegration/TestFinder.java b/platform/lang-api/src/com/intellij/testIntegration/TestFinder.java index d956d465398e..77cbf29998d9 100644 --- a/platform/lang-api/src/com/intellij/testIntegration/TestFinder.java +++ b/platform/lang-api/src/com/intellij/testIntegration/TestFinder.java @@ -29,8 +29,21 @@ public interface TestFinder { @Nullable PsiElement findSourceElement(@NotNull PsiElement from); + /** + * Finds tests for given class. + * + * @param element may by of any language but not related to a current test finder domain language + * @return founded tests for class + */ @NotNull Collection findTestsForClass(@NotNull PsiElement element); + + /** + * Finds classes for given test. + * + * @param element may by of any language but not related to a current test finder domain language + * @return founded classes for test + */ @NotNull Collection findClassesForTest(@NotNull PsiElement element);