summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMalgorzata Janczarska2012-08-14 11:49:41 (EDT)
committer Szymon Brandys2012-08-14 11:49:41 (EDT)
commit409a4247dc048d845c99fea687ca613b82ef02ab (patch)
tree7231e610ba6d6094e56051a380b84c10e104469b
parent874da9920bc05b6a9d5b23ffdb00ca9ed83b3008 (diff)
downloadeclipse.platform.team-409a4247dc048d845c99fea687ca613b82ef02ab.zip
eclipse.platform.team-409a4247dc048d845c99fea687ca613b82ef02ab.tar.gz
eclipse.platform.team-409a4247dc048d845c99fea687ca613b82ef02ab.tar.bz2
testBug234149_aFewProviders
-rw-r--r--tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/ui/ProjectSetImporterTests.java5
1 files changed, 3 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 d0cfd8e..ba174b4 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
@@ -45,6 +45,7 @@ import org.eclipse.team.internal.ccvs.core.CVSTag;
import org.eclipse.team.internal.ccvs.core.CVSTeamProviderType;
import org.eclipse.team.internal.ccvs.ui.wizards.CVSScmUrlImportWizardPage;
import org.eclipse.team.internal.ui.ProjectSetImporter;
+import org.eclipse.team.internal.ui.Utils;
import org.eclipse.team.tests.ccvs.core.CVSTestSetup;
import org.eclipse.team.tests.ccvs.core.EclipseTest;
import org.eclipse.team.ui.IScmUrlImportWizardPage;
@@ -108,7 +109,7 @@ public class ProjectSetImporterTests extends EclipseTest {
project2.delete(true, null);
IProject[] importProjectSet = ProjectSetImporter.importProjectSet(
- PSF_FILENAME, Display.getDefault().getActiveShell(), null);
+ PSF_FILENAME, Utils.findShell(), null);
assertEquals(2, importProjectSet.length);
assertEquals(project1, importProjectSet[0]);
@@ -157,7 +158,7 @@ public class ProjectSetImporterTests extends EclipseTest {
IProject[] importProjectSet = null;
importProjectSet = ProjectSetImporter.importProjectSet(
- PSF_FILENAME, Display.getDefault().getActiveShell(), null);
+ PSF_FILENAME, Utils.findShell(), null);
assertEquals(project, importProjectSet[0]);
assertEquals(project2, importProjectSet[1]);