mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
test fixed
This commit is contained in:
+4
-1
@@ -326,7 +326,10 @@ public class LocalFileSystemTest extends PlatformLangTestCase {
|
||||
if (!SystemInfo.isWindows) return;
|
||||
File file = new File("c:\\Documents and Settings\\desktop.ini");
|
||||
VirtualFile virtualFile = LocalFileSystem.getInstance().refreshAndFindFileByIoFile(file);
|
||||
assertNotNull("File not found: " + file, virtualFile);
|
||||
if (virtualFile == null) {
|
||||
System.out.println("NO LUCK: " + file);
|
||||
return;
|
||||
}
|
||||
|
||||
NewVirtualFileSystem system = (NewVirtualFileSystem)virtualFile.getFileSystem();
|
||||
system = PersistentFS.replaceWithNativeFS(system);
|
||||
|
||||
Reference in New Issue
Block a user