Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Becker2013-02-08 22:10:18 +0000
committerSteffen Pingel2013-04-12 21:42:46 +0000
commitdf08d9f31a149377edb6b7d96e8d034e8972e98a (patch)
treee568d8a9120ca954458678039d17009969dca742 /org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn
parent9272712034cda71f10525c6fb0dec3a3be321adb (diff)
downloadorg.eclipse.mylyn.tasks-df08d9f31a149377edb6b7d96e8d034e8972e98a.tar.gz
org.eclipse.mylyn.tasks-df08d9f31a149377edb6b7d96e8d034e8972e98a.tar.xz
org.eclipse.mylyn.tasks-df08d9f31a149377edb6b7d96e8d034e8972e98a.zip
400370: ensure UI extensions are initialized when running UI tests
Change-Id: I390caf2f39d0806829b2678165921f34ec53a028 Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=400370
Diffstat (limited to 'org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn')
-rw-r--r--org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/ui/TracRepositorySettingsPageTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/ui/TracRepositorySettingsPageTest.java b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/ui/TracRepositorySettingsPageTest.java
index 701cf2609..61ba37846 100644
--- a/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/ui/TracRepositorySettingsPageTest.java
+++ b/org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn/trac/tests/ui/TracRepositorySettingsPageTest.java
@@ -20,7 +20,6 @@ import org.eclipse.jface.dialogs.IMessageProvider;
import org.eclipse.jface.wizard.Wizard;
import org.eclipse.jface.wizard.WizardDialog;
import org.eclipse.mylyn.commons.net.AuthenticationType;
-import org.eclipse.mylyn.internal.tasks.ui.util.TasksUiExtensionReader;
import org.eclipse.mylyn.internal.tasks.ui.wizards.EditRepositoryWizard;
import org.eclipse.mylyn.internal.trac.core.TracRepositoryConnector;
import org.eclipse.mylyn.internal.trac.core.client.ITracClient;
@@ -28,6 +27,7 @@ import org.eclipse.mylyn.internal.trac.core.client.ITracClient.Version;
import org.eclipse.mylyn.internal.trac.ui.wizard.TracRepositorySettingsPage;
import org.eclipse.mylyn.internal.trac.ui.wizard.TracRepositorySettingsPage.TracValidator;
import org.eclipse.mylyn.tasks.core.TaskRepository;
+import org.eclipse.mylyn.tests.util.TasksUiTestUtil;
import org.eclipse.mylyn.trac.tests.support.TracFixture;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.ui.PlatformUI;
@@ -197,7 +197,7 @@ public class TracRepositorySettingsPageTest extends TestCase {
ITracClient client = connector.getClientManager().getTracClient(repository);
assertEquals(Version.TRAC_0_9, client.getAccessMode());
- TasksUiExtensionReader.initWorkbenchUiExtensions();
+ TasksUiTestUtil.ensureTasksUiInitialization();
EditRepositoryWizard wizard = new EditRepositoryWizard(repository);
Shell shell = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell();

Back to the top