public abstract class JavaTestFramework extends java.lang.Object implements TestFramework
EXTENSION_NAME| Constructor and Description |
|---|
JavaTestFramework() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAfterClassMethodFileTemplateDescriptor, getBeforeClassMethodFileTemplateDescriptor, getDefaultSuperClass, getIcon, getName, getSetUpMethodFileTemplateDescriptor, getTearDownMethodFileTemplateDescriptor, getTestMethodFileTemplateDescriptor, isTestMethodpublic boolean isLibraryAttached(Module module)
isLibraryAttached in interface TestFrameworkpublic java.lang.String getLibraryPath()
getLibraryPath in interface TestFrameworkpublic ExternalLibraryDescriptor getFrameworkLibraryDescriptor()
protected abstract java.lang.String getMarkerClassFQName()
public boolean isTestClass(PsiElement clazz)
isTestClass in interface TestFrameworkpublic boolean isPotentialTestClass(PsiElement clazz)
isPotentialTestClass in interface TestFrameworkprotected abstract boolean isTestClass(PsiClass clazz, boolean canBePotential)
protected boolean isUnderTestSources(PsiClass clazz)
public PsiElement findSetUpMethod(PsiElement clazz)
findSetUpMethod in interface TestFrameworkpublic PsiElement findTearDownMethod(PsiElement clazz)
findTearDownMethod in interface TestFrameworkpublic PsiElement findBeforeClassMethod(PsiElement clazz)
findBeforeClassMethod in interface TestFrameworkpublic PsiElement findAfterClassMethod(PsiElement clazz)
findAfterClassMethod in interface TestFrameworkpublic PsiElement findOrCreateSetUpMethod(PsiElement clazz) throws IncorrectOperationException
findOrCreateSetUpMethod in interface TestFrameworkIncorrectOperationExceptionpublic boolean isIgnoredMethod(PsiElement element)
TestFrameworkisIgnoredMethod in interface TestFrameworkpublic Language getLanguage()
getLanguage in interface TestFrameworkprotected abstract PsiMethod findOrCreateSetUpMethod(PsiClass clazz) throws IncorrectOperationException
IncorrectOperationExceptionpublic boolean isParameterized(PsiClass clazz)
public FileTemplateDescriptor getParametersMethodFileTemplateDescriptor()
public abstract char getMnemonic()
public PsiMethod createSetUpPatternMethod(JVMElementFactory factory)
public FileTemplateDescriptor getTestClassFileTemplateDescriptor()
public boolean isSingleConfig()
public boolean isSuiteClass(PsiClass psiClass)
public boolean acceptNestedClasses()
public boolean isTestMethod(PsiElement element)
TestFrameworkisTestMethod in interface TestFrameworkpublic boolean isMyConfigurationType(ConfigurationType type)