Bug 549166 - Tests running in tips UI job

In org.eclipse.tips.ui.internal.TipComposite, methods
loadTimeOutScript() and loadWaitingScript() will process SWT display
events. This code runs during
org.eclipse.tips.ide.internal.Startup$2.runInUIThread, when showing the
tips dialog on start-up. As a result, the Eclipse test harness can run
tests in this UA start-up UI job. From that point on, tests that wait
for jobs to finish will hang forever, since the tests themselves run
inside a UI job.

This change removes processing of display events in tips UI job. This
prevents Eclipse tests from running in a tips UI job, which in turn
results into a "hanging" tips UI job.

Change-Id: Ica968412ccc427e35d68c12e95efd14da5d9254d
Signed-off-by: Simeon Andreev <simeon.danailov.andreev@gmail.com>
3 files changed