public void ShouldPopulateWorkingDirectoryViaArtifact() { const string workingDirectory = @"c:\"; var workingFolder = new FluentFs.Core.Directory(workingDirectory); var executable = (Executable) new Executable(_executablePath).InWorkingDirectory(workingFolder); Assert.That(executable.WorkingDirectory, Is.EqualTo(workingDirectory)); }
public void Setup() { _subject = new FluentFs.Core.Directory(rootFolder).SubFolder("Test"); }
///<summary> /// Sets ZipCompress to compress an entire folder ///</summary> ///<param name="path">The folder to compress</param> public ZipCompress SourceFolder(FluentFs.Core.Directory path) { return(SourceFolder(path.ToString())); }
///<summary> /// Moves a file to a destination ///</summary> ///<param name="destination">the new location of the file</param> public File To(Directory destination) { return(To(destination.ToString())); }
public ProjectIdMandatory DeployFolder(Directory path) { _deployFolder = path; return new ProjectIdMandatory(this); }
public ProjectIdMandatory DeployFolder(Directory path) { _deployFolder = path; return(new ProjectIdMandatory(this)); }
///<summary> /// Destination ///</summary> ///<param name="destination">The destination</param> public void To(Directory destination) { To(destination.ToString()); }