public void InitFolders() { Directory.CreateDirectory(Folder); Directory.CreateDirectory(Server); Directory.CreateDirectory(Local); map = new ServerMap(); map.Folders.Add("0", new TestFolder { FullPath = Server, Id = "0", Items = new List<Item>(), Name = "All files" }); paths = new List<Pair<string>> {new Pair<string>("", Local)}; }
public FilesFake(ServerMap map, string localPath, string serverPath) { this.map = map; this.localPath = localPath; this.serverPath = serverPath; }
public FoldersFake(ServerMap map) { this.map = map; }