mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
RUBY-5449 add documentation for test finders
This commit is contained in:
@@ -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<PsiElement> 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<PsiElement> findClassesForTest(@NotNull PsiElement element);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user