Home
last modified time | relevance | path

Searched refs:thisCommandName (Results 1 – 25 of 47) sorted by relevance

12

/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ReferenceType/
DSignature002Test.java42 static final String thisCommandName = "ReferenceType.Signature command"; field in Signature002Test
61 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testSignature002()
93 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testSignature002()
116 … ("\n=> CHECK: send " + thisCommandName + " for checked ObjectID: INVALID_CLASS is expected..."); in testSignature002()
129 logWriter.println("## CHECK: FAILURE: " + thisCommandName in testSignature002()
132 fail(thisCommandName in testSignature002()
140 … ("\n## FAILURE: " + thisCommandName + " does NOT return expected error - INVALID_CLASS"); in testSignature002()
141 fail(thisCommandName + " does NOT return expected error - INVALID_CLASS"); in testSignature002()
145 … ("\n=> CHECK: send " + thisCommandName + " for checked fieldID: INVALID_OBJECT is expected..."); in testSignature002()
158 logWriter.println("## CHECK: FAILURE: " + thisCommandName in testSignature002()
[all …]
DInstancesTest.java37 static final String thisCommandName = "ReferenceType.Instances command"; field in InstancesTest
71 logWriter.println("==> " + thisTestName + " for " + thisCommandName in runTestInstances()
96 logWriter.println("=> CHECK: send " + thisCommandName in runTestInstances()
126 assertEquals(thisCommandName + "returned instances number is wrong.", in runTestInstances()
134 assertEquals(thisCommandName in runTestInstances()
143 printErrorAndFail(thisCommandName in runTestInstances()
151 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in runTestInstances()
230 logWriter.println("==> " + thisTestName + " for " + thisCommandName in testInstances_String()
237 logWriter.println("=> CHECK: send " + thisCommandName in testInstances_String()
257 assertEquals(thisCommandName + "returned String tag is invalid.", in testInstances_String()
[all …]
DClassFileVersionTest.java36 static final String thisCommandName = "ReferenceType.ClassFileVersion command"; field in ClassFileVersionTest
56 logWriter.println("==> " + thisTestName + " for " + thisCommandName in testClassFileVersion001()
65 logWriter.println("=> CHECK: send " + thisCommandName in testClassFileVersion001()
76 checkReplyPacket(classFileVersionReply, thisCommandName); in testClassFileVersion001()
94 printErrorAndFail(thisCommandName + "has error in reading target class file!"); in testClassFileVersion001()
97 …assertEquals(thisCommandName + "returned invalid majorVersion,", expectedMajorVersion, majorVersio… in testClassFileVersion001()
98 …assertEquals(thisCommandName + "returned invalid minorVersion,", expectedMinorVersion, minorVersio… in testClassFileVersion001()
105 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testClassFileVersion001()
DSignatureWithGenericTest.java42 static final String thisCommandName = "ReferenceType.SignatureWithGeneric command"; field in SignatureWithGenericTest
59 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testSignatureWithGeneric001()
66 logWriter.println("=> CHECK1: send " + thisCommandName + " and check reply..."); in testSignatureWithGeneric001()
75 checkReplyPacket(signatureWithGenericReply, thisCommandName); in testSignatureWithGeneric001()
80 assertString(thisCommandName + " returned invalid signature,", in testSignatureWithGeneric001()
82 assertString(thisCommandName + " returned invalid generic signature,", in testSignatureWithGeneric001()
90 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testSignatureWithGeneric001()
DConstantPoolTest.java41 static final String thisCommandName = "ReferenceType.ConstantPool command"; field in ConstantPoolTest
72 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testConstantPool001()
80 logWriter.println("=> CHECK: send " + thisCommandName + " and check reply..."); in testConstantPool001()
90 checkReplyPacket(ConstantPoolReply, thisCommandName); in testConstantPool001()
113 printErrorAndFail(thisCommandName + "has error in reading target class file!"); in testConstantPool001()
120 …assertEquals(thisCommandName + "returned invalid entry count,", expectedEntryCount, returnedEntryC… in testConstantPool001()
128 …assertEquals(thisCommandName + "returned invalid entry count,", bytes[startIndex+i], returnedCpByt… in testConstantPool001()
135 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testConstantPool001()
DModifiersTest.java42 static final String thisCommandName = "ReferenceType.Modifiers command"; field in ModifiersTest
61 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testModifiers001()
69 logWriter.println("=> CHECK1: send " + thisCommandName + " and check reply..."); in testModifiers001()
78 checkReplyPacket(modifiersReply, thisCommandName); in testModifiers001()
131 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testModifiers001()
153 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testModifiers002()
161 logWriter.println("=> CHECK1: send " + thisCommandName + " and check reply..."); in testModifiers002()
170 checkReplyPacket(modifiersReply, thisCommandName); in testModifiers002()
223 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testModifiers002()
DSignatureTest.java42 static final String thisCommandName = "ReferenceType.Signature command"; field in SignatureTest
59 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testSignature001()
66 logWriter.println("=> CHECK1: send " + thisCommandName + " and check reply..."); in testSignature001()
75 checkReplyPacket(signatureReply, thisCommandName); in testSignature001()
80 printErrorAndFail(thisCommandName + " returned invalid signature" + in testSignature001()
89 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testSignature001()
DStatusTest.java42 static final String thisCommandName = "ReferenceType.Status command"; field in StatusTest
58 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testStatus001()
65 logWriter.println("=> CHECK: send " + thisCommandName + " and check reply..."); in testStatus001()
74 checkReplyPacket(checkedReply, thisCommandName); in testStatus001()
106 logWriter.println("\n## FAILURE: " + thisCommandName in testStatus001()
113 thisCommandName in testStatus001()
130 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testStatus001()
DSourceFileTest.java42 static final String thisCommandName = "ReferenceType.SourceFile command"; field in SourceFileTest
58 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testSourceFile001()
66 logWriter.println("=> CHECK: send " + thisCommandName + " and check reply..."); in testSourceFile001()
75 checkReplyPacket(sourceFileReply, thisCommandName); in testSourceFile001()
80 assertString(thisCommandName + " returned invalid source file,", in testSourceFile001()
88 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testSourceFile001()
DGetValues002Test.java44 static final String thisCommandName = "ReferenceType.GetValues command"; field in GetValues002Test
62 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testGetValues002()
87 logWriter.println("=> CHECK: send " + thisCommandName + " and check reply..."); in testGetValues002()
103 logWriter.println("## Reply packet CHECK: FAILURE: " + thisCommandName in testGetValues002()
106 fail(thisCommandName in testGetValues002()
112 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testGetValues002()
116 ("\n## FAILURE: " + thisCommandName + " does NOT return expected error - INVALID_FIELDID"); in testGetValues002()
187 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testGetValues002()
189 fail(thisCommandName + " does NOT return expected error - INVALID_FIELDID"); in testGetValues002()
DClassLoaderTest.java42 static final String thisCommandName = "ReferenceType.ClassLoader command"; field in ClassLoaderTest
58 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testClassLoader001()
65 logWriter.println("=> CHECK1: send " + thisCommandName + " and check reply for ERROR..."); in testClassLoader001()
74 checkReplyPacket(classLoaderReply, thisCommandName); in testClassLoader001()
82 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testClassLoader001()
DSourceDebugExtensionTest.java43 static final String thisCommandName = "ReferenceType.SourceDebugExtension command"; field in SourceDebugExtensionTest
69 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testSourceDebugExtension001()
76 logWriter.println("=> CHECK: send " + thisCommandName + " and check reply..."); in testSourceDebugExtension001()
105 … logWriter.println("\n## FAILURE: " + thisCommandName + " returns unexpected ERROR = " in testSourceDebugExtension001()
107 fail(thisCommandName + " returns unexpected ERROR = " in testSourceDebugExtension001()
116 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testSourceDebugExtension001()
DGetValues005Test.java43 static final String thisCommandName = "ReferenceType.GetValues command"; field in GetValues005Test
60 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testGetValues005()
83 ("=> CHECK: send " + thisCommandName in testGetValues005()
98 checkReplyPacket(checkedReply, thisCommandName); in testGetValues005()
106 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testGetValues005()
143 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": OK."); in testGetValues005()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ObjectReference/
DMonitorInfoTest.java42 static final String thisCommandName = "ObjectReference.MonitorInfo command"; field in MonitorInfoTest
74 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testMonitorInfo001()
126 ("\n=> CHECK 1: send " + thisCommandName + " for checked ObjectID and check reply..."); in testMonitorInfo001()
139 logWriter.println("=> " + thisCommandName + " returns ERROR = " + errorCode in testMonitorInfo001()
144 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testMonitorInfo001()
146 checkReplyPacket(checkedReply, thisCommandName); in testMonitorInfo001()
153 ("## FAILURE: " + thisCommandName + " returns unexpected monitorOwnerThreadID:" + in testMonitorInfo001()
157 thisCommandName + " returns unexpected monitorOwnerThreadID: " + in testMonitorInfo001()
166 ("## FAILURE: " + thisCommandName + " returns unexpected monitorEntryCount:"); in testMonitorInfo001()
169 thisCommandName + " returns unexpected monitorEntryCount:" + in testMonitorInfo001()
[all …]
DIsCollectedTest.java43 static final String thisCommandName = "ObjectReference.IsCollected command"; field in IsCollectedTest
63 logWriter.println("==> " + thisTestName + " for " + thisCommandName in testIsCollected001()
151 logWriter.println("\n=> Send " + thisCommandName in testIsCollected001()
162 checkReplyPacket(checkedReply, thisCommandName); in testIsCollected001()
173 + thisCommandName + ":"); in testIsCollected001()
178 + thisCommandName + "\n"; in testIsCollected001()
184 + thisCommandName + ":"); in testIsCollected001()
189 + thisCommandName + "\n"; in testIsCollected001()
195 logWriter.println("\n=> Send " + thisCommandName in testIsCollected001()
205 checkReplyPacket(checkedReply, thisCommandName); in testIsCollected001()
[all …]
DDisableCollectionTest.java43 static final String thisCommandName = "ObjectReference::DisableCollection command"; field in DisableCollectionTest
62 logWriter.println("==> " + thisTestName + " for " + thisCommandName in testDisableCollection001()
110 logWriter.println("\n=> CHECK: send " + thisCommandName in testDisableCollection001()
121 checkReplyPacket(checkedReply, thisCommandName); in testDisableCollection001()
133 + thisCommandName); in testDisableCollection001()
134 fail("Checked Object is UNLOADed after " + thisCommandName); in testDisableCollection001()
138 + thisCommandName); in testDisableCollection001()
143 logWriter.println("==> " + thisTestName + " for " + thisCommandName in testDisableCollection001()
186 checkReplyPacket(reply, thisCommandName, expectedErrorCode); in disableCollection()
DSetValues002Test.java44 static final String thisCommandName = "ObjectReference.SetValues command"; field in SetValues002Test
62 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testSetValues002()
106 ("=> CHECK: send " + thisCommandName in testSetValues002()
132 logWriter.println("## CHECK: FAILURE: " + thisCommandName in testSetValues002()
135 fail(thisCommandName in testSetValues002()
143 … ("\n## FAILURE: " + thisCommandName + " does NOT return expected error - INVALID_OBJECT"); in testSetValues002()
144 fail(thisCommandName + " does NOT return expected error - INVALID_OBJECT"); in testSetValues002()
150 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testSetValues002()
DEnableCollectionTest.java45 static final String thisCommandName = "ObjectReference::EnableCollection command"; field in EnableCollectionTest
63 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testEnableCollection001()
119 ("\n=> CHECK: Send " + thisCommandName + " for checked ObjectID..."); in testEnableCollection001()
128 checkReplyPacket(checkedReply, thisCommandName); in testEnableCollection001()
141 ("## FAILURE: Checked Object is NOT UNLOADed after " + thisCommandName ); in testEnableCollection001()
142 fail("Checked Object is NOT UNLOADed after " + thisCommandName); in testEnableCollection001()
151 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testEnableCollection001()
191 checkReplyPacket(reply, thisCommandName, expectedErrorCode); in enableCollection()
DReferringObjectsTest.java39 static final String thisCommandName = "ObjectReference.ReferringObjects command"; field in ReferringObjectsTest
110 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in DoTestReferringObjects()
162 …assertEquals(thisCommandName + "returned instances number is wrong.", expectedReferringObjNum, ref… in DoTestReferringObjects()
172 assertEquals(thisCommandName in DoTestReferringObjects()
181 printErrorAndFail(thisCommandName in DoTestReferringObjects()
189 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in DoTestReferringObjects()
208 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testReferringObjects_IllegalArgument()
253 …printErrorAndFail(thisCommandName + " should throw ILLEGAL_ARGUMENT exception when maxReferrers is… in testReferringObjects_IllegalArgument()
DReferenceTypeTest.java44 static final String thisCommandName = "ObjectReference.ReferenceType command"; field in ReferenceTypeTest
61 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testReferenceType001()
120 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testReferenceType001()
157 … logWriter.println("=> CHECK: send " + thisCommandName + " for this objectID and check reply..."); in testReferenceType001()
165 checkReplyPacket(checkedReply, thisCommandName); in testReferenceType001()
173 ("\n## FAILURE: " + thisCommandName + " returned unexpected refTypeTag:"); in testReferenceType001()
178 thisCommandName + " returned unexpected refTypeTag: " + in testReferenceType001()
215 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testReferenceType001()
DSetValues003Test.java44 static final String thisCommandName = "ObjectReference.SetValues command"; field in SetValues003Test
62 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testSetValues003()
106 ("=> CHECK: send " + thisCommandName in testSetValues003()
129 logWriter.println("=> " + thisCommandName in testSetValues003()
132 logWriter.println("=> " + thisCommandName in testSetValues003()
147 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": OK."); in testSetValues003()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/
DRedefineClassesTest.java46 static final String thisCommandName = "VirtualMachine::RedefineClasses command"; field in RedefineClassesTest
120 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testRedefineClasses001()
130 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testRedefineClasses001()
164 logWriter.println("\n=> Preparing info for " + thisCommandName); in testRedefineClasses001()
176 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testRedefineClasses001()
188 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testRedefineClasses001()
210 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testRedefineClasses001()
232 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testRedefineClasses001()
245 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testRedefineClasses001()
249 logWriter.println("\n=> Send " + thisCommandName + " and check reply..."); in testRedefineClasses001()
[all …]
DInstanceCountsTest.java35 static final String thisCommandName = "VirtualMachine.InstanceCounts command "; field in InstanceCountsTest
71 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testInstanceCounts_Normal()
96 logWriter.println("=> CHECK: send " + thisCommandName in testInstanceCounts_Normal()
124 assertEquals(thisCommandName + "returned reference types count is wrong.", in testInstanceCounts_Normal()
130 assertEquals(thisCommandName + "returned instance count of MockClass1 is wrong.", in testInstanceCounts_Normal()
136 assertEquals(thisCommandName + "returned instance count of MockClass2 is wrong.", in testInstanceCounts_Normal()
142 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testInstanceCounts_Normal()
161 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testInstanceCounts_IllegalArgument()
188 …printErrorAndFail(thisCommandName + " should throw ILLEGAL_ARGUMENT exception when refTypesCount i… in testInstanceCounts_IllegalArgument()
206 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testInstanceCounts_Zero()
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ClassType/
DSetValues002Test.java44 static final String thisCommandName = "ClassType::SetValues command"; field in SetValues002Test
59 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testSetValues002()
122 ("=> CHECK: send " + thisCommandName in testSetValues002()
145 logWriter.println("=> " + thisCommandName in testSetValues002()
148 logWriter.println("=> " + thisCommandName in testSetValues002()
163 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": OK"); in testSetValues002()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/
DForceEarlyReturnTest.java36 static final String thisCommandName = "ThreadReference.ForceEarlyReturn command "; field in ForceEarlyReturnTest
87 logWriter.println("==> " + thisTestName + " for " + thisCommandName in RunTestForceEarlyReturn()
122 logWriter.println("==> Perform " + thisCommandName); in RunTestForceEarlyReturn()
138 printErrorAndFail(thisCommandName in RunTestForceEarlyReturn()
242 logWriter.println("==> " + thisTestName + " for " + thisCommandName in testForceEarlyReturn_NotSuspended()
272 logWriter.println("==> Perform " + thisCommandName); in testForceEarlyReturn_NotSuspended()
288 printErrorAndFail(thisCommandName in testForceEarlyReturn_NotSuspended()

12