public abstract class AbstractInClassConfigurationProducer<T extends JavaTestConfigurationBase> extends AbstractJavaTestConfigurationProducer<T>
EP_NAME
Modifier | Constructor and Description |
---|---|
protected |
AbstractInClassConfigurationProducer() |
protected |
AbstractInClassConfigurationProducer(ConfigurationType configurationType)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
onFirstRun(ConfigurationFromContext configuration,
ConfigurationContext fromContext,
java.lang.Runnable performRunnable)
Called before a configuration created from context by this producer is first executed.
|
protected boolean |
setupConfigurationFromContext(T configuration,
ConfigurationContext context,
Ref<PsiElement> sourceElement)
Sets up a configuration based on the specified context.
|
checkPackage, collectContextElements, collectLocationElements, collectTestMembers, differentParamSet, findModule, getCurrentFramework, getMethodPresentation, getQName, getQName, isApplicableTestType, isConfigurationFromContext, isMultipleElementsSelected, isRequiredVisibility, isTestClass, isTestMethod, setupConfigurationParamName
createConfigurationFromContext, findModule, setupConfigurationModule, setupPackageConfiguration
cloneTemplateConfiguration, cloneTemplateConfigurationStatic, createLightConfiguration, findExistingConfiguration, findOrCreateConfigurationFromContext, getConfigurationFactory, getConfigurationSettingsList, getConfigurationType, getInstance, getProducers, isPreferredConfiguration, shouldReplace
@Deprecated protected AbstractInClassConfigurationProducer(ConfigurationType configurationType)
RunConfigurationProducer.getConfigurationFactory()
.protected AbstractInClassConfigurationProducer()
public void onFirstRun(ConfigurationFromContext configuration, ConfigurationContext fromContext, java.lang.Runnable performRunnable)
RunConfigurationProducer
onFirstRun
in class RunConfigurationProducer<T extends JavaTestConfigurationBase>
configuration
- a configuration created by this producer.fromContext
- the contextperformRunnable
- the runnable that needs to be called after additional customization is complete.protected boolean setupConfigurationFromContext(T configuration, ConfigurationContext context, Ref<PsiElement> sourceElement)
RunConfigurationProducer
setupConfigurationFromContext
in class RunConfigurationProducer<T extends JavaTestConfigurationBase>
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).