Home
last modified time | relevance | path

Searched refs:checkedReply (Results 1 – 25 of 35) sorted by relevance

12

/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ReferenceType/
DInstancesTest.java93 ReplyPacket checkedReply = debuggeeWrapper.vmMirror in runTestInstances() local
97 short errorCode = checkedReply.getErrorCode(); in runTestInstances()
113 int reachableInstancesNum = checkedReply.getNextValueAsInt(); in runTestInstances()
121 byte tag = checkedReply.getNextValueAsByte(); in runTestInstances()
125 long objectID = checkedReply.getNextValueAsObjectID(); in runTestInstances()
140 assertAllDataRead(checkedReply); in runTestInstances()
224 ReplyPacket checkedReply = debuggeeWrapper.vmMirror in testInstances_String() local
227 checkReplyPacket(checkedReply, thisTestName); in testInstances_String()
230 int reachableInstancesNum = checkedReply.getNextValueAsInt(); in testInstances_String()
234 byte tag = checkedReply.getNextValueAsByte(); in testInstances_String()
[all …]
DNestedTypesTest.java74 ReplyPacket checkedReply = in testNestedTypes001() local
77 checkReplyPacket(checkedReply, thisCommandName); in testNestedTypes001()
79 int returnedNestedTypesNumber = checkedReply.getNextValueAsInt(); in testNestedTypes001()
107 byte returnedRefTypeTag = checkedReply.getNextValueAsByte(); in testNestedTypes001()
110 long returnedRefTypeID = checkedReply.getNextValueAsReferenceTypeID(); in testNestedTypes001()
173 assertAllDataRead(checkedReply); in testNestedTypes001()
DInterfacesTest.java73 ReplyPacket checkedReply = in testInterfaces001() local
76 checkReplyPacket(checkedReply, thisCommandName); in testInterfaces001()
78 int returnedInterfacesNumber = checkedReply.getNextValueAsInt(); in testInterfaces001()
96 long returnedInterfaceID = checkedReply.getNextValueAsReferenceTypeID(); in testInterfaces001()
144 assertAllDataRead(checkedReply); in testInterfaces001()
DGetValues005Test.java94 ReplyPacket checkedReply = in testGetValues005() local
98 checkReplyPacket(checkedReply, thisCommandName); in testGetValues005()
100 int returnedValuesNumber = checkedReply.getNextValueAsInt(); in testGetValues005()
121 Value fieldValue = checkedReply.getNextValueAsValue(); in testGetValues005()
141 assertAllDataRead(checkedReply); in testGetValues005()
DSignature002Test.java123 ReplyPacket checkedReply = debuggeeWrapper.vmMirror.performCommand(checkedCommand); in testSignature002() local
126 short errorCode = checkedReply.getErrorCode(); in testSignature002()
152 checkedReply = debuggeeWrapper.vmMirror.performCommand(checkedCommand); in testSignature002()
155 errorCode = checkedReply.getErrorCode(); in testSignature002()
183 checkedReply = debuggeeWrapper.vmMirror.performCommand(checkedCommand); in testSignature002()
186 errorCode = checkedReply.getErrorCode(); in testSignature002()
DStatusTest.java72 ReplyPacket checkedReply = debuggeeWrapper.vmMirror.performCommand(checkedCommand); in testStatus001() local
74 checkReplyPacket(checkedReply, thisCommandName); in testStatus001()
76 int returnedStatus = checkedReply.getNextValueAsInt(); in testStatus001()
136 assertAllDataRead(checkedReply); in testStatus001()
DClassObjectTest.java80 ReplyPacket checkedReply = debuggeeWrapper.vmMirror.performCommand(checkedCommand); in testClassObject001() local
82 checkReplyPacket(checkedReply, thisCommandName); in testClassObject001()
84 long classObjectID = checkedReply.getNextValueAsObjectID(); in testClassObject001()
124 assertAllDataRead(checkedReply); in testClassObject001()
DSourceDebugExtensionTest.java75 ReplyPacket checkedReply = debuggeeWrapper.vmMirror.performCommand(checkedCommand); in doTest() local
78 short errorCode = checkedReply.getErrorCode(); in doTest()
84 String sourceDebugExtension = checkedReply.getNextValueAsString(); in doTest()
98 assertAllDataRead(checkedReply); in doTest()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ArrayReference/
DSetValues003Test.java54 ReplyPacket checkedReply = setArrayValue(JDWPTestConstants.INVALID_OBJECT_ID, VALID_INDEX, in testSetValues003_InvalidObject() local
57 checkReplyPacket(checkedReply, "ArrayReference::SetValues command", in testSetValues003_InvalidObject()
78 ReplyPacket checkedReply = setArrayValue(refTypeID, VALID_INDEX, in testSetValues003_InvalidArray() local
81 checkReplyPacket(checkedReply, "ArrayReference::SetValues command", in testSetValues003_InvalidArray()
103 ReplyPacket checkedReply = setArrayValue(checkedObjectID, INVALID_INDEX, in testSetValues003_InvalidIndex() local
106 checkReplyPacket(checkedReply, "ArrayReference::SetValues command", in testSetValues003_InvalidIndex()
137 ReplyPacket checkedReply = setArrayValue(arrayID, VALID_INDEX, in testSetValues003_TypeMismatch() local
139 checkReplyPacket(checkedReply, THIS_COMMAND_NAME, JDWPConstants.Error.NONE); in testSetValues003_TypeMismatch()
142 checkedReply = setArrayValue(arrayID, VALID_INDEX, subClassObjectID); in testSetValues003_TypeMismatch()
143 checkReplyPacket(checkedReply, THIS_COMMAND_NAME, JDWPConstants.Error.NONE); in testSetValues003_TypeMismatch()
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ObjectReference/
DReferringObjectsTest.java121 ReplyPacket checkedReply = debuggeeWrapper.vmMirror.performCommand(InstancesCommand); in DoTestReferringObjects() local
125 int objNum = checkedReply.getNextValueAsInt(); in DoTestReferringObjects()
127 byte tag = checkedReply.getNextValueAsByte(); in DoTestReferringObjects()
128 long objectID = checkedReply.getNextValueAsObjectID(); in DoTestReferringObjects()
139 checkedReply = debuggeeWrapper.vmMirror in DoTestReferringObjects()
144 int referringObjects = checkedReply.getNextValueAsInt(); in DoTestReferringObjects()
154 tag = checkedReply.getNextValueAsByte(); in DoTestReferringObjects()
158 objectID = checkedReply.getNextValueAsObjectID(); in DoTestReferringObjects()
173 assertAllDataRead(checkedReply); in DoTestReferringObjects()
198 ReplyPacket checkedReply = debuggeeWrapper.vmMirror.performCommand(InstancesCommand); in testReferringObjects_IllegalArgument() local
[all …]
DMonitorInfoTest.java123 ReplyPacket checkedReply = debuggeeWrapper.vmMirror.performCommand(checkedCommand); in testMonitorInfo001() local
126 short errorCode = checkedReply.getErrorCode(); in testMonitorInfo001()
136 checkReplyPacket(checkedReply, thisCommandName); in testMonitorInfo001()
139 long monitorOwnerThreadID = checkedReply.getNextValueAsThreadID(); in testMonitorInfo001()
152 int monitorEntryCount = checkedReply.getNextValueAsInt(); in testMonitorInfo001()
164 int monitorWaiters = checkedReply.getNextValueAsInt(); in testMonitorInfo001()
176 assertAllDataRead(checkedReply); in testMonitorInfo001()
178 checkedReply = null; in testMonitorInfo001()
205 checkedReply = debuggeeWrapper.vmMirror.performCommand(checkedCommand); in testMonitorInfo001()
207 checkReplyPacket(checkedReply, thisCommandName); in testMonitorInfo001()
[all …]
DIsCollectedTest.java158 ReplyPacket checkedReply = debuggeeWrapper.vmMirror in testIsCollected001() local
161 checkReplyPacket(checkedReply, thisCommandName); in testIsCollected001()
163 boolean checkedObject_01_IsCollected = checkedReply in testIsCollected001()
202 checkedReply = debuggeeWrapper.vmMirror.performCommand(checkedCommand); in testIsCollected001()
204 checkReplyPacket(checkedReply, thisCommandName); in testIsCollected001()
206 boolean checkedObject_02_IsCollected = checkedReply in testIsCollected001()
245 assertAllDataRead(checkedReply); in testIsCollected001()
DReferenceTypeTest.java142 ReplyPacket checkedReply = null; in testReferenceType001() local
163 checkedReply = debuggeeWrapper.vmMirror.performCommand(checkedCommand); in testReferenceType001()
165 checkReplyPacket(checkedReply, thisCommandName); in testReferenceType001()
167 byte refTypeTag = checkedReply.getNextValueAsByte(); in testReferenceType001()
168 long objectRefTypeID = checkedReply.getNextValueAsReferenceTypeID(); in testReferenceType001()
212 assertAllDataRead(checkedReply); in testReferenceType001()
DGetValues003Test.java126 ReplyPacket checkedReply = in testGetValues003() local
130 checkReplyPacket(checkedReply, thisCommandName); in testGetValues003()
132 returnedValuesNumber = checkedReply.getNextValueAsInt(); in testGetValues003()
148 Value fieldValue = checkedReply.getNextValueAsValue(); in testGetValues003()
167 assertAllDataRead(checkedReply); in testGetValues003()
DGetValuesTest.java124 ReplyPacket checkedReply = debuggeeWrapper.vmMirror.performCommand(checkedCommand); in testGetValues001() local
126 checkReplyPacket(checkedReply, thisCommandName); in testGetValues001()
128 returnedValuesNumber = checkedReply.getNextValueAsInt(); in testGetValues001()
149 Value fieldValue = checkedReply.getNextValueAsValue(); in testGetValues001()
188 assertAllDataRead(checkedReply); in testGetValues001()
DGetValues002Test.java125 ReplyPacket checkedReply = debuggeeWrapper.vmMirror.performCommand(checkedCommand); in testGetValues002() local
127 checkReplyPacket(checkedReply, thisCommandName); in testGetValues002()
129 returnedValuesNumber = checkedReply.getNextValueAsInt(); in testGetValues002()
151 Value fieldValue = checkedReply.getNextValueAsValue(); in testGetValues002()
226 assertAllDataRead(checkedReply); in testGetValues002()
DSetValuesTest.java141 ReplyPacket checkedReply = in testSetValues001() local
144 checkReplyPacket(checkedReply, thisCommandName); in testSetValues001()
157 assertAllDataRead(checkedReply); in testSetValues001()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/
DInstanceCountsTest.java95 ReplyPacket checkedReply = debuggeeWrapper.vmMirror in testInstanceCounts_Normal() local
99 short errorCode = checkedReply.getErrorCode(); in testInstanceCounts_Normal()
108 int returnedRefTypesCount = checkedReply.getNextValueAsInt(); in testInstanceCounts_Normal()
114 long returnedObjNumOfClass1 = checkedReply.getNextValueAsLong(); in testInstanceCounts_Normal()
120 long returnedObjNumOfClass2 = checkedReply.getNextValueAsLong(); in testInstanceCounts_Normal()
128 assertAllDataRead(checkedReply); in testInstanceCounts_Normal()
153 ReplyPacket checkedReply = debuggeeWrapper.vmMirror in testInstanceCounts_IllegalArgument() local
157 short errorCode = checkedReply.getErrorCode(); in testInstanceCounts_IllegalArgument()
192 ReplyPacket checkedReply = debuggeeWrapper.vmMirror in testInstanceCounts_Zero() local
196 short errorCode = checkedReply.getErrorCode(); in testInstanceCounts_Zero()
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/
DStatus005Test.java87 ReplyPacket checkedReply = debuggeeWrapper.vmMirror.performCommand(checkedCommand); in testStatus006() local
88 checkReplyPacket(checkedReply, "ThreadReference.Status command"); in testStatus006()
90 int threadStatus = checkedReply.getNextValueAsInt(); in testStatus006()
91 int suspendStatus = checkedReply.getNextValueAsInt(); in testStatus006()
DStatus004Test.java86 ReplyPacket checkedReply = debuggeeWrapper.vmMirror.performCommand(checkedCommand); in testStatus005() local
87 checkReplyPacket(checkedReply, "ThreadReference.Status command"); in testStatus005()
89 int threadStatus = checkedReply.getNextValueAsInt(); in testStatus005()
90 int suspendStatus = checkedReply.getNextValueAsInt(); in testStatus005()
DStatus006Test.java98 ReplyPacket checkedReply = debuggeeWrapper.vmMirror.performCommand(checkedCommand); in testStatus007() local
99 checkReplyPacket(checkedReply, "ThreadReference.Status command"); in testStatus007()
101 int threadStatus = checkedReply.getNextValueAsInt(); in testStatus007()
102 int suspendStatus = checkedReply.getNextValueAsInt(); in testStatus007()
DStatus002Test.java88 ReplyPacket checkedReply = debuggeeWrapper.vmMirror.performCommand(checkedCommand); in testStatus003() local
89 checkReplyPacket(checkedReply, "ThreadReference.Status command"); in testStatus003()
91 int threadStatus = checkedReply.getNextValueAsInt(); in testStatus003()
92 int suspendStatus = checkedReply.getNextValueAsInt(); in testStatus003()
DStatus003Test.java87 ReplyPacket checkedReply = debuggeeWrapper.vmMirror.performCommand(checkedCommand); in testStatus004() local
88 checkReplyPacket(checkedReply, "ThreadReference.Status command"); in testStatus004()
90 int threadStatus = checkedReply.getNextValueAsInt(); in testStatus004()
91 int suspendStatus = checkedReply.getNextValueAsInt(); in testStatus004()
DForceEarlyReturn006Test.java51 ReplyPacket checkedReply = debuggeeWrapper.vmMirror in getObjectID() local
56 int objNum = checkedReply.getNextValueAsInt(); in getObjectID()
58 byte tag = checkedReply.getNextValueAsByte(); in getObjectID()
59 long objectID = checkedReply.getNextValueAsObjectID(); in getObjectID()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/MultiSession/
DEnableCollectionTest.java107 ReplyPacket checkedReply = debuggeeWrapper.vmMirror.performCommand(checkedCommand); in testEnableCollection001() local
109 checkReplyPacket(checkedReply, "ObjectReference::DisableCollection command"); in testEnableCollection001()
140 assertAllDataRead(checkedReply); in testEnableCollection001()

12