Home
last modified time | relevance | path

Searched refs:JDWPConstants (Results 1 – 25 of 167) sorted by relevance

1234567

/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
DField.java82 tag = JDWPConstants.Tag.ARRAY_TAG; in setSignature()
85 tag = JDWPConstants.Tag.BYTE_TAG; in setSignature()
88 tag = JDWPConstants.Tag.CHAR_TAG; in setSignature()
91 tag = JDWPConstants.Tag.OBJECT_TAG; in setSignature()
94 tag = JDWPConstants.Tag.FLOAT_TAG; in setSignature()
97 tag = JDWPConstants.Tag.DOUBLE_TAG; in setSignature()
100 tag = JDWPConstants.Tag.INT_TAG; in setSignature()
103 tag = JDWPConstants.Tag.LONG_TAG; in setSignature()
106 tag = JDWPConstants.Tag.SHORT_TAG; in setSignature()
109 tag = JDWPConstants.Tag.VOID_TAG; in setSignature()
[all …]
DValue.java29 import org.apache.harmony.jpda.tests.framework.jdwp.JDWPConstants;
47 return new Value(JDWPConstants.Tag.BYTE_TAG, Byte.valueOf(value)); in createByte()
61 return new Value(JDWPConstants.Tag.SHORT_TAG, Short.valueOf(value)); in createShort()
68 return new Value(JDWPConstants.Tag.INT_TAG, Integer.valueOf(value)); in createInt()
75 return new Value(JDWPConstants.Tag.LONG_TAG, Long.valueOf(value)); in createLong()
82 return new Value(JDWPConstants.Tag.FLOAT_TAG, Float.valueOf(value)); in createFloat()
89 return new Value(JDWPConstants.Tag.DOUBLE_TAG, Double.valueOf(value)); in createDouble()
96 return new Value(JDWPConstants.Tag.VOID_TAG, Long.valueOf(0)); in createVoidValue()
104 throw new AssertionError(JDWPConstants.Tag.getName(tag) + " is primitive"); in createObjectValue()
131 this.tag = JDWPConstants.Tag.BOOLEAN_TAG; in Value()
[all …]
DFrame.java232 tag = JDWPConstants.Tag.NO_TAG; in Variable()
290 tag = JDWPConstants.Tag.ARRAY_TAG; in setSignature()
293 tag = JDWPConstants.Tag.BYTE_TAG; in setSignature()
296 tag = JDWPConstants.Tag.CHAR_TAG; in setSignature()
299 tag = JDWPConstants.Tag.OBJECT_TAG; in setSignature()
302 tag = JDWPConstants.Tag.FLOAT_TAG; in setSignature()
305 tag = JDWPConstants.Tag.DOUBLE_TAG; in setSignature()
308 tag = JDWPConstants.Tag.INT_TAG; in setSignature()
311 tag = JDWPConstants.Tag.LONG_TAG; in setSignature()
314 tag = JDWPConstants.Tag.SHORT_TAG; in setSignature()
[all …]
DParsedEvent.java176 super(suspendPolicy, packet, JDWPConstants.EventKind.VM_START); in Event_VM_START()
192 super(suspendPolicy, packet, JDWPConstants.EventKind.SINGLE_STEP); in Event_SINGLE_STEP()
208 super(suspendPolicy, packet, JDWPConstants.EventKind.BREAKPOINT); in Event_BREAKPOINT()
224 super(suspendPolicy, packet, JDWPConstants.EventKind.METHOD_ENTRY); in Event_METHOD_ENTRY()
240 super(suspendPolicy, packet, JDWPConstants.EventKind.METHOD_EXIT); in Event_METHOD_EXIT()
258 super(suspendPolicy, packet, JDWPConstants.EventKind.METHOD_EXIT_WITH_RETURN_VALUE); in Event_METHOD_EXIT_WITH_RETURN_VALUE()
279 super(suspendPolicy, packet, JDWPConstants.EventKind.MONITOR_CONTENDED_ENTER); in Event_MONITOR_CONTENDED_ENTER()
296 super(suspendPolicy, packet, JDWPConstants.EventKind.MONITOR_CONTENDED_ENTERED); in Event_MONITOR_CONTENDED_ENTERED()
315 super(suspendPolicy, packet, JDWPConstants.EventKind.MONITOR_WAIT); in Event_MONITOR_WAIT()
338 super(suspendPolicy, packet, JDWPConstants.EventKind.MONITOR_WAITED); in Event_MONITOR_WAITED()
[all …]
DPacket.java31 import org.apache.harmony.jpda.tests.framework.jdwp.JDWPConstants;
164 case JDWPConstants.Tag.ARRAY_TAG: { in isValuePrimitiveType()
167 case JDWPConstants.Tag.BYTE_TAG: { in isValuePrimitiveType()
170 case JDWPConstants.Tag.CHAR_TAG: { in isValuePrimitiveType()
173 case JDWPConstants.Tag.OBJECT_TAG: { in isValuePrimitiveType()
176 case JDWPConstants.Tag.FLOAT_TAG: { in isValuePrimitiveType()
179 case JDWPConstants.Tag.DOUBLE_TAG: { in isValuePrimitiveType()
182 case JDWPConstants.Tag.INT_TAG: { in isValuePrimitiveType()
185 case JDWPConstants.Tag.LONG_TAG: { in isValuePrimitiveType()
188 case JDWPConstants.Tag.SHORT_TAG: { in isValuePrimitiveType()
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ArrayReference/
DGetValuesTest.java32 import org.apache.harmony.jpda.tests.framework.jdwp.JDWPConstants;
69 checkArrayValues(classID, fieldID, JDWPConstants.Error.NONE, 1, in testGetValues001()
70 1, JDWPConstants.Tag.OBJECT_TAG, JDWPConstants.Tag.THREAD_TAG, false); in testGetValues001()
75 checkArrayValues(classID, fieldID, JDWPConstants.Error.NONE, 1, in testGetValues001()
76 1, JDWPConstants.Tag.OBJECT_TAG, JDWPConstants.Tag.THREAD_GROUP_TAG, false); in testGetValues001()
81 checkArrayValues(classID, fieldID, JDWPConstants.Error.NONE, 1, in testGetValues001()
82 1, JDWPConstants.Tag.OBJECT_TAG, JDWPConstants.Tag.CLASS_OBJECT_TAG, false); in testGetValues001()
87 checkArrayValues(classID, fieldID, JDWPConstants.Error.NONE, 1, in testGetValues001()
88 1, JDWPConstants.Tag.OBJECT_TAG, JDWPConstants.Tag.CLASS_LOADER_TAG, false); in testGetValues001()
93 checkArrayValues(classID, fieldID, JDWPConstants.Error.NONE, 1, in testGetValues001()
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/
DFieldModification002Test.java29 import org.apache.harmony.jpda.tests.framework.jdwp.JDWPConstants;
58 hookFieldModification(classSignature, "testBoolField", JDWPConstants.Tag.BOOLEAN_TAG); in testFieldModifyEvent()
59 hookFieldModification(classSignature, "testByteField", JDWPConstants.Tag.BYTE_TAG); in testFieldModifyEvent()
60 hookFieldModification(classSignature, "testCharField", JDWPConstants.Tag.CHAR_TAG); in testFieldModifyEvent()
61 hookFieldModification(classSignature, "testShortField", JDWPConstants.Tag.SHORT_TAG); in testFieldModifyEvent()
62 hookFieldModification(classSignature, "testIntField", JDWPConstants.Tag.INT_TAG); in testFieldModifyEvent()
63 hookFieldModification(classSignature, "testLongField", JDWPConstants.Tag.LONG_TAG); in testFieldModifyEvent()
64 hookFieldModification(classSignature, "testFloatField", JDWPConstants.Tag.FLOAT_TAG); in testFieldModifyEvent()
65 hookFieldModification(classSignature, "testDoubleField", JDWPConstants.Tag.DOUBLE_TAG); in testFieldModifyEvent()
66 hookFieldModification(classSignature, "testObjectField", JDWPConstants.Tag.OBJECT_TAG); in testFieldModifyEvent()
[all …]
DEventWithExceptionTest.java22 import org.apache.harmony.jpda.tests.framework.jdwp.JDWPConstants;
23 import org.apache.harmony.jpda.tests.framework.jdwp.JDWPConstants.StepDepth;
50 runSingleStepTest(JDWPConstants.StepDepth.OUT); in testSingleStepOut()
57 runSingleStepTest(JDWPConstants.StepDepth.OVER); in testSingleStepOver()
64 runSingleStepTest(JDWPConstants.StepDepth.INTO); in testSingleStepInto()
83 ParsedEvent exceptionEvent = waitForEvent(JDWPConstants.EventKind.EXCEPTION, in testBreakpoint_BeforeException()
91 clearEvent(JDWPConstants.EventKind.EXCEPTION, exceptionRequestId, true); in testBreakpoint_BeforeException()
106 ParsedEvent breakpointEvent = waitForEvent(JDWPConstants.EventKind.BREAKPOINT, in testBreakpoint_BeforeException()
114 clearEvent(JDWPConstants.EventKind.BREAKPOINT, breakpointRequestId, true); in testBreakpoint_BeforeException()
142 ParsedEvent exceptionEvent = waitForEvent(JDWPConstants.EventKind.EXCEPTION, in testBreakpoint_UponException()
[all …]
DSingleStepTest.java32 import org.apache.harmony.jpda.tests.framework.jdwp.JDWPConstants;
61 stepFunction(JDWPConstants.StepSize.LINE, JDWPConstants.StepDepth.OVER); in testSingleStep1()
72 stepFunction(JDWPConstants.StepSize.LINE, JDWPConstants.StepDepth.INTO); in testSingleStep2()
82 stepFunction(JDWPConstants.StepSize.MIN, JDWPConstants.StepDepth.OVER); in testSingleStep3()
92 stepFunction(JDWPConstants.StepSize.MIN, JDWPConstants.StepDepth.INTO); in testSingleStep4()
134 .setNextValueAsByte(JDWPConstants.EventKind.SINGLE_STEP); in stepFunction()
135 setRequestCommand.setNextValueAsByte(JDWPConstants.SuspendPolicy.ALL); in stepFunction()
168 + JDWPConstants.EventKind.getName(parsedEvents[i].getEventKind()) + ")"); in stepFunction()
175 assertEquals("Invalid event kind,", JDWPConstants.EventKind.SINGLE_STEP, in stepFunction()
177 JDWPConstants.EventKind.getName(JDWPConstants.EventKind.SINGLE_STEP), in stepFunction()
[all …]
DCombinedEventsTest.java31 import org.apache.harmony.jpda.tests.framework.jdwp.JDWPConstants;
76 JDWPConstants.EventKind.METHOD_ENTRY, in testCombinedEvents_01()
77 JDWPConstants.EventKind.SINGLE_STEP, in testCombinedEvents_01()
78 JDWPConstants.EventKind.BREAKPOINT, in testCombinedEvents_01()
133 .setNextValueAsByte(JDWPConstants.EventKind.SINGLE_STEP); in testCombinedEvents_01()
134 setRequestCommand.setNextValueAsByte(JDWPConstants.SuspendPolicy.ALL); in testCombinedEvents_01()
138 setRequestCommand.setNextValueAsInt(JDWPConstants.StepSize.MIN); in testCombinedEvents_01()
139 setRequestCommand.setNextValueAsInt(JDWPConstants.StepDepth.INTO); in testCombinedEvents_01()
166 JDWPConstants.EventKind.METHOD_ENTRY, methodEntryRequestID); in testCombinedEvents_01()
172 JDWPConstants.EventKind.SINGLE_STEP, stepRequestID); in testCombinedEvents_01()
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ObjectReference/
DGetValues002Test.java30 import org.apache.harmony.jpda.tests.framework.jdwp.JDWPConstants;
107 + "(" + JDWPConstants.Tag.getName(checkedObjectFieldTag) + ")"); in testGetValues002()
108 …assertEquals("Invalid value tag for checked object,", JDWPConstants.Tag.OBJECT_TAG, checkedObjectF… in testGetValues002()
109 , JDWPConstants.Tag.getName(JDWPConstants.Tag.OBJECT_TAG) in testGetValues002()
110 , JDWPConstants.Tag.getName(checkedObjectFieldTag)); in testGetValues002()
136 JDWPConstants.Tag.LONG_TAG, in testGetValues002()
137 JDWPConstants.Tag.INT_TAG, in testGetValues002()
138 JDWPConstants.Tag.STRING_TAG, in testGetValues002()
139 JDWPConstants.Tag.OBJECT_TAG, in testGetValues002()
140 JDWPConstants.Tag.BOOLEAN_TAG, in testGetValues002()
[all …]
DGetValuesTest.java30 import org.apache.harmony.jpda.tests.framework.jdwp.JDWPConstants;
106 + "(" + JDWPConstants.Tag.getName(checkedObjectFieldTag) + ")"); in testGetValues001()
107 …assertEquals("Invalid value tag for checked object,", JDWPConstants.Tag.OBJECT_TAG, checkedObjectF… in testGetValues001()
108 , JDWPConstants.Tag.getName(JDWPConstants.Tag.OBJECT_TAG) in testGetValues001()
109 , JDWPConstants.Tag.getName(checkedObjectFieldTag)); in testGetValues001()
135 JDWPConstants.Tag.INT_TAG, in testGetValues001()
136 JDWPConstants.Tag.LONG_TAG, in testGetValues001()
137 JDWPConstants.Tag.OBJECT_TAG, in testGetValues001()
138 JDWPConstants.Tag.ARRAY_TAG, in testGetValues001()
139 JDWPConstants.Tag.ARRAY_TAG, in testGetValues001()
[all …]
DGetValues003Test.java31 import org.apache.harmony.jpda.tests.framework.jdwp.JDWPConstants;
106 + "(" + JDWPConstants.Tag.getName(checkedObjectFieldTag) + ")"); in testGetValues003()
107 …assertEquals("Invalid value tag for checked object,", JDWPConstants.Tag.OBJECT_TAG, checkedObjectF… in testGetValues003()
108 , JDWPConstants.Tag.getName(JDWPConstants.Tag.OBJECT_TAG) in testGetValues003()
109 , JDWPConstants.Tag.getName(checkedObjectFieldTag)); in testGetValues003()
138 JDWPConstants.Tag.ARRAY_TAG, in testGetValues003()
139 JDWPConstants.Tag.ARRAY_TAG, in testGetValues003()
140 JDWPConstants.Tag.OBJECT_TAG, in testGetValues003()
141 JDWPConstants.Tag.STRING_TAG, in testGetValues003()
142 JDWPConstants.Tag.THREAD_TAG, in testGetValues003()
[all …]
DInvokeMethodTest.java30 import org.apache.harmony.jpda.tests.framework.jdwp.JDWPConstants;
64 packet.setNextValueAsByte(JDWPConstants.EventKind.METHOD_ENTRY); in setEventRequest()
65 packet.setNextValueAsByte(JDWPConstants.SuspendPolicy.ALL); in setEventRequest()
84 .receiveCertainEvent(JDWPConstants.EventKind.METHOD_ENTRY); in waitEvent()
111 packet.setNextValueAsByte(JDWPConstants.EventKind.METHOD_ENTRY); in clearEvent()
149 assertEquals("Invalid object tag,", JDWPConstants.Tag.OBJECT_TAG, newObject.tag in makeNewInstance()
150 , JDWPConstants.Tag.getName(JDWPConstants.Tag.OBJECT_TAG) in makeNewInstance()
151 , JDWPConstants.Tag.getName(newObject.tag)); in makeNewInstance()
155 assertEquals("Invalid exception.tag,", JDWPConstants.Tag.OBJECT_TAG, exception.tag in makeNewInstance()
156 , JDWPConstants.Tag.getName(JDWPConstants.Tag.OBJECT_TAG) in makeNewInstance()
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ReferenceType/
DGetValues002Test.java30 import org.apache.harmony.jpda.tests.framework.jdwp.JDWPConstants;
102 if ( errorCode != JDWPConstants.Error.NONE ) { in testGetValues002()
103 if ( errorCode != JDWPConstants.Error.INVALID_FIELDID ) { in testGetValues002()
106 + "(" + JDWPConstants.Error.getName(errorCode) + ")"); in testGetValues002()
109 + "(" + JDWPConstants.Error.getName(errorCode) + ")"); in testGetValues002()
124 JDWPConstants.Tag.LONG_TAG, in testGetValues002()
125 JDWPConstants.Tag.INT_TAG, in testGetValues002()
126 JDWPConstants.Tag.OBJECT_TAG, in testGetValues002()
127 JDWPConstants.Tag.OBJECT_TAG, in testGetValues002()
128 JDWPConstants.Tag.BOOLEAN_TAG, in testGetValues002()
[all …]
DGetValues005Test.java31 import org.apache.harmony.jpda.tests.framework.jdwp.JDWPConstants;
111 JDWPConstants.Tag.ARRAY_TAG, in testGetValues005()
112 JDWPConstants.Tag.ARRAY_TAG, in testGetValues005()
113 JDWPConstants.Tag.OBJECT_TAG, in testGetValues005()
114 JDWPConstants.Tag.STRING_TAG, in testGetValues005()
115 JDWPConstants.Tag.THREAD_TAG, in testGetValues005()
116 JDWPConstants.Tag.THREAD_GROUP_TAG, in testGetValues005()
117 JDWPConstants.Tag.CLASS_OBJECT_TAG, in testGetValues005()
118 JDWPConstants.Tag.CLASS_LOADER_TAG, in testGetValues005()
127 + "(" + JDWPConstants.Tag.getName(fieldTag) + ")"); in testGetValues005()
[all …]
DSignature002Test.java30 import org.apache.harmony.jpda.tests.framework.jdwp.JDWPConstants;
103 + "(" + JDWPConstants.Tag.getName(checkedObjectFieldTag) + ")"); in testSignature002()
104 if ( checkedObjectFieldTag != JDWPConstants.Tag.OBJECT_TAG ) { in testSignature002()
109 JDWPConstants.Tag.getName(checkedObjectFieldTag) + ")" + in testSignature002()
110 ", Expected tag = " + JDWPConstants.Tag.OBJECT_TAG + "(OBJECT_TAG)"); in testSignature002()
128 if ( errorCode != JDWPConstants.Error.NONE ) { in testSignature002()
129 if ( errorCode != JDWPConstants.Error.INVALID_CLASS ) { in testSignature002()
132 + "(" + JDWPConstants.Error.getName(errorCode) + ")"); in testSignature002()
135 + "(" + JDWPConstants.Error.getName(errorCode) + ")"); in testSignature002()
157 if ( errorCode != JDWPConstants.Error.NONE ) { in testSignature002()
[all …]
DGetValuesTest.java30 import org.apache.harmony.jpda.tests.framework.jdwp.JDWPConstants;
109 JDWPConstants.Tag.INT_TAG, in testGetValues001()
110 JDWPConstants.Tag.LONG_TAG, in testGetValues001()
111 JDWPConstants.Tag.OBJECT_TAG, in testGetValues001()
112 JDWPConstants.Tag.STRING_TAG, in testGetValues001()
113 JDWPConstants.Tag.ARRAY_TAG, in testGetValues001()
121 + "(" + JDWPConstants.Tag.getName(fieldTag) + ")"); in testGetValues001()
124 , JDWPConstants.Tag.getName(expectedFieldTags[k]) in testGetValues001()
125 , JDWPConstants.Tag.getName(fieldTag)); in testGetValues001()
128 case JDWPConstants.Tag.INT_TAG: in testGetValues001()
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ClassType/
DNewInstanceTest.java30 import org.apache.harmony.jpda.tests.framework.jdwp.JDWPConstants;
83 …assertEquals("VirtualMachine::ClassesBySignature returned invalid TypeTag,", JDWPConstants.TypeTag… in testNewInstance001()
84 , JDWPConstants.TypeTag.getName(JDWPConstants.TypeTag.CLASS) in testNewInstance001()
85 , JDWPConstants.TypeTag.getName(refTypeTag)); in testNewInstance001()
94 packet.setNextValueAsByte(JDWPConstants.EventKind.METHOD_ENTRY); in testNewInstance001()
95 packet.setNextValueAsByte(JDWPConstants.SuspendPolicy.ALL); in testNewInstance001()
111 .receiveCertainEvent(JDWPConstants.EventKind.METHOD_ENTRY); in testNewInstance001()
136 packet.setNextValueAsByte(JDWPConstants.EventKind.METHOD_ENTRY); in testNewInstance001()
165 …assertEquals("ClassType::NewInstance returned invalid newObject.tag,", JDWPConstants.Tag.OBJECT_TA… in testNewInstance001()
166 , JDWPConstants.Tag.getName(JDWPConstants.Tag.OBJECT_TAG) in testNewInstance001()
[all …]
DNewInstanceTagTest.java21 import org.apache.harmony.jpda.tests.framework.jdwp.JDWPConstants;
48 new Checker(JDWPConstants.Tag.OBJECT_TAG)); in testNewInstance_Object()
57 new Checker(JDWPConstants.Tag.OBJECT_TAG)); in testNewInstance_MyObject()
65 new Checker(JDWPConstants.Tag.STRING_TAG)); in testNewInstance_String()
78 new Checker(JDWPConstants.Tag.CLASS_LOADER_TAG)); in testNewInstance_ClassLoader()
86 new Checker(JDWPConstants.Tag.THREAD_TAG)); in testNewInstance_Thread()
96 new Checker(JDWPConstants.Tag.THREAD_TAG)); in testNewInstance_MyThread()
113 … constructorArguments.add(Value.createObjectValue(JDWPConstants.Tag.STRING_TAG, stringId)); in testNewInstance_ThreadGroup()
115 }, new Checker(JDWPConstants.Tag.THREAD_GROUP_TAG)); in testNewInstance_ThreadGroup()
125 new Checker(JDWPConstants.Tag.THREAD_GROUP_TAG)); in testNewInstance_MyThreadGroup()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/
DStatusTest.java30 import org.apache.harmony.jpda.tests.framework.jdwp.JDWPConstants;
81 + JDWPConstants.ThreadStatus.getName(threadStatus) + " " in testStatus002()
82 + JDWPConstants.SuspendStatus.getName(suspendStatus)); in testStatus002()
84 if (threadStatus != JDWPConstants.ThreadStatus.RUNNING) { in testStatus002()
86 + JDWPConstants.ThreadStatus.getName(threadStatus)); in testStatus002()
89 + JDWPConstants.ThreadStatus.getName(threadStatus)); in testStatus002()
92 if (suspendStatus != JDWPConstants.SuspendStatus.SUSPEND_STATUS_SUSPENDED) { in testStatus002()
94 + JDWPConstants.ThreadStatus.getName(suspendStatus)); in testStatus002()
97 + JDWPConstants.SuspendStatus.getName(suspendStatus)); in testStatus002()
138 + JDWPConstants.ThreadStatus.getName(threadStatus) + " " in testStatus001()
[all …]
DResumeTest.java31 import org.apache.harmony.jpda.tests.framework.jdwp.JDWPConstants;
174 if ( errorCode != JDWPConstants.Error.NONE ) { in testResume001()
177 + "(" + JDWPConstants.Error.getName(errorCode) + ")"); in testResume001()
202 + JDWPConstants.ThreadStatus.getName(threadStatus) + ")"); in testResume001()
204 + JDWPConstants.SuspendStatus.getName(suspendStatus) + ")"); in testResume001()
206 != JDWPConstants.SuspendStatus.SUSPEND_STATUS_SUSPENDED) { in testResume001()
209 + JDWPConstants.SuspendStatus.SUSPEND_STATUS_SUSPENDED in testResume001()
210 + "(" + JDWPConstants.SuspendStatus.getName in testResume001()
211 (JDWPConstants.SuspendStatus.SUSPEND_STATUS_SUSPENDED) +")"); in testResume001()
242 + JDWPConstants.ThreadStatus.getName(threadStatus) + ")"); in testResume001()
[all …]
DFramesTest.java33 import org.apache.harmony.jpda.tests.framework.jdwp.JDWPConstants;
82 if (err != JDWPConstants.Error.NONE) { in testFrames005()
84 + "(" + JDWPConstants.Error.getName(err) + ")"); in testFrames005()
99 if (err == JDWPConstants.Error.INVALID_LENGTH) { in testFrames005()
100 logWriter.println("Caught expected error - " + JDWPConstants.Error.getName(err) in testFrames005()
104 + JDWPConstants.Error.getName(err) + "(" + err + ")" in testFrames005()
106 + JDWPConstants.Error.getName(JDWPConstants.Error.INVALID_LENGTH) in testFrames005()
107 + "(" + JDWPConstants.Error.INVALID_LENGTH + ")"); in testFrames005()
136 if (err != JDWPConstants.Error.NONE) { in testFrames004()
138 + "(" + JDWPConstants.Error.getName(err) + ")"); in testFrames004()
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/
DAllClassesTest.java30 import org.apache.harmony.jpda.tests.framework.jdwp.JDWPConstants;
82 if ( (status & JDWPConstants.ClassStatus.ARRAY) != 0 ){ in testAllClasses002()
87 + "(" + JDWPConstants.ClassStatus.getName(status)+ ")"); in testAllClasses002()
89 + Integer.toHexString(JDWPConstants.ClassStatus.ARRAY) in testAllClasses002()
91 + JDWPConstants.ClassStatus.getName(JDWPConstants.ClassStatus.ARRAY) in testAllClasses002()
95 if ( (status & JDWPConstants.ClassStatus.PRIMITIVE) != 0 ){ in testAllClasses002()
100 + "(" + JDWPConstants.ClassStatus.getName(status)+ ")"); in testAllClasses002()
102 + Integer.toHexString(JDWPConstants.ClassStatus.PRIMITIVE) in testAllClasses002()
104 + JDWPConstants.ClassStatus.getName(JDWPConstants.ClassStatus.PRIMITIVE) in testAllClasses002()
162 refTypeTagName = JDWPConstants.TypeTag.getName(refTypeTag); in testAllClasses001()
[all …]
DAllClassesWithGenericTest.java30 import org.apache.harmony.jpda.tests.framework.jdwp.JDWPConstants;
84 if ( (status & JDWPConstants.ClassStatus.ARRAY) != 0 ){ in testAllClassesWithGeneric002()
90 + "(" + JDWPConstants.ClassStatus.getName(status)+ ")"); in testAllClassesWithGeneric002()
92 + Integer.toHexString(JDWPConstants.ClassStatus.ARRAY) in testAllClassesWithGeneric002()
94 + JDWPConstants.ClassStatus.getName(JDWPConstants.ClassStatus.ARRAY) in testAllClassesWithGeneric002()
98 if ( (status & JDWPConstants.ClassStatus.PRIMITIVE) != 0 ){ in testAllClassesWithGeneric002()
104 + "(" + JDWPConstants.ClassStatus.getName(status)+ ")"); in testAllClassesWithGeneric002()
106 + Integer.toHexString(JDWPConstants.ClassStatus.PRIMITIVE) in testAllClassesWithGeneric002()
108 + JDWPConstants.ClassStatus.getName(JDWPConstants.ClassStatus.PRIMITIVE) in testAllClassesWithGeneric002()
168 refTypeTagName = JDWPConstants.TypeTag.getName(refTypeTag); in testAllClassesWithGeneric001()
[all …]

1234567