diff options
author | Michael Valenta | 2003-07-15 15:54:20 +0000 |
---|---|---|
committer | Michael Valenta | 2003-07-15 15:54:20 +0000 |
commit | 1629fbe4629e4344791534cf6b13d0434b10b6e4 (patch) | |
tree | 05710149677ec8d4c9152c5671d091ba279334d8 /tests | |
parent | cc87f985acee293ec69e37225a28c9d22303307c (diff) | |
download | eclipse.platform.team-1629fbe4629e4344791534cf6b13d0434b10b6e4.tar.gz eclipse.platform.team-1629fbe4629e4344791534cf6b13d0434b10b6e4.tar.xz eclipse.platform.team-1629fbe4629e4344791534cf6b13d0434b10b6e4.zip |
*** empty log message ***
Diffstat (limited to 'tests')
-rw-r--r-- | tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/ui/sync/SyncInfoFromSyncSet.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/ui/sync/SyncInfoFromSyncSet.java b/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/ui/sync/SyncInfoFromSyncSet.java index 42fc60993..3e10826d8 100644 --- a/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/ui/sync/SyncInfoFromSyncSet.java +++ b/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/ui/sync/SyncInfoFromSyncSet.java @@ -14,6 +14,7 @@ import junit.framework.AssertionFailedError; import org.eclipse.core.resources.IProject; import org.eclipse.core.resources.IResource; +import org.eclipse.swt.widgets.Display; import org.eclipse.team.core.TeamException; import org.eclipse.team.core.subscribers.SyncInfo; import org.eclipse.team.core.subscribers.TeamSubscriber; @@ -50,6 +51,7 @@ public class SyncInfoFromSyncSet extends SyncInfoSource { if (subscriber != input.getSubscriber()) { // ensure that the CVS subscriber is active syncView.activateSubscriber(subscriber); + while (Display.getCurrent().readAndDispatch()) {}; input = syncView.getInput(); } if (subscriber != input.getSubscriber()) { |