Home
last modified time | relevance | path

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/
DCombinedEventsTestCase.java198 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 …]
DCombinedEvents002Test.java241 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 …]
DSingleStepThroughReflectionTest.java115 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()
DClassPrepare002Test.java100 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()
DEventLocationEventTestCase.java61 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()
DCombinedExceptionEventsTest.java124 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()
DBreakpointMultipleTest.java122 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()
DEventWithExceptionTest.java249 … 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/
DDebugTestBase.java426 ParsedEvent parsedEvent = parsedEvents[0];
427 byte eventKind = parsedEvent.getEventKind();
428 int requestID = parsedEvent.getRequestID();
435 assert parsedEvent.getSuspendPolicy() == SuspendPolicy.ALL;
438 updateEventContext((EventThread) parsedEvent);