Win32fs disabled in tests

This commit is contained in:
Dmitry Avdeev
2009-10-26 13:02:34 +03:00
parent 0fe3a19093
commit 06771093ca
@@ -59,7 +59,7 @@ public class RefreshWorker {
}
else {
if (delegate.getProtocol().equals(LocalFileSystem.PROTOCOL) && SystemInfo.isWindows && root.isDirectory() &&
(ApplicationManager.getApplication().isUnitTestMode() || Registry.is("filesystem.useNative"))) {
(!ApplicationManager.getApplication().isUnitTestMode() && Registry.is("filesystem.useNative"))) {
delegate = new Win32LocalFileSystem();
}