| org.eclipse.pde.ui.launcher.JUnitLaunchConfigurationDelegate
JUnitLaunchConfigurationDelegate | public class JUnitLaunchConfigurationDelegate extends org.eclipse.jdt.junit.launcher.JUnitLaunchConfigurationDelegate (Code) | | A launch delegate for launching JUnit Plug-in tests.
since: 3.3 |
Method Summary | |
protected void | abort(String message, Throwable exception, int code) | protected void | clear(ILaunchConfiguration configuration, IProgressMonitor monitor) Clears the workspace prior to launching if the workspace exists and the option to
clear it is turned on. | protected void | collectExecutionArguments(ILaunchConfiguration configuration, List vmArguments, List programArgs) | protected IProject[] | getBuildOrder(ILaunchConfiguration configuration, String mode) | public String[] | getClasspath(ILaunchConfiguration configuration) | protected File | getConfigurationDirectory(ILaunchConfiguration configuration) | public String[] | getEnvironment(ILaunchConfiguration configuration) | public String | getProgramArguments(ILaunchConfiguration configuration) | protected IProject[] | getProjectsForProblemSearch(ILaunchConfiguration configuration, String mode) | public String | getVMArguments(ILaunchConfiguration configuration) | public IVMRunner | getVMRunner(ILaunchConfiguration configuration, String mode) | public Map | getVMSpecificAttributesMap(ILaunchConfiguration configuration) | public File | getWorkingDirectory(ILaunchConfiguration configuration) | protected void | manageLaunch(ILaunch launch) Adds a listener to the launch to be notified at interesting launch lifecycle
events such as when the launch terminates. | protected void | preLaunchCheck(ILaunchConfiguration configuration, ILaunch launch, IProgressMonitor monitor) | protected void | setDefaultSourceLocator(ILaunch launch, ILaunchConfiguration configuration) | protected void | synchronizeManifests(ILaunchConfiguration configuration, IProgressMonitor monitor) Checks for old-style plugin.xml files that have become stale since the last launch. | protected void | validatePluginDependencies(ILaunchConfiguration configuration, IProgressMonitor monitor) Validates inter-bundle dependencies automatically prior to launching
if that option is turned on. | protected void | validateProjectDependencies(ILaunchConfiguration configuration, IProgressMonitor monitor) Checks if the Automated Management of Dependencies option is turned on. | public String | verifyMainTypeName(ILaunchConfiguration configuration) |
clear | protected void clear(ILaunchConfiguration configuration, IProgressMonitor monitor) throws CoreException(Code) | | Clears the workspace prior to launching if the workspace exists and the option to
clear it is turned on. Also clears the configuration area if that option is chosen.
Parameters: configuration - the launch configuration Parameters: monitor - the progress monitor throws: CoreException - if unable to retrieve launch attribute values since: 3.3 |
collectExecutionArguments | protected void collectExecutionArguments(ILaunchConfiguration configuration, List vmArguments, List programArgs) throws CoreException(Code) | | |
getBuildOrder | protected IProject[] getBuildOrder(ILaunchConfiguration configuration, String mode) throws CoreException(Code) | | |
getClasspath | public String[] getClasspath(ILaunchConfiguration configuration) throws CoreException(Code) | | |
getConfigurationDirectory | protected File getConfigurationDirectory(ILaunchConfiguration configuration)(Code) | | Returns the location of the configuration area
Parameters: configuration - the launch configuration a directory where the configuration area is located |
getEnvironment | public String[] getEnvironment(ILaunchConfiguration configuration) throws CoreException(Code) | | |
getProgramArguments | public String getProgramArguments(ILaunchConfiguration configuration) throws CoreException(Code) | | |
getProjectsForProblemSearch | protected IProject[] getProjectsForProblemSearch(ILaunchConfiguration configuration, String mode) throws CoreException(Code) | | |
getVMArguments | public String getVMArguments(ILaunchConfiguration configuration) throws CoreException(Code) | | |
getVMRunner | public IVMRunner getVMRunner(ILaunchConfiguration configuration, String mode) throws CoreException(Code) | | |
getVMSpecificAttributesMap | public Map getVMSpecificAttributesMap(ILaunchConfiguration configuration) throws CoreException(Code) | | |
getWorkingDirectory | public File getWorkingDirectory(ILaunchConfiguration configuration) throws CoreException(Code) | | |
manageLaunch | protected void manageLaunch(ILaunch launch)(Code) | | Adds a listener to the launch to be notified at interesting launch lifecycle
events such as when the launch terminates.
Parameters: launch - the launch |
preLaunchCheck | protected void preLaunchCheck(ILaunchConfiguration configuration, ILaunch launch, IProgressMonitor monitor) throws CoreException(Code) | | |
setDefaultSourceLocator | protected void setDefaultSourceLocator(ILaunch launch, ILaunchConfiguration configuration) throws CoreException(Code) | | |
synchronizeManifests | protected void synchronizeManifests(ILaunchConfiguration configuration, IProgressMonitor monitor)(Code) | | Checks for old-style plugin.xml files that have become stale since the last launch.
For any stale plugin.xml files found, the corresponding MANIFEST.MF is deleted
from the runtime configuration area so that it gets regenerated upon startup.
Parameters: configuration - the launch configuration Parameters: monitor - the progress monitor |
validatePluginDependencies | protected void validatePluginDependencies(ILaunchConfiguration configuration, IProgressMonitor monitor) throws CoreException(Code) | | Validates inter-bundle dependencies automatically prior to launching
if that option is turned on.
Parameters: configuration - the launch configuration Parameters: monitor - a progress monitor |
validateProjectDependencies | protected void validateProjectDependencies(ILaunchConfiguration configuration, IProgressMonitor monitor)(Code) | | Checks if the Automated Management of Dependencies option is turned on.
If so, it makes aure all manifests are updated with the correct dependencies.
Parameters: configuration - the launch configuration Parameters: monitor - a progress monitor |
verifyMainTypeName | public String verifyMainTypeName(ILaunchConfiguration configuration) throws CoreException(Code) | | |
|
|