aQute.bnd.junit
Class OSGiJUnitLauncherConfigurationDelegate

java.lang.Object
  extended by org.eclipse.debug.core.model.LaunchConfigurationDelegate
      extended by org.eclipse.jdt.launching.AbstractJavaLaunchConfigurationDelegate
          extended by org.eclipse.jdt.junit.launcher.JUnitLaunchConfigurationDelegate
              extended by aQute.bnd.junit.OSGiJUnitLauncherConfigurationDelegate
All Implemented Interfaces:
org.eclipse.debug.core.IDebugEventSetListener, org.eclipse.debug.core.model.ILaunchConfigurationDelegate, org.eclipse.debug.core.model.ILaunchConfigurationDelegate2

public class OSGiJUnitLauncherConfigurationDelegate
extends org.eclipse.jdt.junit.launcher.JUnitLaunchConfigurationDelegate


Field Summary
 
Fields inherited from class org.eclipse.debug.core.model.LaunchConfigurationDelegate
complileErrorProjectPromptStatus, complileErrorPromptStatus, promptStatus, saveScopedDirtyEditors, switchToDebugPromptStatus
 
Constructor Summary
OSGiJUnitLauncherConfigurationDelegate()
           
 
Method Summary
protected  void collectExecutionArguments(org.eclipse.debug.core.ILaunchConfiguration configuration, List vmArguments, List programArguments)
           
 String[] getClasspath(org.eclipse.debug.core.ILaunchConfiguration configuration)
          Calculate the classpath.
 File getRuntime()
          Extract the runtime on the file system so we can refer to it.
 String verifyMainTypeName(org.eclipse.debug.core.ILaunchConfiguration configuration)
           
 
Methods inherited from class org.eclipse.jdt.junit.launcher.JUnitLaunchConfigurationDelegate
abort, evaluateTests, launch, preLaunchCheck
 
Methods inherited from class org.eclipse.jdt.launching.AbstractJavaLaunchConfigurationDelegate
getBootpath, getBootpathExt, getBreakpoints, getBuildOrder, 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, 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

OSGiJUnitLauncherConfigurationDelegate

public OSGiJUnitLauncherConfigurationDelegate()
Method Detail

verifyMainTypeName

public String verifyMainTypeName(org.eclipse.debug.core.ILaunchConfiguration configuration)
                          throws org.eclipse.core.runtime.CoreException
Overrides:
verifyMainTypeName in class org.eclipse.jdt.junit.launcher.JUnitLaunchConfigurationDelegate
Throws:
org.eclipse.core.runtime.CoreException

collectExecutionArguments

protected void collectExecutionArguments(org.eclipse.debug.core.ILaunchConfiguration configuration,
                                         List vmArguments,
                                         List programArguments)
                                  throws org.eclipse.core.runtime.CoreException
Overrides:
collectExecutionArguments in class org.eclipse.jdt.junit.launcher.JUnitLaunchConfigurationDelegate
Throws:
org.eclipse.core.runtime.CoreException

getClasspath

public String[] getClasspath(org.eclipse.debug.core.ILaunchConfiguration configuration)
                      throws org.eclipse.core.runtime.CoreException
Calculate the classpath. We include our own runtime.jar which includes the test framework and we include the first of the test frameworks specified.

Overrides:
getClasspath in class org.eclipse.jdt.junit.launcher.JUnitLaunchConfigurationDelegate
Throws:
org.eclipse.core.runtime.CoreException

getRuntime

public File getRuntime()
Extract the runtime on the file system so we can refer to it. in the remote VM.

Returns:


Copyright © 2010 aQute SARL. All Rights Reserved.