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
59 logWriter.println("==> " + thisTestName + " for " + thisCommandName in runTestInstances()
84 logWriter.println("=> CHECK: send " + thisCommandName in runTestInstances()
114 assertEquals(thisCommandName + "returned instances number is wrong.", in runTestInstances()
122 assertEquals(thisCommandName in runTestInstances()
131 printErrorAndFail(thisCommandName in runTestInstances()
139 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in runTestInstances()
208 logWriter.println("==> " + thisTestName + " for " + thisCommandName in testInstances_String()
215 logWriter.println("=> CHECK: send " + thisCommandName in testInstances_String()
235 assertEquals(thisCommandName + "returned String tag is invalid.", in testInstances_String()
[all …]
DClassFileVersionTest.java36 static final String thisCommandName = "ReferenceType.ClassFileVersion command"; field in ClassFileVersionTest
55 logWriter.println("==> " + thisTestName + " for " + thisCommandName in testClassFileVersion001()
64 logWriter.println("=> CHECK: send " + thisCommandName in testClassFileVersion001()
75 checkReplyPacket(classFileVersionReply, thisCommandName); in testClassFileVersion001()
93 printErrorAndFail(thisCommandName + "has error in reading target class file!"); in testClassFileVersion001()
96 …assertEquals(thisCommandName + "returned invalid majorVersion,", expectedMajorVersion, majorVersio… in testClassFileVersion001()
97 …assertEquals(thisCommandName + "returned invalid minorVersion,", expectedMinorVersion, minorVersio… in testClassFileVersion001()
104 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.java43 static final String thisCommandName = "ReferenceType.Modifiers command"; field in ModifiersTest
75 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testModifiers001()
83 logWriter.println("=> CHECK1: send " + thisCommandName + " and check reply..."); in testModifiers001()
92 checkReplyPacket(modifiersReply, thisCommandName); in testModifiers001()
139 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testModifiers001()
161 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testModifiers002()
169 logWriter.println("=> CHECK1: send " + thisCommandName + " and check reply..."); in testModifiers002()
178 checkReplyPacket(modifiersReply, thisCommandName); in testModifiers002()
231 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testModifiers002()
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()
DSignatureTest.java43 static final String thisCommandName = "ReferenceType.Signature command"; field in SignatureTest
61 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testSignature001()
68 logWriter.println("=> CHECK1: send " + thisCommandName + " and check reply..."); in testSignature001()
77 checkReplyPacket(signatureReply, thisCommandName); in testSignature001()
82 printErrorAndFail(thisCommandName + " returned invalid signature" + in testSignature001()
91 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testSignature001()
DClassLoaderTest.java44 static final String thisCommandName = "ReferenceType.ClassLoader command"; field in ClassLoaderTest
79 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testClassLoader003()
104 checkReplyPacket(classLoaderReply, thisCommandName, JDWPConstants.Error.INVALID_CLASS); in testClassLoader003()
107 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testClassLoader003()
114 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in classLoaderTest()
121 logWriter.println("=> CHECK1: send " + thisCommandName + " and check reply for ERROR..."); in classLoaderTest()
130 checkReplyPacket(classLoaderReply, thisCommandName); in classLoaderTest()
145 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in classLoaderTest()
DSourceDebugExtensionTest.java44 static final String thisCommandName = "ReferenceType.SourceDebugExtension command"; field in SourceDebugExtensionTest
63 logWriter.println("==> " + testName + " for " + thisCommandName + ": START..."); in doTest()
68 logWriter.println("=> CHECK: send " + thisCommandName + " and check reply..."); in doTest()
92 … logWriter.println("\n## FAILURE: " + thisCommandName + " returns unexpected ERROR = " in doTest()
94 fail(thisCommandName + " returns unexpected ERROR = " in doTest()
103 logWriter.println("==> " + testName + " for " + thisCommandName + ": FINISH"); in doTest()
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
62 logWriter.println("==> " + thisTestName + " for " + thisCommandName in testIsCollected001()
150 logWriter.println("\n=> Send " + thisCommandName in testIsCollected001()
161 checkReplyPacket(checkedReply, thisCommandName); in testIsCollected001()
172 + thisCommandName + ":"); in testIsCollected001()
177 + thisCommandName + "\n"; in testIsCollected001()
183 + thisCommandName + ":"); in testIsCollected001()
188 + thisCommandName + "\n"; in testIsCollected001()
194 logWriter.println("\n=> Send " + thisCommandName in testIsCollected001()
204 checkReplyPacket(checkedReply, thisCommandName); in testIsCollected001()
[all …]
DDisableCollectionTest.java43 static final String thisCommandName = "ObjectReference::DisableCollection command"; field in DisableCollectionTest
61 logWriter.println("==> " + thisTestName + " for " + thisCommandName in testDisableCollection001()
109 logWriter.println("\n=> CHECK: send " + thisCommandName in testDisableCollection001()
120 checkReplyPacket(checkedReply, thisCommandName); in testDisableCollection001()
132 + thisCommandName); in testDisableCollection001()
133 fail("Checked Object is UNLOADed after " + thisCommandName); in testDisableCollection001()
137 + thisCommandName); in testDisableCollection001()
142 logWriter.println("==> " + thisTestName + " for " + thisCommandName in testDisableCollection001()
185 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()
DReferringObjectsTest.java37 static final String thisCommandName = "ObjectReference.ReferringObjects command"; field in ReferringObjectsTest
93 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in DoTestReferringObjects()
145 …assertEquals(thisCommandName + "returned instances number is wrong.", expectedReferringObjNum, ref… in DoTestReferringObjects()
155 assertEquals(thisCommandName in DoTestReferringObjects()
164 printErrorAndFail(thisCommandName in DoTestReferringObjects()
172 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in DoTestReferringObjects()
186 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testReferringObjects_IllegalArgument()
231 …printErrorAndFail(thisCommandName + " should throw ILLEGAL_ARGUMENT exception when maxReferrers is… in testReferringObjects_IllegalArgument()
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()
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.java47 static final String thisCommandName = "VirtualMachine::RedefineClasses command"; field in RedefineClassesTest
110 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in getNewClassBytesClass()
124 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in getNewClassBytesClass()
135 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in getNewClassBytesClass()
157 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in getNewClassBytesClass()
169 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in getNewClassBytesClass()
177 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in getNewClassBytesClass()
243 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testRedefineClasses001()
275 logWriter.println("\n=> Preparing info for " + thisCommandName); in testRedefineClasses001()
293 logWriter.println("\n=> Send " + thisCommandName + " and check reply..."); in testRedefineClasses001()
[all …]
DInstanceCountsTest.java35 static final String thisCommandName = "VirtualMachine.InstanceCounts command "; field in InstanceCountsTest
56 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testInstanceCounts_Normal()
81 logWriter.println("=> CHECK: send " + thisCommandName in testInstanceCounts_Normal()
109 assertEquals(thisCommandName + "returned reference types count is wrong.", in testInstanceCounts_Normal()
115 assertEquals(thisCommandName + "returned instance count of MockClass1 is wrong.", in testInstanceCounts_Normal()
121 assertEquals(thisCommandName + "returned instance count of MockClass2 is wrong.", in testInstanceCounts_Normal()
127 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH"); in testInstanceCounts_Normal()
141 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START..."); in testInstanceCounts_IllegalArgument()
168 …printErrorAndFail(thisCommandName + " should throw ILLEGAL_ARGUMENT exception when refTypesCount i… in testInstanceCounts_IllegalArgument()
181 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.java34 static final String thisCommandName = "ThreadReference.ForceEarlyReturn command "; field in ForceEarlyReturnTest
75 logWriter.println("==> " + thisTestName + " for " + thisCommandName in RunTestForceEarlyReturn()
110 logWriter.println("==> Perform " + thisCommandName); in RunTestForceEarlyReturn()
126 printErrorAndFail(thisCommandName in RunTestForceEarlyReturn()
230 logWriter.println("==> " + thisTestName + " for " + thisCommandName in testForceEarlyReturn_NotSuspended()
260 logWriter.println("==> Perform " + thisCommandName); in testForceEarlyReturn_NotSuspended()
276 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