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(); } }
public TestPath(GVFSFunctionalTestEnlistment enlistment, string basePath) { this.BasePath = basePath; this.VirtualPath = enlistment.GetVirtualPathTo(basePath); this.BackingPath = enlistment.GetBackingPathTo(basePath); }