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