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