further debugging blinking perforce tests
authorpeter <peter@jetbrains.com>
Tue, 10 Jan 2012 17:02:10 +0000 (18:02 +0100)
committerpeter <peter@jetbrains.com>
Tue, 10 Jan 2012 17:02:10 +0000 (18:02 +0100)
platform/vcs-impl/src/com/intellij/openapi/vcs/changes/pending/DuringChangeListManagerUpdateTestScheme.java

index 3b95ffa011137091663b1fb21f654821b164b83d..cf17d05c968cf455b4dc7e3319190ab7f38574eb 100644 (file)
@@ -28,6 +28,7 @@ import com.intellij.openapi.vcs.changes.VcsDirtyScopeManager;
 import com.intellij.openapi.vcs.changes.committed.MockAbstractVcs;
 import com.intellij.openapi.vcs.changes.committed.MockDelayingChangeProvider;
 import com.intellij.openapi.vcs.impl.ProjectLevelVcsManagerImpl;
+import com.intellij.openapi.vcs.impl.projectlevelman.AllVcses;
 import com.intellij.openapi.vfs.VirtualFile;
 
 import java.io.File;
@@ -61,7 +62,7 @@ public class DuringChangeListManagerUpdateTestScheme {
 
     AbstractVcs vcsFound = projectLevelVcsManager.findVcsByName(vcs.getName());
     final VirtualFile[] roots = projectLevelVcsManager.getRootsUnderVcs(vcsFound);
-    assert roots.length == 1 : Arrays.asList(roots) + "; " + vcs.getName() + "; " + vcsFound;
+    assert roots.length == 1 : Arrays.asList(roots) + "; " + vcs.getName() + "; " + Arrays.toString(AllVcses.getInstance(project).getAll());
 
     myDirtyScopeManager = VcsDirtyScopeManager.getInstance(project);
     myClManager = ChangeListManager.getInstance(project);