Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Becker2014-06-02 19:40:43 +0000
committerFrank Becker2014-10-08 17:51:15 +0000
commit1025e8adfa3b1f61dc1c07bc3ef0ca22140f046c (patch)
treeb16f43f178ec52ee0bade743082ee59a3122d309 /org.eclipse.mylyn.trac.tests/src/org/eclipse/mylyn
parentdbdd93c8144c4016d81cb245226545c2252c8939 (diff)
downloadorg.eclipse.mylyn.tasks-1025e8adfa3b1f61dc1c07bc3ef0ca22140f046c.tar.gz
org.eclipse.mylyn.tasks-1025e8adfa3b1f61dc1c07bc3ef0ca22140f046c.tar.xz
org.eclipse.mylyn.tasks-1025e8adfa3b1f61dc1c07bc3ef0ca22140f046c.zip
436398: change connector tests to reduce dependency on the UI
Change-Id: Ieb5a60ab2fc1ee0bb83d91d604570be3704c22a7 Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=436398
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, 3 insertions, 1 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 3c266560d..a208760e7 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
@@ -21,6 +21,7 @@ import org.eclipse.jface.wizard.Wizard;
import org.eclipse.jface.wizard.WizardDialog;
import org.eclipse.mylyn.commons.net.AuthenticationCredentials;
import org.eclipse.mylyn.commons.net.AuthenticationType;
+import org.eclipse.mylyn.internal.tasks.ui.TasksUiPlugin;
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;
@@ -201,7 +202,8 @@ public class TracRepositorySettingsPageTest extends TestCase {
TasksUiTestUtil.ensureTasksUiInitialization();
- EditRepositoryWizard wizard = new EditRepositoryWizard(repository);
+ EditRepositoryWizard wizard = new EditRepositoryWizard(repository,
+ TasksUiPlugin.getConnectorUi(repository.getConnectorKind()));
Shell shell = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell();
WizardDialog dialog = new WizardDialog(shell, wizard);
try {

Back to the top