public class TestClassFilter extends java.lang.Object implements ClassFilter.ClassFilterWithScope
ClassFilter.ClassFilterWithScope
ALL, INSTANTIABLE
Modifier and Type | Method and Description |
---|---|
static TestClassFilter |
create(SourceScope sourceScope,
Module module) |
static TestClassFilter |
create(SourceScope sourceScope,
Module module,
java.lang.String pattern) |
PsiClass |
getBase() |
static java.util.function.Predicate<java.lang.String> |
getClassNamePredicate(java.lang.String pattern) |
Project |
getProject() |
PsiManager |
getPsiManager() |
GlobalSearchScope |
getScope() |
TestClassFilter |
intersectionWith(GlobalSearchScope scope) |
boolean |
isAccepted(PsiClass aClass) |
public PsiManager getPsiManager()
public Project getProject()
public boolean isAccepted(PsiClass aClass)
isAccepted
in interface ClassFilter
public TestClassFilter intersectionWith(GlobalSearchScope scope)
public static TestClassFilter create(SourceScope sourceScope, Module module) throws JUnitUtil.NoJUnitException
JUnitUtil.NoJUnitException
public static TestClassFilter create(SourceScope sourceScope, Module module, java.lang.String pattern) throws JUnitUtil.NoJUnitException
JUnitUtil.NoJUnitException
public static java.util.function.Predicate<java.lang.String> getClassNamePredicate(java.lang.String pattern)
public GlobalSearchScope getScope()
getScope
in interface ClassFilter.ClassFilterWithScope
public PsiClass getBase()