| This testcase exercises ThreadReference.OwnedMonitors command.
At first the test starts OwnedMonitorsDebuggee which runs
the tested thread 'TESTED_THREAD'.
Then the test performs the ThreadReference.OwnedMonitors command
for the tested thread and gets list of monitor objects.
It is expected that this command returns at least two monitors
owned by 'TESTED_THREAD' thread
After this for each received monitor object the test performs
ObjectReference.MonitorInfo command.
It is expected that this command returns the 'TESTED_THREAD' thread
as owner for each monitor.
|