/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/ |
D | Resume002Test.java | 91 long eventThreadID = debuggeeWrapper.vmMirror.waitForBreakpoint(requestID); in waitBreakpointHits() local 92 String threadName = debuggeeWrapper.vmMirror.getThreadName(eventThreadID); in waitBreakpointHits() 94 checkThreadSuspendStatus(eventThreadID); in waitBreakpointHits() 95 checkThreadSuspendCount(eventThreadID); in waitBreakpointHits() 99 private void checkThreadSuspendStatus(long eventThreadID) { in checkThreadSuspendStatus() argument 104 packet.setNextValueAsThreadID(eventThreadID); in checkThreadSuspendStatus() 113 assertEquals("Invalid suspend status for thread " + eventThreadID, in checkThreadSuspendStatus() 118 private void checkThreadSuspendCount(long eventThreadID) { in checkThreadSuspendCount() argument 123 packet.setNextValueAsThreadID(eventThreadID); in checkThreadSuspendCount() 131 assertEquals("Invalid suspend count for thread " + eventThreadID, 1, suspendCount); in checkThreadSuspendCount()
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/StackFrame/ |
D | JDWPStackFrameAccessTest.java | 172 long eventThreadID = suspendDebuggee(); in runStackFrameTest() local 175 checkStackFrame(classID, eventThreadID, tester, suspensionMethodInfo, true); in runStackFrameTest() 178 resumeTest(eventThreadID); in runStackFrameTest() 181 eventThreadID = suspendDebuggee(); in runStackFrameTest() 184 checkStackFrame(classID, eventThreadID, tester, suspensionMethodInfo, false); in runStackFrameTest() 186 resumeTest(eventThreadID); in runStackFrameTest() 230 private void checkStackFrame(long classID, long eventThreadID, StackFrameTester tester, in checkStackFrame() argument 242 FrameInfo testMethodFrame = getFrameInfo(eventThreadID, classID, testMethodID); in checkStackFrame() 266 Value actual = getVariableValue(eventThreadID, testMethodFrame.frameID, in checkStackFrame() 275 setVariableValue(eventThreadID, testMethodFrame.frameID, in checkStackFrame() [all …]
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/ |
D | CombinedExceptionEventsTest.java | 121 long eventThreadID = -1; in runCombinedExceptionEventsTest() local 142 if (eventThreadID != -1) { in runCombinedExceptionEventsTest() 143 assertEquals("Invalid event thread ID", eventThreadID, in runCombinedExceptionEventsTest() 146 eventThreadID = currentEventThreadID; in runCombinedExceptionEventsTest() 156 checkThreadState(eventThreadID, JDWPConstants.ThreadStatus.RUNNING, in runCombinedExceptionEventsTest()
|
D | CombinedEventsTestCase.java | 200 long eventThreadID = 0; in checkEventLocation() local 205 eventThreadID = ((ParsedEvent.EventThread)parsedEvent).getThreadID(); in checkEventLocation() 209 eventThreadID = ((ParsedEvent.EventThread)parsedEvent).getThreadID(); in checkEventLocation() 213 eventThreadID = ((ParsedEvent.EventThread)parsedEvent).getThreadID(); in checkEventLocation() 217 eventThreadID = ((ParsedEvent.EventThread)parsedEvent).getThreadID(); in checkEventLocation() 222 eventThreadID = ((ParsedEvent.EventThread)parsedEvent).getThreadID(); in checkEventLocation() 237 + eventThreadID); in checkEventLocation()
|
D | Breakpoint002Test.java | 168 long eventThreadID = debuggeeWrapper.vmMirror.waitForBreakpoint(breakpointReqID); in testBreakpointIn() local 169 checkThreadState(eventThreadID, JDWPConstants.ThreadStatus.RUNNING, in testBreakpointIn()
|
D | MethodEntryTest.java | 74 long eventThreadID = ((EventThread) parsedEvents[0]).getThreadID(); in testMethodEntry() local 75 checkThreadState(eventThreadID, JDWPConstants.ThreadStatus.RUNNING, in testMethodEntry()
|
D | MethodExitTest.java | 74 long eventThreadID = ((EventThread) parsedEvents[0]).getThreadID(); in testMethodExit() local 75 checkThreadState(eventThreadID, JDWPConstants.ThreadStatus.RUNNING, in testMethodExit()
|
D | BreakpointTest.java | 78 long eventThreadID = ((EventThread) parsedEvents[0]).getThreadID(); in testSetBreakpointEvent() local 79 checkThreadState(eventThreadID, JDWPConstants.ThreadStatus.RUNNING, in testSetBreakpointEvent()
|
D | FieldAccessTest.java | 73 long eventThreadID = ((EventThread) parsedEvents[0]).getThreadID(); in testFieldAccessEvent() local 74 checkThreadState(eventThreadID, JDWPConstants.ThreadStatus.RUNNING, in testFieldAccessEvent()
|
D | FieldModificationTest.java | 73 long eventThreadID = ((EventThread) parsedEvents[0]).getThreadID(); in testFieldModifyEvent() local 74 checkThreadState(eventThreadID, JDWPConstants.ThreadStatus.RUNNING, in testFieldModifyEvent()
|
D | BreakpointOnCatchTest.java | 90 long eventThreadID = ((EventThread) parsedEvents[0]).getThreadID(); in testBreakpointOnCatch() local 91 checkThreadState(eventThreadID, JDWPConstants.ThreadStatus.RUNNING, in testBreakpointOnCatch()
|
D | ExceptionBaseTest.java | 57 long eventThreadID = exceptionEvent.getThreadID(); in receiveAndCheckExceptionEvent() local 58 checkThreadState(eventThreadID, JDWPConstants.ThreadStatus.RUNNING, in receiveAndCheckExceptionEvent()
|
D | SingleStepTest.java | 179 long eventThreadID = ((EventThread) parsedEvents[0]).getThreadID(); in stepFunction() local 180 checkThreadState(eventThreadID, JDWPConstants.ThreadStatus.RUNNING, in stepFunction()
|
D | MethodExitWithReturnValueTest.java | 190 long eventThreadID = ((EventThread) parsedEvents[0]).getThreadID(); in runMethodExitWithReturn() local 191 checkThreadState(eventThreadID, JDWPConstants.ThreadStatus.RUNNING, in runMethodExitWithReturn()
|
D | CombinedEvents003Test.java | 281 long eventThreadID = ((ParsedEvent.EventThread)parsedEvents[i]).getThreadID(); in receiveAndCheckEvents() local 286 + eventThreadID); in receiveAndCheckEvents()
|
D | CombinedEventsTest.java | 1007 long eventThreadID = ((ParsedEvent.EventThread)parsedEvents[i]).getThreadID(); in receiveAndCheckEvents() local 1012 + eventThreadID); in receiveAndCheckEvents()
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/ |
D | JDWPTestCase.java | 607 protected void checkThreadState(long eventThreadID, byte expectedThreadStatus, in checkThreadState() argument 612 commandPacket.setNextValueAsThreadID(eventThreadID); in checkThreadState()
|