public abstract class AbstractAllInPackageConfigurationProducer extends JUnitConfigurationProducer
EP_NAME| Modifier | Constructor and Description |
|---|---|
protected |
AbstractAllInPackageConfigurationProducer() |
protected |
AbstractAllInPackageConfigurationProducer(ConfigurationType configurationType)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isApplicableTestType(java.lang.String type,
ConfigurationContext context) |
boolean |
isPreferredConfiguration(ConfigurationFromContext self,
ConfigurationFromContext other)
When two configurations are created from the same context by two different producers, checks if the configuration created by
this producer should be discarded in favor of the other one.
|
protected boolean |
setupConfigurationFromContext(JUnitConfiguration configuration,
ConfigurationContext context,
Ref<PsiElement> sourceElement)
Sets up a configuration based on the specified context.
|
getConfigurationFactorycheckPackage, collectContextElements, collectLocationElements, collectTestMembers, differentParamSet, findModule, getCurrentFramework, getMethodPresentation, getQName, getQName, isConfigurationFromContext, isMultipleElementsSelected, isRequiredVisibility, isTestClass, isTestMethod, setupConfigurationParamNamecreateConfigurationFromContext, findModule, setupConfigurationModule, setupPackageConfigurationcloneTemplateConfiguration, cloneTemplateConfigurationStatic, createLightConfiguration, findExistingConfiguration, findOrCreateConfigurationFromContext, getConfigurationSettingsList, getConfigurationType, getInstance, getProducers, onFirstRun, shouldReplace@Deprecated protected AbstractAllInPackageConfigurationProducer(ConfigurationType configurationType)
JUnitConfigurationProducer.getConfigurationFactory().protected AbstractAllInPackageConfigurationProducer()
protected boolean isApplicableTestType(java.lang.String type,
ConfigurationContext context)
isApplicableTestType in class AbstractJavaTestConfigurationProducer<JUnitConfiguration>protected boolean setupConfigurationFromContext(JUnitConfiguration configuration, ConfigurationContext context, Ref<PsiElement> sourceElement)
RunConfigurationProducersetupConfigurationFromContext in class RunConfigurationProducer<JUnitConfiguration>configuration - a clone of the template run configuration of the specified typecontext - contains the information about a location in the source code.sourceElement - a reference to the source element for the run configuration (by default contains the element at caret,
can be updated by the producer to point to a higher-level element in the tree).public boolean isPreferredConfiguration(ConfigurationFromContext self, ConfigurationFromContext other)
RunConfigurationProducerisPreferredConfiguration in class RunConfigurationProducer<JUnitConfiguration>self - a configuration created by this producer.other - a configuration created by another producer.RunConfigurationProducer.shouldReplace(ConfigurationFromContext, ConfigurationFromContext)