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
61 logWriter.println("==> " + thisTestName + " for " + thisCommandName in runTestInstances()
86 logWriter.println("=> CHECK: send " + thisCommandName in runTestInstances()
116 assertEquals(thisCommandName + "returned instances number is wrong.", in runTestInstances()
124 assertEquals(thisCommandName in runTestInstances()
133 printErrorAndFail(thisCommandName in runTestInstances()
141 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in runTestInstances()
210 logWriter.println("==> " + thisTestName + " for " + thisCommandName in testInstances_String()
217 logWriter.println("=> CHECK: send " + thisCommandName in testInstances_String()
237 assertEquals(thisCommandName + "returned String tag is invalid.", in testInstances_String()
[all …]
DClassLoaderTest.java43 static final String thisCommandName = "ReferenceType.ClassLoader command"; field in ClassLoaderTest
77 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testClassLoader003()
102 checkReplyPacket(classLoaderReply, thisCommandName, JDWPConstants.Error.INVALID_CLASS); in testClassLoader003()
105 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testClassLoader003()
112 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in classLoaderTest()
119 logWriter.println("=> CHECK1: send " + thisCommandName + " and check reply for ERROR..."); in classLoaderTest()
128 checkReplyPacket(classLoaderReply, thisCommandName); in classLoaderTest()
141 isClassLoader(returnedClassLoaderID, thisCommandName)); in classLoaderTest()
144 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in classLoaderTest()
152 private boolean isClassLoader(long classLoaderObjectID, String thisCommandName) { in isClassLoader() argument
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()
DConstantPoolTest.java41 static final String thisCommandName = "ReferenceType.ConstantPool command"; field in ConstantPoolTest
69 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testConstantPool001()
77 logWriter.println("=> CHECK: send " + thisCommandName + " and check reply..."); in testConstantPool001()
87 checkReplyPacket(ConstantPoolReply, thisCommandName); in testConstantPool001()
110 printErrorAndFail(thisCommandName + "has error in reading target class file!"); in testConstantPool001()
117 …assertEquals(thisCommandName + "returned invalid entry count,", expectedEntryCount, returnedEntryC… in testConstantPool001()
125 …assertEquals(thisCommandName + "returned invalid entry count,", bytes[startIndex+i], returnedCpByt… in testConstantPool001()
132 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testConstantPool001()
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()
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()
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()
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()
DSourceDebugExtensionTest.java43 static final String thisCommandName = "ReferenceType.SourceDebugExtension command"; field in SourceDebugExtensionTest
67 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testSourceDebugExtension001()
74 logWriter.println("=> CHECK: send " + thisCommandName + " and check reply..."); in testSourceDebugExtension001()
103 … logWriter.println("\n## FAILURE: " + thisCommandName + " returns unexpected ERROR = " in testSourceDebugExtension001()
105 fail(thisCommandName + " returns unexpected ERROR = " in testSourceDebugExtension001()
114 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
64 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testMonitorInfo001()
116 ("\n=> CHECK 1: send " + thisCommandName + " for checked ObjectID and check reply..."); in testMonitorInfo001()
129 logWriter.println("=> " + thisCommandName + " returns ERROR = " + errorCode in testMonitorInfo001()
134 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testMonitorInfo001()
136 checkReplyPacket(checkedReply, thisCommandName); in testMonitorInfo001()
143 ("## FAILURE: " + thisCommandName + " returns unexpected monitorOwnerThreadID:" + in testMonitorInfo001()
147 thisCommandName + " returns unexpected monitorOwnerThreadID: " + in testMonitorInfo001()
156 ("## FAILURE: " + thisCommandName + " returns unexpected monitorEntryCount:"); in testMonitorInfo001()
159 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
96 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in DoTestReferringObjects()
148 …assertEquals(thisCommandName + "returned instances number is wrong.", expectedReferringObjNum, ref… in DoTestReferringObjects()
158 assertEquals(thisCommandName in DoTestReferringObjects()
167 printErrorAndFail(thisCommandName in DoTestReferringObjects()
175 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in DoTestReferringObjects()
189 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testReferringObjects_IllegalArgument()
234 …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
118 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testRedefineClasses001()
128 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testRedefineClasses001()
162 logWriter.println("\n=> Preparing info for " + thisCommandName); in testRedefineClasses001()
174 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testRedefineClasses001()
186 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testRedefineClasses001()
208 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testRedefineClasses001()
230 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testRedefineClasses001()
243 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testRedefineClasses001()
247 logWriter.println("\n=> Send " + thisCommandName + " and check reply..."); in testRedefineClasses001()
[all …]
DInstanceCountsTest.java35 static final String thisCommandName = "VirtualMachine.InstanceCounts command "; field in InstanceCountsTest
57 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testInstanceCounts_Normal()
82 logWriter.println("=> CHECK: send " + thisCommandName in testInstanceCounts_Normal()
110 assertEquals(thisCommandName + "returned reference types count is wrong.", in testInstanceCounts_Normal()
116 assertEquals(thisCommandName + "returned instance count of MockClass1 is wrong.", in testInstanceCounts_Normal()
122 assertEquals(thisCommandName + "returned instance count of MockClass2 is wrong.", in testInstanceCounts_Normal()
128 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testInstanceCounts_Normal()
142 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testInstanceCounts_IllegalArgument()
169 …printErrorAndFail(thisCommandName + " should throw ILLEGAL_ARGUMENT exception when refTypesCount i… in testInstanceCounts_IllegalArgument()
182 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testInstanceCounts_Zero()
[all …]
/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
78 logWriter.println("==> " + thisTestName + " for " + thisCommandName in RunTestForceEarlyReturn()
113 logWriter.println("==> Perform " + thisCommandName); in RunTestForceEarlyReturn()
129 printErrorAndFail(thisCommandName in RunTestForceEarlyReturn()
233 logWriter.println("==> " + thisTestName + " for " + thisCommandName in testForceEarlyReturn_NotSuspended()
263 logWriter.println("==> Perform " + thisCommandName); in testForceEarlyReturn_NotSuspended()
279 printErrorAndFail(thisCommandName in testForceEarlyReturn_NotSuspended()
/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()

12