testThreadGroup002() This testcase exercises ThreadReference.ThreadGroup command.
At first the test starts ThreadGroup002Debuggee which creates some thread
groups and starts some tested threads which belong to different created thread groups.
After the tested threads start, at first the test wait for the some first
tested threads to finish.
This testcase exercises ThreadReference.ThreadGroup command.
At first the test starts ThreadGroup002Debuggee which creates some thread
groups and starts some tested threads which belong to different created thread groups.
After the tested threads start, at first the test wait for the some first
tested threads to finish.
Then the test for every tested thread does:
- performs ThreadReference.Status command;
- performs the ThreadReference.ThreadGroup command;
- performs the ThreadGroupReference.name command;
It is expected that
- all threads with status ZOMBIE are only finished tested threads;
- all threads without status ZOMBIE are only NOT finished tested threads;
- if status of thread is ZOMBIE then returned groupID must be null;
- if status of thread is not ZOMBIE then returned groupID must not be null;
- thread group name should be expected name for thread which is not ZOMBIE;
Fields inherited from org.apache.harmony.jpda.tests.jdwp.share.JDWPSyncTestCase