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)};
        }
Example #2
0
 public FilesFake(ServerMap map, string localPath, string serverPath)
 {
     this.map = map;
     this.localPath = localPath;
     this.serverPath = serverPath;
 }
Example #3
0
 public FoldersFake(ServerMap map)
 {
     this.map = map;
 }