public class TestUniqueId extends TestObject
LOG, myListenersFile
myServerSocket, myTempFile, myWorkingDirsFile
Constructor and Description |
---|
TestUniqueId(JUnitConfiguration configuration,
ExecutionEnvironment environment) |
Modifier and Type | Method and Description |
---|---|
void |
checkConfiguration() |
protected JavaParameters |
createJavaParameters() |
static java.lang.String |
getEffectiveNodeId(AbstractTestProxy testInfo,
Project project,
GlobalSearchScope searchScope)
Return nodeId for the cases where containing method or class do not represent tests (IDEA fails to detect them as tests),
or if parent node provides the same location, the case of parameterized/dynamic tests
|
RefactoringElementListener |
getListener(PsiElement element,
JUnitConfiguration configuration) |
static Function<java.lang.String,java.lang.String> |
getUniqueIdPresentation() |
boolean |
isConfiguredByElement(JUnitConfiguration configuration,
PsiClass testClass,
PsiMethod testMethod,
PsiPackage testPackage,
PsiDirectory testDir) |
java.lang.String |
suggestActionName() |
addClassesListToJavaParameters, addClassesListToJavaParameters, appendJUnit5LauncherClasses, appendRepeatMode, composeDirectoryFilter, configureRTClasspath, createJavaParameters4Tests, deleteTempFiles, fillForkModule, fromString, getConfiguration, getForkMode, getFrameworkId, getFrameworkName, getJUnit5RtFile, getModulesToCompile, getRunner, getScope, getScopeForJUnit, getSourceScope, hasJUnit5EnginesAPI, isDumbAware, isIdBasedTestTree, passForkMode, passTempFile, retrievePsiElement, useModulePath
appendForkInfo, collectListeners, collectPackagesToOpen, collectSubPackages, configureByModule, 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 TestUniqueId(JUnitConfiguration configuration, ExecutionEnvironment environment)
protected JavaParameters createJavaParameters() throws ExecutionException
createJavaParameters
in class TestObject
ExecutionException
public static Function<java.lang.String,java.lang.String> getUniqueIdPresentation()
public static java.lang.String getEffectiveNodeId(AbstractTestProxy testInfo, Project project, GlobalSearchScope searchScope)
public java.lang.String suggestActionName()
suggestActionName
in class TestObject
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