Esempio n. 1
0
 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 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));
        }
Esempio n. 3
0
 public void Setup()
 {
     _subject = new FluentFs.Core.Directory(rootFolder).SubFolder("Test");
 }
Esempio n. 4
0
 ///<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()));
 }
Esempio n. 5
0
 ///<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()));
 }
Esempio n. 6
0
 public ProjectIdMandatory DeployFolder(Directory path)
 {
     _deployFolder = path;
     return new ProjectIdMandatory(this);
 }
Esempio n. 7
0
 public ProjectIdMandatory DeployFolder(Directory path)
 {
     _deployFolder = path;
     return(new ProjectIdMandatory(this));
 }
Esempio n. 8
0
 ///<summary>
 /// Destination
 ///</summary>
 ///<param name="destination">The destination</param>
 public void To(Directory destination)
 {
     To(destination.ToString());
 }