1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-07 17:56:01 +02:00

adjust to changes in CDI

This commit is contained in:
Alain Magloire 2004-10-26 19:44:14 +00:00
parent 10e1d937dd
commit 91086ed28f

View file

@ -14,7 +14,6 @@ import org.eclipse.cdt.core.model.ICProject;
import org.eclipse.cdt.debug.core.cdi.CDIException; import org.eclipse.cdt.debug.core.cdi.CDIException;
import org.eclipse.cdt.debug.core.cdi.ICDILocation; import org.eclipse.cdt.debug.core.cdi.ICDILocation;
import org.eclipse.cdt.debug.core.cdi.ICDISession; import org.eclipse.cdt.debug.core.cdi.ICDISession;
import org.eclipse.cdt.debug.core.cdi.ICDISourceManager;
import org.eclipse.cdt.debug.core.cdi.model.ICDITarget; import org.eclipse.cdt.debug.core.cdi.model.ICDITarget;
import org.eclipse.cdt.debug.mi.core.MIException; import org.eclipse.cdt.debug.mi.core.MIException;
import org.eclipse.cdt.debug.testplugin.CDebugHelper; import org.eclipse.cdt.debug.testplugin.CDebugHelper;
@ -116,14 +115,11 @@ public class DebugTests extends TestCase {
* It's not ment to be a real proper test. * It's not ment to be a real proper test.
*/ */
public void testDebug() throws CoreException, MIException, IOException, CDIException { public void testDebug() throws CoreException, MIException, IOException, CDIException {
ICDISourceManager source;
ICDITarget cdiTarget; ICDITarget cdiTarget;
ICDILocation location; ICDILocation location;
session=CDebugHelper.createSession("main",testProject); session=CDebugHelper.createSession("main",testProject);
assertNotNull(session); assertNotNull(session);
source=session.getSourceManager();
assertNotNull(source);
ICDITarget[] targets = session.getTargets(); ICDITarget[] targets = session.getTargets();
assertNotNull(targets); assertNotNull(targets);
assertTrue(targets.length > 0); assertTrue(targets.length > 0);