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/
H A DSignatureTest.java42 static final String thisCommandName = "ReferenceType.Signature command"; field in class:SignatureTest
59 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START...");
66 logWriter.println("=> CHECK1: send " + thisCommandName + " and check reply...");
75 checkReplyPacket(signatureReply, thisCommandName);
80 printErrorAndFail(thisCommandName + " returned invalid signature" +
89 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH");
H A DSignatureWithGenericTest.java42 static final String thisCommandName = "ReferenceType.SignatureWithGeneric command"; field in class:SignatureWithGenericTest
59 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START...");
66 logWriter.println("=> CHECK1: send " + thisCommandName + " and check reply...");
75 checkReplyPacket(signatureWithGenericReply, thisCommandName);
80 assertString(thisCommandName + " returned invalid signature,",
82 assertString(thisCommandName + " returned invalid generic signature,",
90 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH");
H A DClassLoaderTest.java42 static final String thisCommandName = "ReferenceType.ClassLoader command"; field in class:ClassLoaderTest
58 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START...");
65 logWriter.println("=> CHECK1: send " + thisCommandName + " and check reply for ERROR...");
74 checkReplyPacket(classLoaderReply, thisCommandName);
82 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH");
H A DSignature002Test.java42 static final String thisCommandName = "ReferenceType.Signature command"; field in class:Signature002Test
61 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START...");
93 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH");
116 ("\n=> CHECK: send " + thisCommandName + " for checked ObjectID: INVALID_CLASS is expected...");
129 logWriter.println("## CHECK: FAILURE: " + thisCommandName
132 fail(thisCommandName
140 ("\n## FAILURE: " + thisCommandName + " does NOT return expected error - INVALID_CLASS");
141 fail(thisCommandName + " does NOT return expected error - INVALID_CLASS");
145 ("\n=> CHECK: send " + thisCommandName + " for checked fieldID: INVALID_OBJECT is expected...");
158 logWriter.println("## CHECK: FAILURE: " + thisCommandName
[all...]
H A DSourceFileTest.java42 static final String thisCommandName = "ReferenceType.SourceFile command"; field in class:SourceFileTest
58 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START...");
66 logWriter.println("=> CHECK: send " + thisCommandName + " and check reply...");
75 checkReplyPacket(sourceFileReply, thisCommandName);
80 assertString(thisCommandName + " returned invalid source file,",
88 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH");
H A DClassFileVersionTest.java36 static final String thisCommandName = "ReferenceType.ClassFileVersion command"; field in class:ClassFileVersionTest
56 logWriter.println("==> " + thisTestName + " for " + thisCommandName
65 logWriter.println("=> CHECK: send " + thisCommandName
76 checkReplyPacket(classFileVersionReply, thisCommandName);
94 printErrorAndFail(thisCommandName + "has error in reading target class file!");
97 assertEquals(thisCommandName + "returned invalid majorVersion,", expectedMajorVersion, majorVersion, null, null);
98 assertEquals(thisCommandName + "returned invalid minorVersion,", expectedMinorVersion, minorVersion, null, null);
105 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH");
H A DConstantPoolTest.java41 static final String thisCommandName = "ReferenceType.ConstantPool command"; field in class:ConstantPoolTest
72 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START...");
80 logWriter.println("=> CHECK: send " + thisCommandName + " and check reply...");
90 checkReplyPacket(ConstantPoolReply, thisCommandName);
113 printErrorAndFail(thisCommandName + "has error in reading target class file!");
120 assertEquals(thisCommandName + "returned invalid entry count,", expectedEntryCount, returnedEntryCount, null, null);
128 assertEquals(thisCommandName + "returned invalid entry count,", bytes[startIndex+i], returnedCpByte, null, null);
135 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH");
H A DStatusTest.java42 static final String thisCommandName = "ReferenceType.Status command"; field in class:StatusTest
58 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START...");
65 logWriter.println("=> CHECK: send " + thisCommandName + " and check reply...");
74 checkReplyPacket(checkedReply, thisCommandName);
106 logWriter.println("\n## FAILURE: " + thisCommandName
113 thisCommandName
130 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH");
H A DInstancesTest.java37 static final String thisCommandName = "ReferenceType.Instances command"; field in class:InstancesTest
71 logWriter.println("==> " + thisTestName + " for " + thisCommandName
96 logWriter.println("=> CHECK: send " + thisCommandName
126 assertEquals(thisCommandName + "returned instances number is wrong.",
134 assertEquals(thisCommandName
143 printErrorAndFail(thisCommandName
151 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH");
230 logWriter.println("==> " + thisTestName + " for " + thisCommandName
237 logWriter.println("=> CHECK: send " + thisCommandName
257 assertEquals(thisCommandName
[all...]
H A DModifiersTest.java42 static final String thisCommandName = "ReferenceType.Modifiers command"; field in class:ModifiersTest
61 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START...");
69 logWriter.println("=> CHECK1: send " + thisCommandName + " and check reply...");
78 checkReplyPacket(modifiersReply, thisCommandName);
131 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH");
153 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START...");
161 logWriter.println("=> CHECK1: send " + thisCommandName + " and check reply...");
170 checkReplyPacket(modifiersReply, thisCommandName);
223 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH");
H A DSourceDebugExtensionTest.java43 static final String thisCommandName = "ReferenceType.SourceDebugExtension command"; field in class:SourceDebugExtensionTest
69 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START...");
76 logWriter.println("=> CHECK: send " + thisCommandName + " and check reply...");
105 logWriter.println("\n## FAILURE: " + thisCommandName + " returns unexpected ERROR = "
107 fail(thisCommandName + " returns unexpected ERROR = "
116 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH");
H A DInterfacesTest.java42 static final String thisCommandName = "ReferenceType.Interfaces command"; field in class:InterfacesTest
58 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START...");
67 logWriter.println("=> CHECK: send " + thisCommandName + " for Checked class and check reply...");
76 checkReplyPacket(checkedReply, thisCommandName);
150 logWriter.println("\n==> " + thisTestName + " for " + thisCommandName + ": OK.");
H A DGetValues005Test.java43 static final String thisCommandName = "ReferenceType.GetValues command"; field in class:GetValues005Test
60 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START...");
83 ("=> CHECK: send " + thisCommandName
98 checkReplyPacket(checkedReply, thisCommandName);
106 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH");
143 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": OK.");
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ObjectReference/
H A DMonitorInfoTest.java42 static final String thisCommandName = "ObjectReference.MonitorInfo command"; field in class:MonitorInfoTest
74 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START...");
126 ("\n=> CHECK 1: send " + thisCommandName + " for checked ObjectID and check reply...");
139 logWriter.println("=> " + thisCommandName + " returns ERROR = " + errorCode
144 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH");
146 checkReplyPacket(checkedReply, thisCommandName);
153 ("## FAILURE: " + thisCommandName + " returns unexpected monitorOwnerThreadID:" +
157 thisCommandName + " returns unexpected monitorOwnerThreadID: " +
166 ("## FAILURE: " + thisCommandName + " returns unexpected monitorEntryCount:");
169 thisCommandName
[all...]
H A DIsCollectedTest.java43 static final String thisCommandName = "ObjectReference.IsCollected command"; field in class:IsCollectedTest
63 logWriter.println("==> " + thisTestName + " for " + thisCommandName
151 logWriter.println("\n=> Send " + thisCommandName
162 checkReplyPacket(checkedReply, thisCommandName);
173 + thisCommandName + ":");
178 + thisCommandName + "\n";
184 + thisCommandName + ":");
189 + thisCommandName + "\n";
195 logWriter.println("\n=> Send " + thisCommandName
205 checkReplyPacket(checkedReply, thisCommandName);
[all...]
H A DDisableCollectionTest.java43 static final String thisCommandName = "ObjectReference::DisableCollection command"; field in class:DisableCollectionTest
62 logWriter.println("==> " + thisTestName + " for " + thisCommandName
110 logWriter.println("\n=> CHECK: send " + thisCommandName
121 checkReplyPacket(checkedReply, thisCommandName);
133 + thisCommandName);
134 fail("Checked Object is UNLOADed after " + thisCommandName);
138 + thisCommandName);
143 logWriter.println("==> " + thisTestName + " for " + thisCommandName
186 checkReplyPacket(reply, thisCommandName, expectedErrorCode);
H A DEnableCollectionTest.java45 static final String thisCommandName = "ObjectReference::EnableCollection command"; field in class:EnableCollectionTest
63 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START...");
119 ("\n=> CHECK: Send " + thisCommandName + " for checked ObjectID...");
128 checkReplyPacket(checkedReply, thisCommandName);
141 ("## FAILURE: Checked Object is NOT UNLOADed after " + thisCommandName );
142 fail("Checked Object is NOT UNLOADed after " + thisCommandName);
151 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH");
191 checkReplyPacket(reply, thisCommandName, expectedErrorCode);
H A DSetValues002Test.java44 static final String thisCommandName = "ObjectReference.SetValues command"; field in class:SetValues002Test
62 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START...");
106 ("=> CHECK: send " + thisCommandName
132 logWriter.println("## CHECK: FAILURE: " + thisCommandName
135 fail(thisCommandName
143 ("\n## FAILURE: " + thisCommandName + " does NOT return expected error - INVALID_OBJECT");
144 fail(thisCommandName + " does NOT return expected error - INVALID_OBJECT");
150 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH");
H A DSetValues003Test.java44 static final String thisCommandName = "ObjectReference.SetValues command"; field in class:SetValues003Test
62 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START...");
106 ("=> CHECK: send " + thisCommandName
129 logWriter.println("=> " + thisCommandName
132 logWriter.println("=> " + thisCommandName
147 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": OK.");
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/
H A DRedefineClassesTest.java46 static final String thisCommandName = "VirtualMachine::RedefineClasses command"; field in class:RedefineClassesTest
120 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START...");
130 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH");
164 logWriter.println("\n=> Preparing info for " + thisCommandName);
176 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH");
188 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH");
210 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH");
232 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH");
245 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH");
249 logWriter.println("\n=> Send " + thisCommandName
[all...]
H A DSetDefaultStratumTest.java43 static final String thisCommandName = "VirtualMachine::SetDefaultStratum command"; field in class:SetDefaultStratumTest
69 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START...");
72 logWriter.println("=> CHECK1: send " + thisCommandName + " and check reply for ERROR...");
85 printErrorAndFail(thisCommandName
H A DInstanceCountsTest.java35 static final String thisCommandName = "VirtualMachine.InstanceCounts command "; field in class:InstanceCountsTest
71 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START...");
96 logWriter.println("=> CHECK: send " + thisCommandName
124 assertEquals(thisCommandName + "returned reference types count is wrong.",
130 assertEquals(thisCommandName + "returned instance count of MockClass1 is wrong.",
136 assertEquals(thisCommandName + "returned instance count of MockClass2 is wrong.",
142 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": FINISH");
161 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START...");
188 printErrorAndFail(thisCommandName + " should throw ILLEGAL_ARGUMENT exception when refTypesCount is negative.");
206 logWriter.println("==> " + thisTestName + " for " + thisCommandName
[all...]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ClassType/
H A DSetValues002Test.java44 static final String thisCommandName = "ClassType::SetValues command"; field in class:SetValues002Test
59 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": START...");
122 ("=> CHECK: send " + thisCommandName
145 logWriter.println("=> " + thisCommandName
148 logWriter.println("=> " + thisCommandName
163 logWriter.println("==> " + thisTestName + " for " + thisCommandName + ": OK");
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/
H A DForceEarlyReturn002Test.java33 static final String thisCommandName = "ThreadReference.ForceEarlyReturn command "; field in class:ForceEarlyReturn002Test
61 logWriter.println("==> " + thisTestName + " for " + thisCommandName
93 logWriter.println("==> Perform " + thisCommandName);
109 printErrorAndFail(thisCommandName
H A DForceEarlyReturn003Test.java30 static final String thisCommandName = "ThreadReference.ForceEarlyReturn command "; field in class:ForceEarlyReturn003Test
58 logWriter.println("==> " + thisTestName + " for " + thisCommandName
94 logWriter.println("==> Perform " + thisCommandName);
110 printErrorAndFail(thisCommandName

Completed in 222 milliseconds

12