diff options
author | Steffen Pingel | 2012-03-01 22:40:19 +0000 |
---|---|---|
committer | Steffen Pingel | 2012-03-01 22:40:19 +0000 |
commit | 0cf388b16e09230ebd16d29701896300f9cb39a5 (patch) | |
tree | b5ff0b22f4d786e330e065ac976c7b0f48ed112f /org.eclipse.mylyn.bugzilla.tests | |
parent | 70fc9b6089fc46c90e30b355a9bfa53c942e6178 (diff) | |
download | org.eclipse.mylyn.tasks-0cf388b16e09230ebd16d29701896300f9cb39a5.tar.gz org.eclipse.mylyn.tasks-0cf388b16e09230ebd16d29701896300f9cb39a5.tar.xz org.eclipse.mylyn.tasks-0cf388b16e09230ebd16d29701896300f9cb39a5.zip |
RESOLVED - bug 372971: fix test initialization
https://bugs.eclipse.org/bugs/show_bug.cgi?id=372971
Change-Id: I0defd8a49a6b335ea98fe773f4112f53c1eedf86
Diffstat (limited to 'org.eclipse.mylyn.bugzilla.tests')
-rw-r--r-- | org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/ui/BugzillaTaskEditorTest.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/ui/BugzillaTaskEditorTest.java b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/ui/BugzillaTaskEditorTest.java index ee7b99945..0d395434e 100644 --- a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/ui/BugzillaTaskEditorTest.java +++ b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/tests/ui/BugzillaTaskEditorTest.java @@ -15,6 +15,7 @@ package org.eclipse.mylyn.bugzilla.tests.ui; import junit.framework.TestCase; import org.eclipse.mylyn.bugzilla.tests.support.BugzillaFixture; +import org.eclipse.mylyn.commons.sdk.util.UiTestUtil; import org.eclipse.mylyn.internal.tasks.ui.util.TasksUiInternal; import org.eclipse.mylyn.tasks.core.TaskMapping; import org.eclipse.mylyn.tasks.core.TaskRepository; @@ -33,13 +34,12 @@ public class BugzillaTaskEditorTest extends TestCase { @Override protected void setUp() throws Exception { - BugzillaFixture.current(); - repository = BugzillaFixture.current().repository(); + repository = BugzillaFixture.current().singleRepository(); } @Override protected void tearDown() throws Exception { - PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().closeAllEditors(false); + UiTestUtil.closeAllEditors(); } /** |