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.java73 ReplyPacket checkedReply = in testNestedTypes001() local
76 checkReplyPacket(checkedReply, thisCommandName); in testNestedTypes001()
78 int returnedNestedTypesNumber = checkedReply.getNextValueAsInt(); in testNestedTypes001()
104 byte returnedRefTypeTag = checkedReply.getNextValueAsByte(); in testNestedTypes001()
107 long returnedRefTypeID = checkedReply.getNextValueAsReferenceTypeID(); in testNestedTypes001()
170 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()
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()
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()
DSourceDebugExtensionTest.java81 ReplyPacket checkedReply = debuggeeWrapper.vmMirror.performCommand(checkedCommand); in testSourceDebugExtension001() local
84 short errorCode = checkedReply.getErrorCode(); in testSourceDebugExtension001()
89 String SourceDebugExtension = checkedReply.getNextValueAsString(); in testSourceDebugExtension001()
109 assertAllDataRead(checkedReply); in testSourceDebugExtension001()
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()
/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.java124 ReplyPacket checkedReply = debuggeeWrapper.vmMirror.performCommand(InstancesCommand); in DoTestReferringObjects() local
128 int objNum = checkedReply.getNextValueAsInt(); in DoTestReferringObjects()
130 byte tag = checkedReply.getNextValueAsByte(); in DoTestReferringObjects()
131 long objectID = checkedReply.getNextValueAsObjectID(); in DoTestReferringObjects()
142 checkedReply = debuggeeWrapper.vmMirror in DoTestReferringObjects()
147 int referringObjects = checkedReply.getNextValueAsInt(); in DoTestReferringObjects()
157 tag = checkedReply.getNextValueAsByte(); in DoTestReferringObjects()
161 objectID = checkedReply.getNextValueAsObjectID(); in DoTestReferringObjects()
176 assertAllDataRead(checkedReply); in DoTestReferringObjects()
201 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.java159 ReplyPacket checkedReply = debuggeeWrapper.vmMirror in testIsCollected001() local
162 checkReplyPacket(checkedReply, thisCommandName); in testIsCollected001()
164 boolean checkedObject_01_IsCollected = checkedReply in testIsCollected001()
203 checkedReply = debuggeeWrapper.vmMirror.performCommand(checkedCommand); in testIsCollected001()
205 checkReplyPacket(checkedReply, thisCommandName); in testIsCollected001()
207 boolean checkedObject_02_IsCollected = checkedReply in testIsCollected001()
246 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.java96 ReplyPacket checkedReply = debuggeeWrapper.vmMirror in testInstanceCounts_Normal() local
100 short errorCode = checkedReply.getErrorCode(); in testInstanceCounts_Normal()
109 int returnedRefTypesCount = checkedReply.getNextValueAsInt(); in testInstanceCounts_Normal()
115 long returnedObjNumOfClass1 = checkedReply.getNextValueAsLong(); in testInstanceCounts_Normal()
121 long returnedObjNumOfClass2 = checkedReply.getNextValueAsLong(); in testInstanceCounts_Normal()
129 assertAllDataRead(checkedReply); in testInstanceCounts_Normal()
154 ReplyPacket checkedReply = debuggeeWrapper.vmMirror in testInstanceCounts_IllegalArgument() local
158 short errorCode = checkedReply.getErrorCode(); in testInstanceCounts_IllegalArgument()
193 ReplyPacket checkedReply = debuggeeWrapper.vmMirror in testInstanceCounts_Zero() local
197 short errorCode = checkedReply.getErrorCode(); in testInstanceCounts_Zero()
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/
DStatus003Test.java86 ReplyPacket checkedReply = debuggeeWrapper.vmMirror.performCommand(checkedCommand); in testStatus004() local
87 checkReplyPacket(checkedReply, "ThreadReference.Status command"); in testStatus004()
89 int threadStatus = checkedReply.getNextValueAsInt(); in testStatus004()
90 int suspendStatus = checkedReply.getNextValueAsInt(); in testStatus004()
DStatus005Test.java86 ReplyPacket checkedReply = debuggeeWrapper.vmMirror.performCommand(checkedCommand); in testStatus006() local
87 checkReplyPacket(checkedReply, "ThreadReference.Status command"); in testStatus006()
89 int threadStatus = checkedReply.getNextValueAsInt(); in testStatus006()
90 int suspendStatus = checkedReply.getNextValueAsInt(); in testStatus006()
DStatus002Test.java87 ReplyPacket checkedReply = debuggeeWrapper.vmMirror.performCommand(checkedCommand); in testStatus003() local
88 checkReplyPacket(checkedReply, "ThreadReference.Status command"); in testStatus003()
90 int threadStatus = checkedReply.getNextValueAsInt(); in testStatus003()
91 int suspendStatus = checkedReply.getNextValueAsInt(); in testStatus003()
DStatus004Test.java85 ReplyPacket checkedReply = debuggeeWrapper.vmMirror.performCommand(checkedCommand); in testStatus005() local
86 checkReplyPacket(checkedReply, "ThreadReference.Status command"); in testStatus005()
88 int threadStatus = checkedReply.getNextValueAsInt(); in testStatus005()
89 int suspendStatus = checkedReply.getNextValueAsInt(); in testStatus005()
DStatus006Test.java97 ReplyPacket checkedReply = debuggeeWrapper.vmMirror.performCommand(checkedCommand); in testStatus007() local
98 checkReplyPacket(checkedReply, "ThreadReference.Status command"); in testStatus007()
100 int threadStatus = checkedReply.getNextValueAsInt(); in testStatus007()
101 int suspendStatus = checkedReply.getNextValueAsInt(); in testStatus007()
DForceEarlyReturn006Test.java50 ReplyPacket checkedReply = debuggeeWrapper.vmMirror in getObjectID() local
55 int objNum = checkedReply.getNextValueAsInt(); in getObjectID()
57 byte tag = checkedReply.getNextValueAsByte(); in getObjectID()
58 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