public class JUnit4Framework extends JavaTestFramework
EXTENSION_NAME
Constructor and Description |
---|
JUnit4Framework() |
acceptNestedClasses, createSetUpPatternMethod, findAfterClassMethod, findBeforeClassMethod, findOrCreateSetUpMethod, findSetUpMethod, findTearDownMethod, getLanguage, getLibraryPath, isLibraryAttached, isPotentialTestClass, isSingleConfig, isTestClass, isTestMethod, isUnderTestSources, setupLibrary
public java.lang.String getName()
public javax.swing.Icon getIcon()
protected java.lang.String getMarkerClassFQName()
getMarkerClassFQName
in class JavaTestFramework
public ExternalLibraryDescriptor getFrameworkLibraryDescriptor()
getFrameworkLibraryDescriptor
in class JavaTestFramework
public java.lang.String getDefaultSuperClass()
public boolean isTestClass(PsiClass clazz, boolean canBePotential)
isTestClass
in class JavaTestFramework
protected PsiMethod findSetUpMethod(PsiClass clazz)
findSetUpMethod
in class JavaTestFramework
protected PsiMethod findBeforeClassMethod(PsiClass clazz)
findBeforeClassMethod
in class JavaTestFramework
protected PsiMethod findTearDownMethod(PsiClass clazz)
findTearDownMethod
in class JavaTestFramework
protected PsiMethod findAfterClassMethod(PsiClass clazz)
findAfterClassMethod
in class JavaTestFramework
protected PsiMethod findOrCreateSetUpMethod(PsiClass clazz) throws IncorrectOperationException
findOrCreateSetUpMethod
in class JavaTestFramework
IncorrectOperationException
public boolean isIgnoredMethod(PsiElement element)
TestFramework
isIgnoredMethod
in interface TestFramework
isIgnoredMethod
in class JavaTestFramework
public boolean isTestMethod(PsiElement element, boolean checkAbstract)
public boolean isTestMethod(PsiMethod method, PsiClass myClass)
isTestMethod
in class JavaTestFramework
public boolean isMyConfigurationType(ConfigurationType type)
isMyConfigurationType
in class JavaTestFramework
public FileTemplateDescriptor getSetUpMethodFileTemplateDescriptor()
public FileTemplateDescriptor getBeforeClassMethodFileTemplateDescriptor()
public FileTemplateDescriptor getTearDownMethodFileTemplateDescriptor()
public FileTemplateDescriptor getAfterClassMethodFileTemplateDescriptor()
public FileTemplateDescriptor getTestMethodFileTemplateDescriptor()
public FileTemplateDescriptor getParametersMethodFileTemplateDescriptor()
getParametersMethodFileTemplateDescriptor
in class JavaTestFramework
public char getMnemonic()
getMnemonic
in class JavaTestFramework
public FileTemplateDescriptor getTestClassFileTemplateDescriptor()
getTestClassFileTemplateDescriptor
in class JavaTestFramework
public boolean isSuiteClass(PsiClass psiClass)
isSuiteClass
in class JavaTestFramework
public boolean isParameterized(PsiClass clazz)
isParameterized
in class JavaTestFramework
public PsiMethod findParametersMethod(PsiClass clazz)
findParametersMethod
in class JavaTestFramework