org.eclipse.mylar.internal.java.ui.junit
Class MylarJUnitLaunchConfiguration

java.lang.Object
  extended by org.eclipse.debug.core.model.LaunchConfigurationDelegate
      extended by org.eclipse.jdt.launching.AbstractJavaLaunchConfigurationDelegate
          extended by org.eclipse.jdt.internal.junit.launcher.JUnitBaseLaunchConfiguration
              extended by org.eclipse.jdt.internal.junit.launcher.JUnitLaunchConfiguration
                  extended by org.eclipse.mylar.internal.java.ui.junit.MylarJUnitLaunchConfiguration
All Implemented Interfaces:
org.eclipse.debug.core.IDebugEventSetListener, org.eclipse.debug.core.model.ILaunchConfigurationDelegate, org.eclipse.debug.core.model.ILaunchConfigurationDelegate2

public class MylarJUnitLaunchConfiguration
extends org.eclipse.jdt.internal.junit.launcher.JUnitLaunchConfiguration

Author:
Mik Kersten

Field Summary
 
Fields inherited from class org.eclipse.jdt.internal.junit.launcher.JUnitLaunchConfiguration
ID_JUNIT_APPLICATION
 
Fields inherited from class org.eclipse.jdt.internal.junit.launcher.JUnitBaseLaunchConfiguration
ATTR_KEEPRUNNING, FAILURES_FILENAME_ATTR, LAUNCH_CONTAINER_ATTR, NO_DISPLAY_ATTR, PORT_ATTR, RUN_QUIETLY_MODE, TEST_KIND_ATTR, TESTNAME_ATTR, TESTTYPE_ATTR
 
Fields inherited from class org.eclipse.debug.core.model.LaunchConfigurationDelegate
complileErrorProjectPromptStatus, complileErrorPromptStatus, promptStatus, saveScopedDirtyEditors, switchToDebugPromptStatus
 
Constructor Summary
MylarJUnitLaunchConfiguration()
           
 
Method Summary
protected  org.eclipse.jdt.internal.junit.launcher.TestSearchResult customFindTestTypes(org.eclipse.debug.core.ILaunchConfiguration configuration, org.eclipse.core.runtime.IProgressMonitor pm)
           
 void launch(org.eclipse.debug.core.ILaunchConfiguration configuration, java.lang.String mode, org.eclipse.debug.core.ILaunch launch, org.eclipse.core.runtime.IProgressMonitor pm)
           
private  org.eclipse.jdt.launching.VMRunnerConfiguration launchTypes(org.eclipse.debug.core.ILaunchConfiguration configuration, java.lang.String mode, org.eclipse.jdt.internal.junit.launcher.TestSearchResult tests, int port)
           
 
Methods inherited from class org.eclipse.jdt.internal.junit.launcher.JUnitLaunchConfiguration
createClassPath, createVMRunner, getVMArgs
 
Methods inherited from class org.eclipse.jdt.internal.junit.launcher.JUnitBaseLaunchConfiguration
abort, containerTestTarget, defaultTestLoaderClass, findTestTypes, getBasicArguments, informAndAbort, keepAlive, performStringSubstitution, singleTypeTarget, testSearchTarget
 
Methods inherited from class org.eclipse.jdt.launching.AbstractJavaLaunchConfigurationDelegate
getBootpath, getBootpathExt, getBreakpoints, getBuildOrder, getClasspath, getDefaultWorkingDirectory, getEnvironment, getJavaLibraryPath, getJavaProject, getJavaProjectName, getLaunchManager, getMainTypeName, getProgramArguments, getProjectsForProblemSearch, getVMArguments, getVMConnectorId, getVMInstall, getVMInstallName, getVMInstallType, getVMInstallTypeId, getVMRunner, getVMSpecificAttributesMap, getWorkingDirectory, getWorkingDirectoryPath, handleDebugEvents, isAllowTerminate, isLaunchProblem, isStopInMain, preLaunchCheck, prepareStopInMain, setDefaultSourceLocator, verifyJavaProject, verifyMainTypeName, verifyVMInstall, verifyWorkingDirectory
 
Methods inherited from class org.eclipse.debug.core.model.LaunchConfigurationDelegate
addReferencedProjects, buildForLaunch, buildProjects, computeBuildOrder, computeReferencedBuildOrder, existsProblems, finalLaunchCheck, getLaunch, saveBeforeLaunch
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MylarJUnitLaunchConfiguration

public MylarJUnitLaunchConfiguration()
Method Detail

customFindTestTypes

protected org.eclipse.jdt.internal.junit.launcher.TestSearchResult customFindTestTypes(org.eclipse.debug.core.ILaunchConfiguration configuration,
                                                                                       org.eclipse.core.runtime.IProgressMonitor pm)
                                                                                throws org.eclipse.core.runtime.CoreException
Throws:
org.eclipse.core.runtime.CoreException

launch

public void launch(org.eclipse.debug.core.ILaunchConfiguration configuration,
                   java.lang.String mode,
                   org.eclipse.debug.core.ILaunch launch,
                   org.eclipse.core.runtime.IProgressMonitor pm)
            throws org.eclipse.core.runtime.CoreException
Specified by:
launch in interface org.eclipse.debug.core.model.ILaunchConfigurationDelegate
Overrides:
launch in class org.eclipse.jdt.internal.junit.launcher.JUnitBaseLaunchConfiguration
Throws:
org.eclipse.core.runtime.CoreException

launchTypes

private final org.eclipse.jdt.launching.VMRunnerConfiguration launchTypes(org.eclipse.debug.core.ILaunchConfiguration configuration,
                                                                          java.lang.String mode,
                                                                          org.eclipse.jdt.internal.junit.launcher.TestSearchResult tests,
                                                                          int port)
                                                                   throws org.eclipse.core.runtime.CoreException
Overrides:
launchTypes in class org.eclipse.jdt.internal.junit.launcher.JUnitBaseLaunchConfiguration
Throws:
org.eclipse.core.runtime.CoreException