blob: 1412361c0f419ee16bce11988e382ab843d40276 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2009 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.wst.jsdt.debug.rhino.tests;
import org.eclipse.wst.jsdt.debug.internal.rhino.transport.DisconnectedException;
import org.eclipse.wst.jsdt.debug.internal.rhino.transport.Request;
import org.eclipse.wst.jsdt.debug.internal.rhino.transport.Response;
import org.eclipse.wst.jsdt.debug.internal.rhino.transport.TimeoutException;
public class RequestDisposeTest extends RequestTest {
public void testDispose() throws DisconnectedException, TimeoutException {
Request request = new Request("dispose"); //$NON-NLS-1$
debugSession.sendRequest(request);
Response response = debugSession.receiveResponse(request.getSequence(), 30000);
assertTrue(response.isSuccess());
}
}