Lines Matching defs:ThreadReference

26 package org.apache.harmony.jpda.tests.jdwp.ThreadReference;
37 * JDWP Unit test for ThreadReference.Resume command.
44 "Lorg/apache/harmony/jpda/tests/jdwp/ThreadReference/ResumeDebuggee;";
47 return "org.apache.harmony.jpda.tests.jdwp.ThreadReference.ResumeDebuggee";
51 * This testcase exercises ThreadReference.Resume command.
53 * <BR> Then the tests checks that for every tested thread the ThreadReference.Resume
141 ("\n==> Check that ThreadReference.Resume command does not cause any error if thread is not suspended...");
146 logWriter.println("==> Send ThreadReference.Resume command...");
152 if ( ! checkReplyPacketWithoutFail(reply, "ThreadReference.Resume command") ) {
155 logWriter.println("==> OK - ThreadReference.Resume command without any error!");
161 printErrorAndFail("\n## Error found out while ThreadReference.Resume command performing!");
165 ("\n==> Check that ThreadReference.Resume command resumes threads after VirtualMachine.Suspend command...");
186 logWriter.println("==> Send ThreadReference.Status command...");
192 if ( ! checkReplyPacketWithoutFail(reply, "ThreadReference.Status command") ) {
215 logWriter.println("==> Send ThreadReference.Resume command...");
221 if ( ! checkReplyPacketWithoutFail(reply, "ThreadReference.Resume command") ) {
226 logWriter.println("==> Send ThreadReference.Status command...");
232 if ( ! checkReplyPacketWithoutFail(reply, "ThreadReference.Status command") ) {
247 ("## FAILURE: Thread still is suspended after ThreadReference.Resume command!");
268 errorMessage = errorMessage + "## Error found out while ThreadReference.Status command performing!\n";
274 errorMessage = errorMessage + "## Error found out while ThreadReference.Resume command performing!\n";
282 ("\n==> Check ThreadReference.Resume command after ThreadReference.Suspend command...");
288 logWriter.println("==> Send ThreadReference.Suspend commands: number of commandss = "
297 if ( ! checkReplyPacketWithoutFail(reply, "ThreadReference.Suspend command") ) {
306 logWriter.println("==> Send ThreadReference.Status command...");
312 if ( ! checkReplyPacketWithoutFail(reply, "ThreadReference.Status command") ) {
336 ("==> Send ThreadReference.Resume command 1 time - thread must NOT be actually resumed...");
342 if ( ! checkReplyPacketWithoutFail(reply, "ThreadReference.Resume command") ) {
347 logWriter.println("==> Send ThreadReference.Status command...");
353 if ( ! checkReplyPacketWithoutFail(reply, "ThreadReference.Status command") ) {
376 logWriter.println("==> Send ThreadReference.Resume commands: number of commands = "
385 if ( ! checkReplyPacketWithoutFail(reply, "ThreadReference.Resume command") ) {
394 logWriter.println("==> Send ThreadReference.Status command...");
400 if ( ! checkReplyPacketWithoutFail(reply, "ThreadReference.Status command") ) {
415 ("## FAILURE: Thread still is suspended after ThreadReference.Resume commands: "
422 errorMessage = errorMessage + "## Error found out while ThreadReference.Suspend command performing!\n";
425 errorMessage = errorMessage + "## Error found out while ThreadReference.Resume command performing!\n";
428 errorMessage = errorMessage + "## Error found out while ThreadReference.Status command performing!\n";