Searched refs:parsedEvent (Results 1 – 9 of 9) sorted by relevance
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/ |
D | CombinedEventsTestCase.java | 198 protected boolean checkEventLocation(ParsedEvent parsedEvent, Location expectedLocation) { in checkEventLocation() argument 199 byte eventKind = parsedEvent.getEventKind(); in checkEventLocation() 204 eventLocation = ((ParsedEvent.Event_METHOD_ENTRY)parsedEvent).getLocation(); in checkEventLocation() 205 eventThreadID = ((ParsedEvent.EventThread)parsedEvent).getThreadID(); in checkEventLocation() 208 eventLocation = ((ParsedEvent.Event_SINGLE_STEP)parsedEvent).getLocation(); in checkEventLocation() 209 eventThreadID = ((ParsedEvent.EventThread)parsedEvent).getThreadID(); in checkEventLocation() 212 eventLocation = ((ParsedEvent.Event_BREAKPOINT)parsedEvent).getLocation(); in checkEventLocation() 213 eventThreadID = ((ParsedEvent.EventThread)parsedEvent).getThreadID(); in checkEventLocation() 216 eventLocation = ((ParsedEvent.Event_METHOD_EXIT)parsedEvent).getLocation(); in checkEventLocation() 217 eventThreadID = ((ParsedEvent.EventThread)parsedEvent).getThreadID(); in checkEventLocation() [all …]
|
D | CombinedEvents002Test.java | 241 ParsedEvent parsedEvent = receivedEvents.get(i); in checkEvents() local 242 byte eventKind = parsedEvent.getEventKind(); in checkEvents() 246 testCaseIsOk &= checkMethodEntryEvent(parsedEvent); in checkEvents() 249 testCaseIsOk &= checkMethodExitEvent(parsedEvent); in checkEvents() 252 testCaseIsOk &= checkMethodExitWithReturnValueEvent(parsedEvent); in checkEvents() 270 private boolean checkMethodEntryEvent(ParsedEvent parsedEvent) { in checkMethodEntryEvent() argument 272 (ParsedEvent.Event_METHOD_ENTRY) parsedEvent; in checkMethodEntryEvent() 278 private boolean checkMethodExitEvent(ParsedEvent parsedEvent) { in checkMethodExitEvent() argument 280 (ParsedEvent.Event_METHOD_EXIT) parsedEvent; in checkMethodExitEvent() 286 private boolean checkMethodExitWithReturnValueEvent(ParsedEvent parsedEvent) { in checkMethodExitWithReturnValueEvent() argument [all …]
|
D | SingleStepThroughReflectionTest.java | 115 ParsedEvent parsedEvent = waitForSingleStepEvent(stepRequestID); in testSingleStepIntoThroughReflection() local 121 checkSingleStepEvent((EventThreadLocation) parsedEvent, refTypeID); in testSingleStepIntoThroughReflection() 166 ParsedEvent parsedEvent = parsedEvents[0]; in waitForSingleStepEvent() local 167 assertEquals("Received wrong event request ID,", requestID, parsedEvent.getRequestID()); in waitForSingleStepEvent() 169 parsedEvent.getEventKind(), in waitForSingleStepEvent() 171 JDWPConstants.EventKind.getName(parsedEvent.getEventKind())); in waitForSingleStepEvent() 173 return parsedEvent; in waitForSingleStepEvent()
|
D | ClassPrepare002Test.java | 100 ParsedEvent parsedEvent = parsedEvents[0]; in testClassPrepareCausedByDebugger() local 102 assertEquals(JDWPConstants.EventKind.CLASS_PREPARE, parsedEvent.getEventKind()); in testClassPrepareCausedByDebugger() 105 assertEquals(JDWPConstants.SuspendPolicy.ALL, parsedEvent.getSuspendPolicy()); in testClassPrepareCausedByDebugger() 107 assertEquals(classPrepareRequestId, parsedEvent.getRequestID()); in testClassPrepareCausedByDebugger() 108 Event_CLASS_PREPARE classPrepareEvent = (Event_CLASS_PREPARE) parsedEvent; in testClassPrepareCausedByDebugger()
|
D | EventLocationEventTestCase.java | 61 ParsedEvent parsedEvent = parsedEvents[0]; in runEventWithLocationTest() local 66 parsedEvent.getEventKind(), in runEventWithLocationTest() 68 JDWPConstants.EventKind.getName(parsedEvent.getEventKind())); in runEventWithLocationTest() 71 int eventRequestId = parsedEvent.getRequestID(); in runEventWithLocationTest() 76 checkEvent(parsedEvent); in runEventWithLocationTest()
|
D | CombinedExceptionEventsTest.java | 124 ParsedEvent parsedEvent = parsedEvents[i]; in runCombinedExceptionEventsTest() local 125 byte eventKind = parsedEvent.getEventKind(); in runCombinedExceptionEventsTest() 126 int requestID = parsedEvent.getRequestID(); in runCombinedExceptionEventsTest() 136 ParsedEvent.Event_EXCEPTION exceptionEvent = (ParsedEvent.Event_EXCEPTION) parsedEvent; in runCombinedExceptionEventsTest()
|
D | BreakpointMultipleTest.java | 122 private void checkBreakpointEvent(ParsedEvent parsedEvent, Set<Integer> request_ids) { in checkBreakpointEvent() argument 123 byte eventKind = parsedEvent.getEventKind(); in checkBreakpointEvent() 129 request_ids.add(parsedEvent.getRequestID()); in checkBreakpointEvent()
|
D | EventWithExceptionTest.java | 249 … ParsedEvent parsedEvent = waitForEvent(JDWPConstants.EventKind.EXCEPTION, exceptionRequestId); in runSingleStepTest() local 250 long eventThreadId = ((ParsedEvent.EventThread)parsedEvent).getThreadID(); in runSingleStepTest() 487 ParsedEvent parsedEvent = parsedEvents[0]; in waitForEvent() local 488 assertEventKindEquals("Invalid event kind", eventKind, parsedEvent.getEventKind()); in waitForEvent() 489 assertEquals("Invalid request id", requestId, parsedEvent.getRequestID()); in waitForEvent() 490 return parsedEvent; in waitForEvent()
|
/external/r8/src/test/java/com/android/tools/r8/debug/ |
D | DebugTestBase.java | 426 ParsedEvent parsedEvent = parsedEvents[0]; 427 byte eventKind = parsedEvent.getEventKind(); 428 int requestID = parsedEvent.getRequestID(); 435 assert parsedEvent.getSuspendPolicy() == SuspendPolicy.ALL; 438 updateEventContext((EventThread) parsedEvent);
|