public class TestMethods extends TestObject
myListenersFile
myServerSocket, myTempFile, myWorkingDirsFile
Constructor and Description |
---|
TestMethods(JUnitConfiguration configuration,
ExecutionEnvironment environment,
java.util.Collection<? extends AbstractTestProxy> failedTests) |
Modifier and Type | Method and Description |
---|---|
void |
checkConfiguration() |
protected void |
collectPackagesToOpen(java.util.List<java.lang.String> options) |
protected boolean |
configureByModule(Module module) |
protected JavaParameters |
createDefaultJavaParameters() |
protected JavaParameters |
createJavaParameters() |
RefactoringElementListener |
getListener(PsiElement element,
JUnitConfiguration configuration) |
SourceScope |
getSourceScope() |
static java.lang.String |
getTestPresentation(AbstractTestProxy testInfo,
Project project,
GlobalSearchScope searchScope) |
boolean |
isConfiguredByElement(JUnitConfiguration configuration,
PsiClass testClass,
PsiMethod testMethod,
PsiPackage testPackage,
PsiDirectory testDir) |
protected PsiElement |
retrievePsiElement(java.lang.Object element) |
java.lang.String |
suggestActionName() |
addClassesListToJavaParameters, addClassesListToJavaParameters, appendJUnit5LauncherClasses, appendRepeatMode, composeDirectoryFilter, configureRTClasspath, createJavaParameters4Tests, deleteTempFiles, fillForkModule, fromString, getConfiguration, getForkMode, getFrameworkId, getFrameworkName, getJUnit5RtFile, getModulesToCompile, getRunner, getScope, getScopeForJUnit, hasJUnit5EnginesAPI, isDumbAware, isIdBasedTestTree, passForkMode, passTempFile, useModulePath
appendForkInfo, collectListeners, collectSubPackages, configureClasspath, createHandler, createRemoteConnection, createSearchingForTestsTask, 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 TestMethods(JUnitConfiguration configuration, ExecutionEnvironment environment, java.util.Collection<? extends AbstractTestProxy> failedTests)
protected JavaParameters createJavaParameters() throws ExecutionException
ExecutionException
protected PsiElement retrievePsiElement(java.lang.Object element)
retrievePsiElement
in class TestObject
public SourceScope getSourceScope()
getSourceScope
in class TestObject
protected boolean configureByModule(Module module)
configureByModule
in class JavaTestFrameworkRunnableState<JUnitConfiguration>
public static java.lang.String getTestPresentation(AbstractTestProxy testInfo, Project project, GlobalSearchScope searchScope)
public java.lang.String suggestActionName()
protected void collectPackagesToOpen(java.util.List<java.lang.String> options)
collectPackagesToOpen
in class JavaTestFrameworkRunnableState<JUnitConfiguration>
protected JavaParameters createDefaultJavaParameters() throws ExecutionException
ExecutionException
public RefactoringElementListener getListener(PsiElement element, JUnitConfiguration configuration)
getListener
in class TestObject
public boolean isConfiguredByElement(JUnitConfiguration configuration, PsiClass testClass, PsiMethod testMethod, PsiPackage testPackage, PsiDirectory testDir)
isConfiguredByElement
in class TestObject
public void checkConfiguration() throws RuntimeConfigurationException
checkConfiguration
in class TestObject
RuntimeConfigurationException