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;
66 checkArrayValues(classID, fieldID, JDWPConstants.Error.NONE, 1, in testGetValues001()
67 1, JDWPConstants.Tag.OBJECT_TAG, JDWPConstants.Tag.THREAD_TAG, false); in testGetValues001()
72 checkArrayValues(classID, fieldID, JDWPConstants.Error.NONE, 1, in testGetValues001()
73 1, JDWPConstants.Tag.OBJECT_TAG, JDWPConstants.Tag.THREAD_GROUP_TAG, false); in testGetValues001()
78 checkArrayValues(classID, fieldID, JDWPConstants.Error.NONE, 1, in testGetValues001()
79 1, JDWPConstants.Tag.OBJECT_TAG, JDWPConstants.Tag.CLASS_OBJECT_TAG, false); in testGetValues001()
84 checkArrayValues(classID, fieldID, JDWPConstants.Error.NONE, 1, in testGetValues001()
85 1, JDWPConstants.Tag.OBJECT_TAG, JDWPConstants.Tag.CLASS_LOADER_TAG, false); in testGetValues001()
90 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 …]
DSingleStepTest.java32 import org.apache.harmony.jpda.tests.framework.jdwp.JDWPConstants;
56 stepFunction(JDWPConstants.StepSize.LINE, JDWPConstants.StepDepth.OVER); in testSingleStep1()
67 stepFunction(JDWPConstants.StepSize.LINE, JDWPConstants.StepDepth.INTO); in testSingleStep2()
77 stepFunction(JDWPConstants.StepSize.MIN, JDWPConstants.StepDepth.OVER); in testSingleStep3()
87 stepFunction(JDWPConstants.StepSize.MIN, JDWPConstants.StepDepth.INTO); in testSingleStep4()
129 .setNextValueAsByte(JDWPConstants.EventKind.SINGLE_STEP); in stepFunction()
130 setRequestCommand.setNextValueAsByte(JDWPConstants.SuspendPolicy.ALL); in stepFunction()
163 + JDWPConstants.EventKind.getName(parsedEvents[i].getEventKind()) + ")"); in stepFunction()
170 assertEquals("Invalid event kind,", JDWPConstants.EventKind.SINGLE_STEP, in stepFunction()
172 JDWPConstants.EventKind.getName(JDWPConstants.EventKind.SINGLE_STEP), in stepFunction()
[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 …]
DCombinedEventsTest.java31 import org.apache.harmony.jpda.tests.framework.jdwp.JDWPConstants;
74 JDWPConstants.EventKind.METHOD_ENTRY, in testCombinedEvents_01()
75 JDWPConstants.EventKind.SINGLE_STEP, in testCombinedEvents_01()
76 JDWPConstants.EventKind.BREAKPOINT, in testCombinedEvents_01()
131 .setNextValueAsByte(JDWPConstants.EventKind.SINGLE_STEP); in testCombinedEvents_01()
132 setRequestCommand.setNextValueAsByte(JDWPConstants.SuspendPolicy.ALL); in testCombinedEvents_01()
136 setRequestCommand.setNextValueAsInt(JDWPConstants.StepSize.MIN); in testCombinedEvents_01()
137 setRequestCommand.setNextValueAsInt(JDWPConstants.StepDepth.INTO); in testCombinedEvents_01()
164 JDWPConstants.EventKind.METHOD_ENTRY, methodEntryRequestID); in testCombinedEvents_01()
170 JDWPConstants.EventKind.SINGLE_STEP, stepRequestID); in testCombinedEvents_01()
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ObjectReference/
DGetValuesTest.java30 import org.apache.harmony.jpda.tests.framework.jdwp.JDWPConstants;
105 + "(" + JDWPConstants.Tag.getName(checkedObjectFieldTag) + ")"); in testGetValues001()
106 …assertEquals("Invalid value tag for checked object,", JDWPConstants.Tag.OBJECT_TAG, checkedObjectF… in testGetValues001()
107 , JDWPConstants.Tag.getName(JDWPConstants.Tag.OBJECT_TAG) in testGetValues001()
108 , JDWPConstants.Tag.getName(checkedObjectFieldTag)); in testGetValues001()
134 JDWPConstants.Tag.INT_TAG, in testGetValues001()
135 JDWPConstants.Tag.LONG_TAG, in testGetValues001()
136 JDWPConstants.Tag.OBJECT_TAG, in testGetValues001()
137 JDWPConstants.Tag.ARRAY_TAG, in testGetValues001()
138 JDWPConstants.Tag.ARRAY_TAG, in testGetValues001()
[all …]
DGetValues002Test.java30 import org.apache.harmony.jpda.tests.framework.jdwp.JDWPConstants;
106 + "(" + JDWPConstants.Tag.getName(checkedObjectFieldTag) + ")"); in testGetValues002()
107 …assertEquals("Invalid value tag for checked object,", JDWPConstants.Tag.OBJECT_TAG, checkedObjectF… in testGetValues002()
108 , JDWPConstants.Tag.getName(JDWPConstants.Tag.OBJECT_TAG) in testGetValues002()
109 , JDWPConstants.Tag.getName(checkedObjectFieldTag)); in testGetValues002()
135 JDWPConstants.Tag.LONG_TAG, in testGetValues002()
136 JDWPConstants.Tag.INT_TAG, in testGetValues002()
137 JDWPConstants.Tag.STRING_TAG, in testGetValues002()
138 JDWPConstants.Tag.OBJECT_TAG, in testGetValues002()
139 JDWPConstants.Tag.BOOLEAN_TAG, in testGetValues002()
[all …]
DGetValues003Test.java31 import org.apache.harmony.jpda.tests.framework.jdwp.JDWPConstants;
105 + "(" + JDWPConstants.Tag.getName(checkedObjectFieldTag) + ")"); in testGetValues003()
106 …assertEquals("Invalid value tag for checked object,", JDWPConstants.Tag.OBJECT_TAG, checkedObjectF… in testGetValues003()
107 , JDWPConstants.Tag.getName(JDWPConstants.Tag.OBJECT_TAG) in testGetValues003()
108 , JDWPConstants.Tag.getName(checkedObjectFieldTag)); in testGetValues003()
137 JDWPConstants.Tag.ARRAY_TAG, in testGetValues003()
138 JDWPConstants.Tag.ARRAY_TAG, in testGetValues003()
139 JDWPConstants.Tag.OBJECT_TAG, in testGetValues003()
140 JDWPConstants.Tag.STRING_TAG, in testGetValues003()
141 JDWPConstants.Tag.THREAD_TAG, in testGetValues003()
[all …]
DInvokeMethodTest.java30 import org.apache.harmony.jpda.tests.framework.jdwp.JDWPConstants;
65 packet.setNextValueAsByte(JDWPConstants.EventKind.METHOD_ENTRY); in setEventRequest()
66 packet.setNextValueAsByte(JDWPConstants.SuspendPolicy.ALL); in setEventRequest()
85 .receiveCertainEvent(JDWPConstants.EventKind.METHOD_ENTRY); in waitEvent()
112 packet.setNextValueAsByte(JDWPConstants.EventKind.METHOD_ENTRY); in clearEvent()
150 assertEquals("Invalid object tag,", JDWPConstants.Tag.OBJECT_TAG, newObject.tag in makeNewInstance()
151 , JDWPConstants.Tag.getName(JDWPConstants.Tag.OBJECT_TAG) in makeNewInstance()
152 , JDWPConstants.Tag.getName(newObject.tag)); in makeNewInstance()
156 assertEquals("Invalid exception.tag,", JDWPConstants.Tag.OBJECT_TAG, exception.tag in makeNewInstance()
157 , 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;
101 if ( errorCode != JDWPConstants.Error.NONE ) { in testGetValues002()
102 if ( errorCode != JDWPConstants.Error.INVALID_FIELDID ) { in testGetValues002()
105 + "(" + JDWPConstants.Error.getName(errorCode) + ")"); in testGetValues002()
108 + "(" + JDWPConstants.Error.getName(errorCode) + ")"); in testGetValues002()
123 JDWPConstants.Tag.LONG_TAG, in testGetValues002()
124 JDWPConstants.Tag.INT_TAG, in testGetValues002()
125 JDWPConstants.Tag.OBJECT_TAG, in testGetValues002()
126 JDWPConstants.Tag.OBJECT_TAG, in testGetValues002()
127 JDWPConstants.Tag.BOOLEAN_TAG, in testGetValues002()
[all …]
DGetValues005Test.java31 import org.apache.harmony.jpda.tests.framework.jdwp.JDWPConstants;
110 JDWPConstants.Tag.ARRAY_TAG, in testGetValues005()
111 JDWPConstants.Tag.ARRAY_TAG, in testGetValues005()
112 JDWPConstants.Tag.OBJECT_TAG, in testGetValues005()
113 JDWPConstants.Tag.STRING_TAG, in testGetValues005()
114 JDWPConstants.Tag.THREAD_TAG, in testGetValues005()
115 JDWPConstants.Tag.THREAD_GROUP_TAG, in testGetValues005()
116 JDWPConstants.Tag.CLASS_OBJECT_TAG, in testGetValues005()
117 JDWPConstants.Tag.CLASS_LOADER_TAG, in testGetValues005()
126 + "(" + JDWPConstants.Tag.getName(fieldTag) + ")"); in testGetValues005()
[all …]
DSignature002Test.java30 import org.apache.harmony.jpda.tests.framework.jdwp.JDWPConstants;
102 + "(" + JDWPConstants.Tag.getName(checkedObjectFieldTag) + ")"); in testSignature002()
103 if ( checkedObjectFieldTag != JDWPConstants.Tag.OBJECT_TAG ) { in testSignature002()
108 JDWPConstants.Tag.getName(checkedObjectFieldTag) + ")" + in testSignature002()
109 ", Expected tag = " + JDWPConstants.Tag.OBJECT_TAG + "(OBJECT_TAG)"); in testSignature002()
127 if ( errorCode != JDWPConstants.Error.NONE ) { in testSignature002()
128 if ( errorCode != JDWPConstants.Error.INVALID_CLASS ) { in testSignature002()
131 + "(" + JDWPConstants.Error.getName(errorCode) + ")"); in testSignature002()
134 + "(" + JDWPConstants.Error.getName(errorCode) + ")"); in testSignature002()
156 if ( errorCode != JDWPConstants.Error.NONE ) { in testSignature002()
[all …]
DGetValuesTest.java30 import org.apache.harmony.jpda.tests.framework.jdwp.JDWPConstants;
108 JDWPConstants.Tag.INT_TAG, in testGetValues001()
109 JDWPConstants.Tag.LONG_TAG, in testGetValues001()
110 JDWPConstants.Tag.OBJECT_TAG, in testGetValues001()
111 JDWPConstants.Tag.STRING_TAG, in testGetValues001()
112 JDWPConstants.Tag.ARRAY_TAG, in testGetValues001()
120 + "(" + JDWPConstants.Tag.getName(fieldTag) + ")"); in testGetValues001()
123 , JDWPConstants.Tag.getName(expectedFieldTags[k]) in testGetValues001()
124 , JDWPConstants.Tag.getName(fieldTag)); in testGetValues001()
127 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;
84 …assertEquals("VirtualMachine::ClassesBySignature returned invalid TypeTag,", JDWPConstants.TypeTag… in testNewInstance001()
85 , JDWPConstants.TypeTag.getName(JDWPConstants.TypeTag.CLASS) in testNewInstance001()
86 , JDWPConstants.TypeTag.getName(refTypeTag)); in testNewInstance001()
95 packet.setNextValueAsByte(JDWPConstants.EventKind.METHOD_ENTRY); in testNewInstance001()
96 packet.setNextValueAsByte(JDWPConstants.SuspendPolicy.ALL); in testNewInstance001()
112 .receiveCertainEvent(JDWPConstants.EventKind.METHOD_ENTRY); in testNewInstance001()
137 packet.setNextValueAsByte(JDWPConstants.EventKind.METHOD_ENTRY); in testNewInstance001()
166 …assertEquals("ClassType::NewInstance returned invalid newObject.tag,", JDWPConstants.Tag.OBJECT_TA… in testNewInstance001()
167 , 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;
172 if ( errorCode != JDWPConstants.Error.NONE ) { in testResume001()
175 + "(" + JDWPConstants.Error.getName(errorCode) + ")"); in testResume001()
200 + JDWPConstants.ThreadStatus.getName(threadStatus) + ")"); in testResume001()
202 + JDWPConstants.SuspendStatus.getName(suspendStatus) + ")"); in testResume001()
204 != JDWPConstants.SuspendStatus.SUSPEND_STATUS_SUSPENDED) { in testResume001()
207 + JDWPConstants.SuspendStatus.SUSPEND_STATUS_SUSPENDED in testResume001()
208 + "(" + JDWPConstants.SuspendStatus.getName in testResume001()
209 (JDWPConstants.SuspendStatus.SUSPEND_STATUS_SUSPENDED) +")"); in testResume001()
240 + 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