/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/ |
D | CombinedEvents002Test.java | 31 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent; 95 List<ParsedEvent> receivedEvents = receiveEvents(); in runTest() 177 private List<ParsedEvent> receiveEvents() { in receiveEvents() 178 List<ParsedEvent> receivedEvents = new ArrayList<ParsedEvent>(); in receiveEvents() 182 ParsedEvent[] parsedEvents = ParsedEvent.parseEventPacket(event); in receiveEvents() 206 parsedEvents = ParsedEvent.parseEventPacket(event); in receiveEvents() 230 private void checkEvents(List<ParsedEvent> receivedEvents, in checkEvents() 237 ParsedEvent parsedEvent = receivedEvents.get(i); in checkEvents() 266 private boolean checkMethodEntryEvent(ParsedEvent parsedEvent) { in checkMethodEntryEvent() 267 ParsedEvent.Event_METHOD_ENTRY methodEntryEvent = in checkMethodEntryEvent() [all …]
|
D | ClassPrepareTest.java | 31 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent; 64 ParsedEvent[] parsedEvents = ParsedEvent.parseEventPacket(event); in testClassPrepareEvent() 71 , ((ParsedEvent.Event_CLASS_PREPARE)parsedEvents[0]).getSignature()); in testClassPrepareEvent() 103 ParsedEvent[] parsedEvents = ParsedEvent.parseEventPacket(receiveEvent); in testClassPrepareEventWithoutSourceDebugExtension() 109 …assertEquals("Invalid signature of prepared class,", expectedClassSignature, ((ParsedEvent.Event_C… in testClassPrepareEventWithoutSourceDebugExtension() 172 ParsedEvent[] parsedEvents = ParsedEvent.parseEventPacket(receiveEvent); in testClassPrepareEventWithSourceDebugExtension() 178 …assertEquals("Invalid signature of prepared class,", expectedClassSignature, ((ParsedEvent.Event_C… in testClassPrepareEventWithSourceDebugExtension()
|
D | CombinedEventsTestCase.java | 34 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent; 198 protected boolean checkEventLocation(ParsedEvent parsedEvent, Location expectedLocation) { 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 | MethodExitWithReturnValueTest.java | 24 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent; 27 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent.EventThread; 28 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent.Event_METHOD_EXIT; 29 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent.Event_METHOD_EXIT_WITH_RETURN_VALUE; 63 ParsedEvent[] parsedEvents = ParsedEvent.parseEventPacket(receiveEvent); in testMethodExitWithReturnValueException() 175 ParsedEvent[] parsedEvents = ParsedEvent.parseEventPacket(receiveEvent); in runMethodExitWithReturn()
|
D | BreakpointOnCatchTest.java | 25 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent; 26 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent.EventThread; 27 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent.Event_EXCEPTION; 64 ParsedEvent[] parsedEvents = ParsedEvent.parseEventPacket(event); in testBreakpointOnCatch() 85 parsedEvents = ParsedEvent.parseEventPacket(event); in testBreakpointOnCatch()
|
D | FieldAccessTest.java | 30 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent; 33 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent.EventThread; 72 ParsedEvent[] parsedEvents = ParsedEvent.parseEventPacket(event); in testFieldAccessEvent() 86 TaggedObject accessedField =((ParsedEvent.Event_FIELD_ACCESS)parsedEvents[0]).getObject(); in testFieldAccessEvent()
|
D | FieldModificationTest.java | 30 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent; 33 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent.EventThread; 72 ParsedEvent[] parsedEvents = ParsedEvent.parseEventPacket(event); in testFieldModifyEvent() 86 … TaggedObject modifiedField =((ParsedEvent.Event_FIELD_MODIFICATION)parsedEvents[0]).getObject(); in testFieldModifyEvent()
|
D | MonitorWaitTest.java | 24 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent; 25 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent.Event_MONITOR_WAIT; 115 ParsedEvent[] parsedEvents = ParsedEvent.parseEventPacket(receiveEvent); in verifyEvent() 116 Event_MONITOR_WAIT event = (ParsedEvent.Event_MONITOR_WAIT)parsedEvents[0]; in verifyEvent() 141 , ((ParsedEvent.Event_MONITOR_WAIT)parsedEvents[0]).getTimeout()); in verifyEvent()
|
D | ExceptionBaseTest.java | 26 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent; 38 protected ParsedEvent.Event_EXCEPTION receiveAndCheckExceptionEvent(int requestID) { in receiveAndCheckExceptionEvent() 42 ParsedEvent[] parsedEvents = ParsedEvent.parseEventPacket(event); in receiveAndCheckExceptionEvent() 55 ParsedEvent.Event_EXCEPTION exceptionEvent = (ParsedEvent.Event_EXCEPTION) parsedEvents[0]; in receiveAndCheckExceptionEvent()
|
D | MonitorContendedEnterTest.java | 24 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent; 25 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent.Event_MONITOR_CONTENDED_ENTER; 60 ParsedEvent[] parsedEvents = ParsedEvent.parseEventPacket(receiveEvent); in verifyEvent() 61 … Event_MONITOR_CONTENDED_ENTER event = (ParsedEvent.Event_MONITOR_CONTENDED_ENTER)parsedEvents[0]; in verifyEvent()
|
D | MonitorContendedEnteredTest.java | 24 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent; 25 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent.Event_MONITOR_CONTENDED_ENTERED; 60 ParsedEvent[] parsedEvents = ParsedEvent.parseEventPacket(receiveEvent); in verifyEvent() 61 …Event_MONITOR_CONTENDED_ENTERED event = (ParsedEvent.Event_MONITOR_CONTENDED_ENTERED)parsedEvents[… in verifyEvent()
|
D | SingleStepThroughReflectionTest.java | 28 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent; 29 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent.EventThreadLocation; 114 ParsedEvent parsedEvent = waitForSingleStepEvent(stepRequestID); in testSingleStepIntoThroughReflection() 145 private ParsedEvent waitForSingleStepEvent(int requestID) { in waitForSingleStepEvent() 148 ParsedEvent[] parsedEvents = ParsedEvent.parseEventPacket(event); in waitForSingleStepEvent() 165 ParsedEvent parsedEvent = parsedEvents[0]; in waitForSingleStepEvent()
|
D | CombinedExceptionEventsTest.java | 23 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent; 117 ParsedEvent[] parsedEvents = ParsedEvent.parseEventPacket(event); in runCombinedExceptionEventsTest() 124 ParsedEvent parsedEvent = parsedEvents[i]; in runCombinedExceptionEventsTest() 136 ParsedEvent.Event_EXCEPTION exceptionEvent = (ParsedEvent.Event_EXCEPTION) parsedEvent; in runCombinedExceptionEventsTest()
|
D | ExceptionWithLocationTest.java | 24 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent; 77 protected void checkEvent(ParsedEvent event) { in checkEvent() 78 ParsedEvent.Event_EXCEPTION eventException = in checkEvent() 79 (ParsedEvent.Event_EXCEPTION) event; in checkEvent()
|
D | MethodEntryTest.java | 30 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent; 32 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent.EventThread; 65 ParsedEvent[] parsedEvents = ParsedEvent.parseEventPacket(event); in testMethodEntry()
|
D | MethodExitTest.java | 30 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent; 32 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent.EventThread; 65 ParsedEvent[] parsedEvents = ParsedEvent.parseEventPacket(event); in testMethodExit()
|
D | CombinedEvents003Test.java | 33 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent; 189 ParsedEvent[] parsedEvents = ParsedEvent.parseEventPacket(event); in receiveAndCheckEvents() 281 long eventThreadID = ((ParsedEvent.EventThread)parsedEvents[i]).getThreadID(); in receiveAndCheckEvents() 290 … eventLocation = ((ParsedEvent.Event_METHOD_ENTRY)parsedEvents[i]).getLocation(); in receiveAndCheckEvents() 293 … eventLocation = ((ParsedEvent.Event_SINGLE_STEP)parsedEvents[i]).getLocation(); in receiveAndCheckEvents() 296 … eventLocation = ((ParsedEvent.Event_BREAKPOINT)parsedEvents[i]).getLocation(); in receiveAndCheckEvents() 299 … eventLocation = ((ParsedEvent.Event_METHOD_EXIT)parsedEvents[i]).getLocation(); in receiveAndCheckEvents() 359 ParsedEvent[] parsedEvents = ParsedEvent.parseEventPacket(event); in checkVMDeathEvent()
|
D | MonitorWaitedTest.java | 24 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent; 25 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent.Event_MONITOR_WAITED; 115 ParsedEvent[] parsedEvents = ParsedEvent.parseEventPacket(receiveEvent); in verifyEvent() 116 Event_MONITOR_WAITED event = (ParsedEvent.Event_MONITOR_WAITED)parsedEvents[0]; in verifyEvent()
|
D | BreakpointTest.java | 32 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent; 33 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent.EventThread; 68 ParsedEvent[] parsedEvents = ParsedEvent.parseEventPacket(event); in testSetBreakpointEvent()
|
D | ExceptionUncaughtTest.java | 23 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent; 53 ParsedEvent.Event_EXCEPTION exceptionEvent = requestAndReceiveExceptionEvent(); in testExceptionUncaughtEvent_ExceptionObject() 91 ParsedEvent.Event_EXCEPTION exceptionEvent = requestAndReceiveExceptionEvent(); in testExceptionUncaughtEvent_ThrowLocation() 145 ParsedEvent.Event_EXCEPTION exceptionEvent = requestAndReceiveExceptionEvent(); in testExceptionUncaughtEvent_CatchLocation() 184 private ParsedEvent.Event_EXCEPTION requestAndReceiveExceptionEvent() { in requestAndReceiveExceptionEvent()
|
D | EventLocationEventTestCase.java | 26 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent; 43 protected abstract void checkEvent(ParsedEvent event); in checkEvent() 56 ParsedEvent[] parsedEvents = ParsedEvent.parseEventPacket(event); in runEventWithLocationTest() 61 ParsedEvent parsedEvent = parsedEvents[0]; in runEventWithLocationTest()
|
D | FieldWithLocationTest.java | 23 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent; 99 protected void checkEvent(ParsedEvent event) { in checkEvent() 103 accessedField = ((ParsedEvent.Event_FIELD_ACCESS)event).getObject(); in checkEvent() 105 accessedField = ((ParsedEvent.Event_FIELD_MODIFICATION)event).getObject(); in checkEvent()
|
D | FieldModification002Test.java | 30 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent; 110 ParsedEvent[] parsedEvents = ParsedEvent.parseEventPacket(event); in hookFieldModification() 121 ((ParsedEvent.Event_FIELD_MODIFICATION)parsedEvents[0]).getValueToBe(); in hookFieldModification() 130 ((ParsedEvent.Event_FIELD_MODIFICATION)parsedEvents[0]).getObject(); in hookFieldModification()
|
D | ThreadEndTest.java | 32 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent; 34 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent.*; 76 ParsedEvent[] parsedEvents = ParsedEvent.parseEventPacket(event); in testThreadEndEvent001()
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/ |
D | ParsedEvent.java | 33 public class ParsedEvent { class 44 protected ParsedEvent(byte suspendPolicy, Packet packet, byte eventKind) { in ParsedEvent() method in ParsedEvent 78 public static class EventThread extends ParsedEvent { 474 public static final class Event_CLASS_UNLOAD extends ParsedEvent { 622 public static final class Event_VM_DEATH extends ParsedEvent { 640 public static ParsedEvent[] parseEventPacket(Packet packet) { in parseEventPacket() 650 ParsedEvent[] events = new ParsedEvent[eventCount]; in parseEventPacket()
|