public class TestsPattern extends TestPackage
CLASS_NAME_FUNCTION
LOG, myListenersFile
myServerSocket, myTempFile, myWorkingDirsFile
Constructor and Description |
---|
TestsPattern(JUnitConfiguration configuration,
ExecutionEnvironment environment) |
Modifier and Type | Method and Description |
---|---|
void |
checkConfiguration() |
protected boolean |
configureByModule(Module module) |
protected boolean |
filterOutputByDirectoryForJunit5(java.util.Set<Location<?>> classNames) |
protected TestClassFilter |
getClassFilter(JUnitConfiguration.Data data) |
protected java.lang.String |
getFilters(java.util.Set<Location<?>> foundClasses,
java.lang.String packageName) |
RefactoringElementListener |
getListener(PsiElement element,
JUnitConfiguration configuration) |
protected java.lang.String |
getPackageName(JUnitConfiguration.Data data) |
boolean |
isConfiguredByElement(JUnitConfiguration configuration,
PsiClass testClass,
PsiMethod testMethod,
PsiPackage testPackage,
PsiDirectory testDir) |
protected boolean |
requiresSmartMode() |
protected void |
searchTests(Module module,
TestClassFilter classFilter,
java.util.Set<Location<?>> classes) |
protected void |
searchTests5(Module module,
TestClassFilter classFilter,
java.util.Set<Location<?>> classes) |
java.lang.String |
suggestActionName() |
collectClassesRecursively, collectInnerClasses, collectPackagesToOpen, createJavaParameters, createSearchingForTestsTask, createTempFiles, filterScope, getPackage, getSourceScope, getWorkingDirsFile
addClassesListToJavaParameters, addClassesListToJavaParameters, appendJUnit5LauncherClasses, appendRepeatMode, composeDirectoryFilter, configureRTClasspath, createJavaParameters4Tests, deleteTempFiles, fillForkModule, fromString, getConfiguration, getForkMode, getFrameworkId, getFrameworkName, getJUnit5RtFile, getModulesToCompile, getRunner, getScope, getScopeForJUnit, hasJUnit5EnginesAPI, isDumbAware, isIdBasedTestTree, passForkMode, passTempFile, retrievePsiElement, useModulePath
appendForkInfo, collectListeners, collectSubPackages, configureClasspath, createHandler, createRemoteConnection, createServerSocket, createTargetedCommandLine, createTempFiles, execute, findJavaModule, forkPerModule, getForkSocket, getJdk, getJigsawOptions, getNamedParams, isPollConnection, putDependenciesOnModulePath, setRemoteConnectionCreator, spansMultipleModules, writeClassesPerModule
ansiColoringEnabled, clear, createCommandLine, getJavaParameters, shouldAddJavaProgramRunnerActions, startProcess
addConsoleFilters, createActions, createActions, createConsole, getConsoleBuilder, getEnvironment, getExecutionTarget, getRunnerSettings, setConsoleBuilder
public TestsPattern(JUnitConfiguration configuration, ExecutionEnvironment environment)
protected TestClassFilter getClassFilter(JUnitConfiguration.Data data) throws CantRunException
getClassFilter
in class TestPackage
CantRunException
protected java.lang.String getPackageName(JUnitConfiguration.Data data)
getPackageName
in class TestPackage
protected boolean filterOutputByDirectoryForJunit5(java.util.Set<Location<?>> classNames)
filterOutputByDirectoryForJunit5
in class TestPackage
protected boolean requiresSmartMode()
requiresSmartMode
in class TestPackage
protected void searchTests5(Module module, TestClassFilter classFilter, java.util.Set<Location<?>> classes)
searchTests5
in class TestPackage
protected void searchTests(Module module, TestClassFilter classFilter, java.util.Set<Location<?>> classes)
searchTests
in class TestPackage
protected java.lang.String getFilters(java.util.Set<Location<?>> foundClasses, java.lang.String packageName)
getFilters
in class TestPackage
protected boolean configureByModule(Module module)
configureByModule
in class TestPackage
public java.lang.String suggestActionName()
suggestActionName
in class TestPackage
public RefactoringElementListener getListener(PsiElement element, JUnitConfiguration configuration)
getListener
in class TestPackage
public boolean isConfiguredByElement(JUnitConfiguration configuration, PsiClass testClass, PsiMethod testMethod, PsiPackage testPackage, PsiDirectory testDir)
isConfiguredByElement
in class TestPackage
public void checkConfiguration() throws RuntimeConfigurationException
checkConfiguration
in class TestPackage
RuntimeConfigurationException