Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMalgorzata Janczarska2013-01-30 17:26:00 +0000
committerMalgorzata Janczarska2013-01-30 17:26:00 +0000
commit64cced48f2fd20e0bfaa523a9b64dff7e80d7f12 (patch)
tree2a1da04e2ee001b152e1aaaaa6b65f0dc0988349
parent6b3a0e8474172dcde31bbfdaa73c01761da25451 (diff)
downloadeclipse.platform.team-64cced48f2fd20e0bfaa523a9b64dff7e80d7f12.tar.gz
eclipse.platform.team-64cced48f2fd20e0bfaa523a9b64dff7e80d7f12.tar.xz
eclipse.platform.team-64cced48f2fd20e0bfaa523a9b64dff7e80d7f12.zip
Bug 399518 - ProjectSetImporterTests: testImportProject and
testBug234149_aFewProviders fail in I20130122-0800
-rw-r--r--tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/ui/ProjectSetImporterTests.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/ui/ProjectSetImporterTests.java b/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/ui/ProjectSetImporterTests.java
index d0cfd8ee1..eefe8b6d8 100644
--- a/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/ui/ProjectSetImporterTests.java
+++ b/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/ui/ProjectSetImporterTests.java
@@ -49,6 +49,7 @@ import org.eclipse.team.tests.ccvs.core.CVSTestSetup;
import org.eclipse.team.tests.ccvs.core.EclipseTest;
import org.eclipse.team.ui.IScmUrlImportWizardPage;
import org.eclipse.team.ui.TeamUI;
+import org.eclipse.ui.PlatformUI;
public class ProjectSetImporterTests extends EclipseTest {
@@ -108,7 +109,8 @@ public class ProjectSetImporterTests extends EclipseTest {
project2.delete(true, null);
IProject[] importProjectSet = ProjectSetImporter.importProjectSet(
- PSF_FILENAME, Display.getDefault().getActiveShell(), null);
+ PSF_FILENAME, PlatformUI.getWorkbench()
+ .getActiveWorkbenchWindow().getShell(), null);
assertEquals(2, importProjectSet.length);
assertEquals(project1, importProjectSet[0]);
@@ -157,7 +159,8 @@ public class ProjectSetImporterTests extends EclipseTest {
IProject[] importProjectSet = null;
importProjectSet = ProjectSetImporter.importProjectSet(
- PSF_FILENAME, Display.getDefault().getActiveShell(), null);
+ PSF_FILENAME, PlatformUI.getWorkbench()
+ .getActiveWorkbenchWindow().getShell(), null);
assertEquals(project, importProjectSet[0]);
assertEquals(project2, importProjectSet[1]);

Back to the top