/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/ |
D | ParsedEvent.java | 176 super(suspendPolicy, packet, JDWPConstants.EventKind.VM_START); in Event_VM_START() 192 super(suspendPolicy, packet, JDWPConstants.EventKind.SINGLE_STEP); in Event_SINGLE_STEP() 208 super(suspendPolicy, packet, JDWPConstants.EventKind.BREAKPOINT); in Event_BREAKPOINT() 224 super(suspendPolicy, packet, JDWPConstants.EventKind.METHOD_ENTRY); in Event_METHOD_ENTRY() 240 super(suspendPolicy, packet, JDWPConstants.EventKind.METHOD_EXIT); in Event_METHOD_EXIT() 258 super(suspendPolicy, packet, JDWPConstants.EventKind.METHOD_EXIT_WITH_RETURN_VALUE); in Event_METHOD_EXIT_WITH_RETURN_VALUE() 279 super(suspendPolicy, packet, JDWPConstants.EventKind.MONITOR_CONTENDED_ENTER); in Event_MONITOR_CONTENDED_ENTER() 296 super(suspendPolicy, packet, JDWPConstants.EventKind.MONITOR_CONTENDED_ENTERED); in Event_MONITOR_CONTENDED_ENTERED() 315 super(suspendPolicy, packet, JDWPConstants.EventKind.MONITOR_WAIT); in Event_MONITOR_WAIT() 338 super(suspendPolicy, packet, JDWPConstants.EventKind.MONITOR_WAITED); in Event_MONITOR_WAITED() [all …]
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/ |
D | EventWithExceptionTest.java | 83 ParsedEvent exceptionEvent = waitForEvent(JDWPConstants.EventKind.EXCEPTION, in testBreakpoint_BeforeException() 91 clearEvent(JDWPConstants.EventKind.EXCEPTION, exceptionRequestId, true); in testBreakpoint_BeforeException() 106 ParsedEvent breakpointEvent = waitForEvent(JDWPConstants.EventKind.BREAKPOINT, in testBreakpoint_BeforeException() 114 clearEvent(JDWPConstants.EventKind.BREAKPOINT, breakpointRequestId, true); in testBreakpoint_BeforeException() 142 ParsedEvent exceptionEvent = waitForEvent(JDWPConstants.EventKind.EXCEPTION, in testBreakpoint_UponException() 158 waitForEvent(JDWPConstants.EventKind.EXCEPTION, exceptionRequestId); in testBreakpoint_UponException() 166 ParsedEvent breakpointEvent = waitForEvent(JDWPConstants.EventKind.BREAKPOINT, in testBreakpoint_UponException() 174 clearEvent(JDWPConstants.EventKind.BREAKPOINT, breakpointRequestId, true); in testBreakpoint_UponException() 190 runFieldWatchpointTest(JDWPConstants.EventKind.FIELD_ACCESS); in testFieldAccess() 197 runFieldWatchpointTest(JDWPConstants.EventKind.FIELD_MODIFICATION); in testFieldModification() [all …]
|
D | ClassPrepareTest.java | 68 …assertEquals("Invalid event kind,", JDWPConstants.EventKind.CLASS_PREPARE, parsedEvents[0].getEven… in testClassPrepareEvent() 69 , JDWPConstants.EventKind.getName(JDWPConstants.EventKind.CLASS_PREPARE) in testClassPrepareEvent() 70 , JDWPConstants.EventKind.getName(parsedEvents[0].getEventKind())); in testClassPrepareEvent() 106 …assertEquals("Invalid event kind,", JDWPConstants.EventKind.CLASS_PREPARE, parsedEvents[0].getEven… in testClassPrepareEventWithoutSourceDebugExtension() 107 , JDWPConstants.EventKind.getName(JDWPConstants.EventKind.CLASS_PREPARE) in testClassPrepareEventWithoutSourceDebugExtension() 108 , JDWPConstants.EventKind.getName(parsedEvents[0].getEventKind())); in testClassPrepareEventWithoutSourceDebugExtension() 174 …assertEquals("Invalid event kind,", JDWPConstants.EventKind.CLASS_PREPARE, parsedEvents[0].getEven… in testClassPrepareEventWithSourceDebugExtension() 175 , JDWPConstants.EventKind.getName(JDWPConstants.EventKind.CLASS_PREPARE) in testClassPrepareEventWithSourceDebugExtension() 176 , JDWPConstants.EventKind.getName(parsedEvents[0].getEventKind())); in testClassPrepareEventWithSourceDebugExtension()
|
D | CombinedEventsTest.java | 76 JDWPConstants.EventKind.METHOD_ENTRY, in testCombinedEvents_01() 77 JDWPConstants.EventKind.SINGLE_STEP, in testCombinedEvents_01() 78 JDWPConstants.EventKind.BREAKPOINT, in testCombinedEvents_01() 133 .setNextValueAsByte(JDWPConstants.EventKind.SINGLE_STEP); in testCombinedEvents_01() 166 JDWPConstants.EventKind.METHOD_ENTRY, methodEntryRequestID); in testCombinedEvents_01() 172 JDWPConstants.EventKind.SINGLE_STEP, stepRequestID); in testCombinedEvents_01() 203 JDWPConstants.EventKind.SINGLE_STEP, in testCombinedEvents_02() 204 JDWPConstants.EventKind.BREAKPOINT, in testCombinedEvents_02() 205 JDWPConstants.EventKind.METHOD_EXIT, in testCombinedEvents_02() 268 .setNextValueAsByte(JDWPConstants.EventKind.SINGLE_STEP); in testCombinedEvents_02() [all …]
|
D | CombinedEvents003Test.java | 67 byte[] EXPECTED_EVENTS_ARRAY = { JDWPConstants.EventKind.METHOD_ENTRY, in testCombinedEvents003_01() 68 JDWPConstants.EventKind.BREAKPOINT, in testCombinedEvents003_01() 69 JDWPConstants.EventKind.SINGLE_STEP, in testCombinedEvents003_01() 70 JDWPConstants.EventKind.METHOD_EXIT}; in testCombinedEvents003_01() 134 .setNextValueAsByte(JDWPConstants.EventKind.SINGLE_STEP); in testCombinedEvents003_01() 165 JDWPConstants.EventKind.METHOD_ENTRY, methodEntryRequestID); in testCombinedEvents003_01() 171 JDWPConstants.EventKind.SINGLE_STEP, stepRequestID); in testCombinedEvents003_01() 201 + JDWPConstants.EventKind.getName(parsedEvents[i] in receiveAndCheckEvents() 205 if ( parsedEvents[i].getEventKind() == JDWPConstants.EventKind.VM_DEATH ) { in receiveAndCheckEvents() 258 + JDWPConstants.EventKind in receiveAndCheckEvents() [all …]
|
D | CombinedEvents002Test.java | 72 JDWPConstants.EventKind.METHOD_ENTRY, in testCombinedEvents002_01() 73 JDWPConstants.EventKind.METHOD_EXIT in testCombinedEvents002_01() 86 JDWPConstants.EventKind.METHOD_ENTRY, in testCombinedEvents002_02() 87 JDWPConstants.EventKind.METHOD_EXIT_WITH_RETURN_VALUE in testCombinedEvents002_02() 148 String eventKindName = JDWPConstants.EventKind.getName(eventKind); in prepareDebuggee() 154 case JDWPConstants.EventKind.METHOD_ENTRY: in prepareDebuggee() 157 case JDWPConstants.EventKind.METHOD_EXIT: in prepareDebuggee() 160 case JDWPConstants.EventKind.METHOD_EXIT_WITH_RETURN_VALUE: in prepareDebuggee() 197 + "(" + JDWPConstants.EventKind.getName(eventKind) + ")"); in receiveEvents() 220 + "(" + JDWPConstants.EventKind.getName(eventKind) + ")"); in receiveEvents() [all …]
|
D | MethodExitWithReturnValueTest.java | 69 JDWPConstants.EventKind.METHOD_EXIT, in testMethodExitWithReturnValueException() 71 JDWPConstants.EventKind.getName(JDWPConstants.EventKind.METHOD_EXIT), in testMethodExitWithReturnValueException() 72 JDWPConstants.EventKind.getName(event.getEventKind())); in testMethodExitWithReturnValueException() 184 JDWPConstants.EventKind.METHOD_EXIT_WITH_RETURN_VALUE, in runMethodExitWithReturn() 186 JDWPConstants.EventKind in runMethodExitWithReturn() 187 .getName(JDWPConstants.EventKind.METHOD_EXIT_WITH_RETURN_VALUE), in runMethodExitWithReturn() 188 JDWPConstants.EventKind.getName(parsedEvents[0].getEventKind())); in runMethodExitWithReturn() 189 …logWriter.println("==> CHECK: received event's type is " + JDWPConstants.EventKind.METHOD_EXIT_WIT… in runMethodExitWithReturn()
|
D | MonitorContendedEnteredTest.java | 65 …assertEquals("Invalid event kind,", JDWPConstants.EventKind.MONITOR_CONTENDED_ENTERED, event.getEv… in verifyEvent() 66 , JDWPConstants.EventKind.getName(JDWPConstants.EventKind.MONITOR_CONTENDED_ENTERED) in verifyEvent() 67 , JDWPConstants.EventKind.getName(event.getEventKind())); in verifyEvent() 68 …riter.println("==> CHECK: Event Kind: " + JDWPConstants.EventKind.getName(JDWPConstants.EventKind.… in verifyEvent()
|
D | MonitorContendedEnterTest.java | 65 …assertEquals("Invalid event kind,", JDWPConstants.EventKind.MONITOR_CONTENDED_ENTER, event.getEven… in verifyEvent() 66 , JDWPConstants.EventKind.getName(JDWPConstants.EventKind.MONITOR_CONTENDED_ENTER) in verifyEvent() 67 , JDWPConstants.EventKind.getName(event.getEventKind())); in verifyEvent() 68 …riter.println("==> CHECK: Event Kind: " + JDWPConstants.EventKind.getName(JDWPConstants.EventKind.… in verifyEvent()
|
D | SingleStepTest.java | 134 .setNextValueAsByte(JDWPConstants.EventKind.SINGLE_STEP); in stepFunction() 168 + JDWPConstants.EventKind.getName(parsedEvents[i].getEventKind()) + ")"); in stepFunction() 175 assertEquals("Invalid event kind,", JDWPConstants.EventKind.SINGLE_STEP, in stepFunction() 177 JDWPConstants.EventKind.getName(JDWPConstants.EventKind.SINGLE_STEP), in stepFunction() 178 JDWPConstants.EventKind.getName(parsedEvents[0].getEventKind())); in stepFunction() 187 debuggeeWrapper.vmMirror.clearEvent(JDWPConstants.EventKind.SINGLE_STEP, requestID); in stepFunction()
|
D | SingleStepWithPendingExceptionTest.java | 68 debuggeeWrapper.vmMirror.receiveCertainEvent(JDWPConstants.EventKind.EXCEPTION); in testSingleStepWithPendingException() 72 JDWPConstants.EventKind.EXCEPTION); in testSingleStepWithPendingException() 80 clearEvent(JDWPConstants.EventKind.EXCEPTION, exceptionRequestId, true); in testSingleStepWithPendingException() 100 debuggeeWrapper.vmMirror.receiveCertainEvent(JDWPConstants.EventKind.SINGLE_STEP); in testSingleStepWithPendingException() 104 JDWPConstants.EventKind.SINGLE_STEP); in testSingleStepWithPendingException() 115 clearEvent(JDWPConstants.EventKind.SINGLE_STEP, singleStepRequestId, true); in testSingleStepWithPendingException()
|
D | ThreadEndTest.java | 73 + " (" + JDWPConstants.EventKind.getName(parsedEvents[0].getEventKind()) + ")"); in testThreadEndEvent001() 75 JDWPConstants.EventKind.THREAD_END, in testThreadEndEvent001() 77 JDWPConstants.EventKind.getName(JDWPConstants.EventKind.THREAD_END), in testThreadEndEvent001() 78 JDWPConstants.EventKind.getName(parsedEvents[0].getEventKind())); in testThreadEndEvent001()
|
D | MonitorWaitedTest.java | 121 …assertEquals("Invalid event kind,", JDWPConstants.EventKind.MONITOR_WAITED, parsedEvents[0].getEve… in verifyEvent() 122 , JDWPConstants.EventKind.getName(JDWPConstants.EventKind.MONITOR_WAITED) in verifyEvent() 123 , JDWPConstants.EventKind.getName(parsedEvents[0].getEventKind())); in verifyEvent() 124 …riter.println("==> CHECK: Event Kind: " + JDWPConstants.EventKind.getName(JDWPConstants.EventKind.… in verifyEvent()
|
D | MonitorWaitTest.java | 121 …assertEquals("Invalid event kind,", JDWPConstants.EventKind.MONITOR_WAIT, parsedEvents[0].getEvent… in verifyEvent() 122 , JDWPConstants.EventKind.getName(JDWPConstants.EventKind.MONITOR_WAIT) in verifyEvent() 123 , JDWPConstants.EventKind.getName(parsedEvents[0].getEventKind())); in verifyEvent() 124 …riter.println("==> CHECK: Event Kind: " + JDWPConstants.EventKind.getName(JDWPConstants.EventKind.… in verifyEvent()
|
D | SingleStepWithLocationTest.java | 106 JDWPConstants.EventKind.SINGLE_STEP); in testSingleStepToLocation() 140 + JDWPConstants.EventKind.getName(parsedEvents[i].getEventKind()) + ")"); in testSingleStepToLocation() 147 assertEquals("Invalid event kind,", JDWPConstants.EventKind.SINGLE_STEP, in testSingleStepToLocation() 149 JDWPConstants.EventKind.getName(JDWPConstants.EventKind.SINGLE_STEP), in testSingleStepToLocation() 150 JDWPConstants.EventKind.getName(parsedEvents[0].getEventKind())); in testSingleStepToLocation() 155 … debuggeeWrapper.vmMirror.clearEvent(JDWPConstants.EventKind.SINGLE_STEP, (int) requestID); in testSingleStepToLocation()
|
D | ThreadStartTest.java | 79 + " (" + JDWPConstants.EventKind.getName(parsedEvents[0].getEventKind()) + ")"); in testThreadStartEvent001() 81 JDWPConstants.EventKind.THREAD_START, in testThreadStartEvent001() 83 JDWPConstants.EventKind.getName(JDWPConstants.EventKind.THREAD_START), in testThreadStartEvent001() 84 JDWPConstants.EventKind.getName(parsedEvents[0].getEventKind())); in testThreadStartEvent001()
|
D | FieldWithLocationTest.java | 102 if (fieldEventKind == JDWPConstants.EventKind.FIELD_ACCESS) { in checkEvent() 104 } else if (fieldEventKind == JDWPConstants.EventKind.FIELD_MODIFICATION) { in checkEvent() 108 "Unexpected event " + JDWPConstants.EventKind.getName(fieldEventKind)); in checkEvent() 124 return modification ? JDWPConstants.EventKind.FIELD_MODIFICATION : in getFieldEventKind() 125 JDWPConstants.EventKind.FIELD_ACCESS; in getFieldEventKind()
|
D | VMDeathTest.java | 57 JDWPConstants.EventKind.VM_DEATH, in testVMDeathEvent() 59 JDWPConstants.EventKind.getName(JDWPConstants.EventKind.VM_DEATH), in testVMDeathEvent() 60 JDWPConstants.EventKind.getName(parsedEvents[0].getEventKind())); in testVMDeathEvent()
|
D | SingleStepThroughReflectionTest.java | 93 .setNextValueAsByte(JDWPConstants.EventKind.SINGLE_STEP); in testSingleStepIntoThroughReflection() 158 + JDWPConstants.EventKind.getName(parsedEvents[i].getEventKind()) + ")"); in waitForSingleStepEvent() 168 assertEquals("Invalid event kind,", JDWPConstants.EventKind.SINGLE_STEP, in waitForSingleStepEvent() 170 JDWPConstants.EventKind.getName(JDWPConstants.EventKind.SINGLE_STEP), in waitForSingleStepEvent() 171 JDWPConstants.EventKind.getName(parsedEvent.getEventKind())); in waitForSingleStepEvent() 179 debuggeeWrapper.vmMirror.clearEvent(JDWPConstants.EventKind.SINGLE_STEP, in clearSingleStep()
|
D | BreakpointTest.java | 70 JDWPConstants.EventKind.BREAKPOINT, in testSetBreakpointEvent() 72 JDWPConstants.EventKind.getName(JDWPConstants.EventKind.BREAKPOINT), in testSetBreakpointEvent() 73 JDWPConstants.EventKind.getName(parsedEvents[0].getEventKind())); in testSetBreakpointEvent()
|
D | MethodEntryTest.java | 70 JDWPConstants.EventKind.METHOD_ENTRY, in testMethodEntry() 72 JDWPConstants.EventKind.getName(JDWPConstants.EventKind.METHOD_ENTRY), in testMethodEntry() 73 JDWPConstants.EventKind.getName(parsedEvents[0].getEventKind())); in testMethodEntry()
|
D | MethodExitTest.java | 70 JDWPConstants.EventKind.METHOD_EXIT, in testMethodExit() 72 JDWPConstants.EventKind.getName(JDWPConstants.EventKind.METHOD_EXIT), in testMethodExit() 73 JDWPConstants.EventKind.getName(parsedEvents[0].getEventKind())); in testMethodExit()
|
D | ClassUnloadTest.java | 99 … reply = debuggeeWrapper.vmMirror.clearEvent(JDWPConstants.EventKind.CLASS_UNLOAD, requestID); in testClassUnloadEvent() 115 assertEquals("Invalid event kind,", JDWPConstants.EventKind.CLASS_UNLOAD in testClassUnloadEvent() 117 , JDWPConstants.EventKind.getName(JDWPConstants.EventKind.CLASS_UNLOAD) in testClassUnloadEvent() 118 , JDWPConstants.EventKind.getName(parsedEvents[0].getEventKind())); in testClassUnloadEvent()
|
D | ExceptionBaseTest.java | 49 JDWPConstants.EventKind.EXCEPTION, in receiveAndCheckExceptionEvent() 51 JDWPConstants.EventKind.getName(JDWPConstants.EventKind.EXCEPTION), in receiveAndCheckExceptionEvent() 52 JDWPConstants.EventKind.getName(parsedEvents[0].getEventKind())); in receiveAndCheckExceptionEvent() 62 debuggeeWrapper.vmMirror.clearEvent(JDWPConstants.EventKind.EXCEPTION, requestID); in receiveAndCheckExceptionEvent()
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/EventModifiers/ |
D | JDWPEventModifierTestCase.java | 62 byte eventKind = JDWPConstants.EventKind.BREAKPOINT; in createBreakpointEventBuilder() 78 byte eventKind = JDWPConstants.EventKind.EXCEPTION; in createExceptionEventBuilder() 96 return Event.builder(JDWPConstants.EventKind.METHOD_ENTRY, TEST_SUSPEND_POLICY) in createMethodEntryEventBuilder() 109 return Event.builder(JDWPConstants.EventKind.METHOD_EXIT, TEST_SUSPEND_POLICY) in createMethodExitEventBuilder() 123 .builder(JDWPConstants.EventKind.METHOD_EXIT_WITH_RETURN_VALUE, TEST_SUSPEND_POLICY) in createMethodExitWithReturnValueEventBuilder() 133 return Event.builder(JDWPConstants.EventKind.THREAD_START, TEST_SUSPEND_POLICY); in createThreadStartBuilder() 142 return Event.builder(JDWPConstants.EventKind.THREAD_END, TEST_SUSPEND_POLICY); in createThreadEndBuilder() 179 eventKind = JDWPConstants.EventKind.FIELD_MODIFICATION; in createFieldEventBuilder() 181 eventKind = JDWPConstants.EventKind.FIELD_ACCESS; in createFieldEventBuilder() 198 String eventName = JDWPConstants.EventKind.getName(event.eventKind); in requestEvent() [all …]
|