testSuspendCount001() This testcase exercises ThreadReference.SuspendCount command.
At first the test starts SuspendCountDebuggee which starts and runs some tested threads.
After the tested threads starts, the test suspends every
tested thread in debuggee some times and
check that ThreadReference.SuspendCount command returns
expected number of times thread was suspended.
Then the test suspends all debuggee by VirtualMachine.Suspend command
and check that ThreadReference.SuspendCount command returns 1 value
for all tested threads and main thread.
Then the test resumes all debuggee by VirtualMachine.Resume command
and check that ThreadReference.SuspendCount command returns 0 value
for all tested threads and main thread.
This testcase exercises ThreadReference.SuspendCount command.
At first the test starts SuspendCountDebuggee which starts and runs some tested threads.
After the tested threads starts, the test suspends every
tested thread in debuggee some times and
check that ThreadReference.SuspendCount command returns
expected number of times thread was suspended.
Then the test suspends all debuggee by VirtualMachine.Suspend command
and check that ThreadReference.SuspendCount command returns 1 value
for all tested threads and main thread.
Then the test resumes all debuggee by VirtualMachine.Resume command
and check that ThreadReference.SuspendCount command returns 0 value
for all tested threads and main thread.
Fields inherited from org.apache.harmony.jpda.tests.jdwp.share.JDWPSyncTestCase