aQute.bnd.junit
Class OSGiJUnitLauncherConfigurationDelegate

java.lang.Object
  extended by JUnitLaunchConfigurationDelegate
      extended by aQute.bnd.junit.OSGiJUnitLauncherConfigurationDelegate

public class OSGiJUnitLauncherConfigurationDelegate
extends JUnitLaunchConfigurationDelegate


Constructor Summary
OSGiJUnitLauncherConfigurationDelegate()
           
 
Method Summary
protected  void collectExecutionArguments(ILaunchConfiguration configuration, java.util.List vmArguments, java.util.List programArguments)
           
 java.lang.String[] getClasspath(ILaunchConfiguration configuration)
          Calculate the classpath.
 void launch(ILaunchConfiguration configuration, java.lang.String mode, ILaunch launch, IProgressMonitor monitor)
           
 java.lang.String verifyMainTypeName(ILaunchConfiguration configuration)
           
 
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 java.lang.String verifyMainTypeName(ILaunchConfiguration configuration)
                                    throws CoreException
Throws:
CoreException

collectExecutionArguments

protected void collectExecutionArguments(ILaunchConfiguration configuration,
                                         java.util.List vmArguments,
                                         java.util.List programArguments)
                                  throws CoreException
Throws:
CoreException

getClasspath

public java.lang.String[] getClasspath(ILaunchConfiguration configuration)
                                throws 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.

Throws:
CoreException

launch

public void launch(ILaunchConfiguration configuration,
                   java.lang.String mode,
                   ILaunch launch,
                   IProgressMonitor monitor)
            throws CoreException
Throws:
CoreException