コード例 #1
0
 public static void EnsureSubfoldersOnDisk(GVFSFunctionalTestEnlistment enlistment, FileSystemRunner fileSystem)
 {
     // Enumerate the directory to ensure that the folder is on disk after GVFS is unmounted
     foreach (object[] folder in Folders)
     {
         string folderPath = enlistment.GetVirtualPathTo((string)folder[0]);
         folderPath.ShouldBeADirectory(fileSystem).WithItems();
     }
 }
コード例 #2
0
 public TestPath(GVFSFunctionalTestEnlistment enlistment, string basePath)
 {
     this.BasePath    = basePath;
     this.VirtualPath = enlistment.GetVirtualPathTo(basePath);
     this.BackingPath = enlistment.GetBackingPathTo(basePath);
 }