use of org.eclipse.debug.core.ILaunchConfigurationType in project jbosstools-openshift by jbosstools.
the class DebugLaunchConfigsTest method testCreateRemoteDebuggerLaunchConfiguration.
@Test
public void testCreateRemoteDebuggerLaunchConfiguration() throws CoreException {
IServer server = mockServer("foo");
ILaunchConfigurationType launchConfigurationType = mock(ILaunchConfigurationType.class);
when(launchManager.getLaunchConfigurationType(ID_REMOTE_JAVA_APPLICATION)).thenReturn(launchConfigurationType);
debugLaunchConfigs.createRemoteDebuggerLaunchConfiguration(server);
verify(launchConfigurationType).newInstance(null, "Remote debugger to foo");
}
Aggregations