TestUtil.assertBreakpointsEqual(breakpoint, resultBreakpoint[0]);
}
@Test(timeout = 5000)
public void testClear() throws Exception {
BreakpointImpl bp = new BreakpointImpl(1, new Breakpoint.Target.ScriptName("abc.js"),
10, true, null,
new TestBreakpointManager(javascriptVm.getDebugSession()));
final CountDownLatch latch = new CountDownLatch(1);
final String[] resultMessage = new String[1];
final Breakpoint[] resultBreakpoint = new Breakpoint[1];
bp.clear(new BreakpointCallback() {
public void failure(String errorMessage) {
resultMessage[0] = errorMessage;
latch.countDown();
}