Hi -
I have 3 condition-handler pairs added to the ConditionMonitor during the setUp() of a test case. The conditions are shell dialogs that pop up during Eclipse startup in random order depending on the platform. I am having problems with the dialogs not being handled unless the condition-handler pair is added in order.
For example:
cm.add(cond1, hand1);
cm.add(cond2, hand2);
cm.add(cond3, hand3);
and during the startup, if the order of dialogs showing up is
cond2
cond3
cond1
then they will all left unhandled.
I am using WindowTester v3.9.0 on Ubuntu 9.04 64-bit.
Please advise.