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.java95 ReplyPacket checkedReply = debuggeeWrapper.vmMirror in runTestInstances() local
99 short errorCode = checkedReply.getErrorCode(); in runTestInstances()
115 int reachableInstancesNum = checkedReply.getNextValueAsInt(); in runTestInstances()
123 byte tag = checkedReply.getNextValueAsByte(); in runTestInstances()
127 long objectID = checkedReply.getNextValueAsObjectID(); in runTestInstances()
142 assertAllDataRead(checkedReply); in runTestInstances()
226 ReplyPacket checkedReply = debuggeeWrapper.vmMirror in testInstances_String() local
229 checkReplyPacket(checkedReply, thisTestName); in testInstances_String()
232 int reachableInstancesNum = checkedReply.getNextValueAsInt(); in testInstances_String()
236 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()
105 byte returnedRefTypeTag = checkedReply.getNextValueAsByte(); in testNestedTypes001()
108 long returnedRefTypeID = checkedReply.getNextValueAsReferenceTypeID(); in testNestedTypes001()
171 assertAllDataRead(checkedReply); in testNestedTypes001()
DInterfacesTest.java74 ReplyPacket checkedReply = in testInterfaces001() local
77 checkReplyPacket(checkedReply, thisCommandName); in testInterfaces001()
79 int returnedInterfacesNumber = checkedReply.getNextValueAsInt(); in testInterfaces001()
97 long returnedInterfaceID = checkedReply.getNextValueAsReferenceTypeID(); in testInterfaces001()
145 assertAllDataRead(checkedReply); in testInterfaces001()
DSignature002Test.java124 ReplyPacket checkedReply = debuggeeWrapper.vmMirror.performCommand(checkedCommand); in testSignature002() local
127 short errorCode = checkedReply.getErrorCode(); in testSignature002()
153 checkedReply = debuggeeWrapper.vmMirror.performCommand(checkedCommand); in testSignature002()
156 errorCode = checkedReply.getErrorCode(); in testSignature002()
184 checkedReply = debuggeeWrapper.vmMirror.performCommand(checkedCommand); in testSignature002()
187 errorCode = checkedReply.getErrorCode(); in testSignature002()
DGetValues005Test.java95 ReplyPacket checkedReply = in testGetValues005() local
99 checkReplyPacket(checkedReply, thisCommandName); in testGetValues005()
101 int returnedValuesNumber = checkedReply.getNextValueAsInt(); in testGetValues005()
122 Value fieldValue = checkedReply.getNextValueAsValue(); in testGetValues005()
142 assertAllDataRead(checkedReply); in testGetValues005()
DStatusTest.java73 ReplyPacket checkedReply = debuggeeWrapper.vmMirror.performCommand(checkedCommand); in testStatus001() local
75 checkReplyPacket(checkedReply, thisCommandName); in testStatus001()
77 int returnedStatus = checkedReply.getNextValueAsInt(); in testStatus001()
137 assertAllDataRead(checkedReply); in testStatus001()
DClassObjectTest.java81 ReplyPacket checkedReply = debuggeeWrapper.vmMirror.performCommand(checkedCommand); in testClassObject001() local
83 checkReplyPacket(checkedReply, thisCommandName); in testClassObject001()
85 long classObjectID = checkedReply.getNextValueAsObjectID(); in testClassObject001()
125 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.java123 ReplyPacket checkedReply = debuggeeWrapper.vmMirror.performCommand(InstancesCommand); in DoTestReferringObjects() local
127 int objNum = checkedReply.getNextValueAsInt(); in DoTestReferringObjects()
129 byte tag = checkedReply.getNextValueAsByte(); in DoTestReferringObjects()
130 long objectID = checkedReply.getNextValueAsObjectID(); in DoTestReferringObjects()
141 checkedReply = debuggeeWrapper.vmMirror in DoTestReferringObjects()
146 int referringObjects = checkedReply.getNextValueAsInt(); in DoTestReferringObjects()
156 tag = checkedReply.getNextValueAsByte(); in DoTestReferringObjects()
160 objectID = checkedReply.getNextValueAsObjectID(); in DoTestReferringObjects()
175 assertAllDataRead(checkedReply); in DoTestReferringObjects()
200 ReplyPacket checkedReply = debuggeeWrapper.vmMirror.performCommand(InstancesCommand); in testReferringObjects_IllegalArgument() local
[all …]
DMonitorInfoTest.java124 ReplyPacket checkedReply = debuggeeWrapper.vmMirror.performCommand(checkedCommand); in testMonitorInfo001() local
127 short errorCode = checkedReply.getErrorCode(); in testMonitorInfo001()
137 checkReplyPacket(checkedReply, thisCommandName); in testMonitorInfo001()
140 long monitorOwnerThreadID = checkedReply.getNextValueAsThreadID(); in testMonitorInfo001()
153 int monitorEntryCount = checkedReply.getNextValueAsInt(); in testMonitorInfo001()
165 int monitorWaiters = checkedReply.getNextValueAsInt(); in testMonitorInfo001()
177 assertAllDataRead(checkedReply); in testMonitorInfo001()
179 checkedReply = null; in testMonitorInfo001()
206 checkedReply = debuggeeWrapper.vmMirror.performCommand(checkedCommand); in testMonitorInfo001()
208 checkReplyPacket(checkedReply, thisCommandName); in testMonitorInfo001()
[all …]
DIsCollectedTest.java160 ReplyPacket checkedReply = debuggeeWrapper.vmMirror in testIsCollected001() local
163 checkReplyPacket(checkedReply, thisCommandName); in testIsCollected001()
165 boolean checkedObject_01_IsCollected = checkedReply in testIsCollected001()
204 checkedReply = debuggeeWrapper.vmMirror.performCommand(checkedCommand); in testIsCollected001()
206 checkReplyPacket(checkedReply, thisCommandName); in testIsCollected001()
208 boolean checkedObject_02_IsCollected = checkedReply in testIsCollected001()
247 assertAllDataRead(checkedReply); in testIsCollected001()
DReferenceTypeTest.java143 ReplyPacket checkedReply = null; in testReferenceType001() local
164 checkedReply = debuggeeWrapper.vmMirror.performCommand(checkedCommand); in testReferenceType001()
166 checkReplyPacket(checkedReply, thisCommandName); in testReferenceType001()
168 byte refTypeTag = checkedReply.getNextValueAsByte(); in testReferenceType001()
169 long objectRefTypeID = checkedReply.getNextValueAsReferenceTypeID(); in testReferenceType001()
213 assertAllDataRead(checkedReply); in testReferenceType001()
DGetValues003Test.java127 ReplyPacket checkedReply = in testGetValues003() local
131 checkReplyPacket(checkedReply, thisCommandName); in testGetValues003()
133 returnedValuesNumber = checkedReply.getNextValueAsInt(); in testGetValues003()
149 Value fieldValue = checkedReply.getNextValueAsValue(); in testGetValues003()
168 assertAllDataRead(checkedReply); in testGetValues003()
DGetValuesTest.java125 ReplyPacket checkedReply = debuggeeWrapper.vmMirror.performCommand(checkedCommand); in testGetValues001() local
127 checkReplyPacket(checkedReply, thisCommandName); in testGetValues001()
129 returnedValuesNumber = checkedReply.getNextValueAsInt(); in testGetValues001()
150 Value fieldValue = checkedReply.getNextValueAsValue(); in testGetValues001()
189 assertAllDataRead(checkedReply); in testGetValues001()
DGetValues002Test.java126 ReplyPacket checkedReply = debuggeeWrapper.vmMirror.performCommand(checkedCommand); in testGetValues002() local
128 checkReplyPacket(checkedReply, thisCommandName); in testGetValues002()
130 returnedValuesNumber = checkedReply.getNextValueAsInt(); in testGetValues002()
152 Value fieldValue = checkedReply.getNextValueAsValue(); in testGetValues002()
227 assertAllDataRead(checkedReply); in testGetValues002()
DSetValuesTest.java142 ReplyPacket checkedReply = in testSetValues001() local
145 checkReplyPacket(checkedReply, thisCommandName); in testSetValues001()
158 assertAllDataRead(checkedReply); in testSetValues001()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/
DInstanceCountsTest.java97 ReplyPacket checkedReply = debuggeeWrapper.vmMirror in testInstanceCounts_Normal() local
101 short errorCode = checkedReply.getErrorCode(); in testInstanceCounts_Normal()
110 int returnedRefTypesCount = checkedReply.getNextValueAsInt(); in testInstanceCounts_Normal()
116 long returnedObjNumOfClass1 = checkedReply.getNextValueAsLong(); in testInstanceCounts_Normal()
122 long returnedObjNumOfClass2 = checkedReply.getNextValueAsLong(); in testInstanceCounts_Normal()
130 assertAllDataRead(checkedReply); in testInstanceCounts_Normal()
155 ReplyPacket checkedReply = debuggeeWrapper.vmMirror in testInstanceCounts_IllegalArgument() local
159 short errorCode = checkedReply.getErrorCode(); in testInstanceCounts_IllegalArgument()
194 ReplyPacket checkedReply = debuggeeWrapper.vmMirror in testInstanceCounts_Zero() local
198 short errorCode = checkedReply.getErrorCode(); in testInstanceCounts_Zero()
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/
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()
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()
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()
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()
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()
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.java109 ReplyPacket checkedReply = debuggeeWrapper.vmMirror.performCommand(checkedCommand); in testEnableCollection001() local
111 checkReplyPacket(checkedReply, "ObjectReference::DisableCollection command"); in testEnableCollection001()
142 assertAllDataRead(checkedReply); in testEnableCollection001()

12