/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 | 173 long eventThreadID = suspendDebuggee(); in runStackFrameTest() local 176 checkStackFrame(classID, eventThreadID, tester, suspensionMethodInfo, true); in runStackFrameTest() 179 resumeTest(eventThreadID); in runStackFrameTest() 182 eventThreadID = suspendDebuggee(); in runStackFrameTest() 185 checkStackFrame(classID, eventThreadID, tester, suspensionMethodInfo, false); in runStackFrameTest() 187 resumeTest(eventThreadID); in runStackFrameTest() 231 private void checkStackFrame(long classID, long eventThreadID, StackFrameTester tester, in checkStackFrame() argument 243 FrameInfo testMethodFrame = getFrameInfo(eventThreadID, classID, testMethodID); in checkStackFrame() 267 Value actual = getVariableValue(eventThreadID, testMethodFrame.frameID, in checkStackFrame() 276 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 | Breakpoint003Test.java | 76 long eventThreadID = debuggeeWrapper.vmMirror.waitForBreakpoint(breakpointReqID); in test() local 77 checkThreadState(eventThreadID, JDWPConstants.ThreadStatus.RUNNING, in test() 84 packet.setNextValueAsThreadID(eventThreadID); in test() 100 packet.setNextValueAsThreadID(eventThreadID); in test()
|
D | Breakpoint002Test.java | 168 long eventThreadID = debuggeeWrapper.vmMirror.waitForBreakpoint(breakpointReqID); in testBreakpointIn() local 169 checkThreadState(eventThreadID, JDWPConstants.ThreadStatus.RUNNING, in testBreakpointIn()
|
D | BreakpointTest.java | 76 long eventThreadID = ((EventThread) parsedEvents[0]).getThreadID(); in testSetBreakpointEvent() local 77 checkThreadState(eventThreadID, JDWPConstants.ThreadStatus.RUNNING, in testSetBreakpointEvent()
|
D | MethodExitTest.java | 75 long eventThreadID = ((EventThread) parsedEvents[0]).getThreadID(); in testMethodExit() local 76 checkThreadState(eventThreadID, JDWPConstants.ThreadStatus.RUNNING, in testMethodExit()
|
D | MethodEntryTest.java | 75 long eventThreadID = ((EventThread) parsedEvents[0]).getThreadID(); in testMethodEntry() local 76 checkThreadState(eventThreadID, JDWPConstants.ThreadStatus.RUNNING, in testMethodEntry()
|
D | FieldModificationTest.java | 74 long eventThreadID = ((EventThread) parsedEvents[0]).getThreadID(); in testFieldModifyEvent() local 75 checkThreadState(eventThreadID, JDWPConstants.ThreadStatus.RUNNING, in testFieldModifyEvent()
|
D | FieldAccessTest.java | 74 long eventThreadID = ((EventThread) parsedEvents[0]).getThreadID(); in testFieldAccessEvent() local 75 checkThreadState(eventThreadID, JDWPConstants.ThreadStatus.RUNNING, in testFieldAccessEvent()
|
D | BreakpointOnCatchTest.java | 89 long eventThreadID = ((EventThread) parsedEvents[0]).getThreadID(); in testBreakpointOnCatch() local 90 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 | 175 long eventThreadID = ((EventThread) parsedEvents[0]).getThreadID(); in stepFunction() local 176 checkThreadState(eventThreadID, JDWPConstants.ThreadStatus.RUNNING, in stepFunction()
|
D | MethodExitWithReturnValueTest.java | 191 long eventThreadID = ((EventThread) parsedEvents[0]).getThreadID(); in runMethodExitWithReturn() local 192 checkThreadState(eventThreadID, JDWPConstants.ThreadStatus.RUNNING, in runMethodExitWithReturn()
|
D | CombinedEvents003Test.java | 280 long eventThreadID = ((ParsedEvent.EventThread)parsedEvents[i]).getThreadID(); in receiveAndCheckEvents() local 285 + eventThreadID); in receiveAndCheckEvents()
|
D | CombinedEventsTest.java | 1006 long eventThreadID = ((ParsedEvent.EventThread)parsedEvents[i]).getThreadID(); in receiveAndCheckEvents() local 1011 + eventThreadID); in receiveAndCheckEvents()
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/ |
D | JDWPTestCase.java | 554 protected void checkThreadState(long eventThreadID, byte expectedThreadStatus, in checkThreadState() argument 559 commandPacket.setNextValueAsThreadID(eventThreadID); in checkThreadState()
|