Analyze() private method

private Analyze ( DirectoryInfo baseDirectory, FileInfo file ) : bool
baseDirectory System.IO.DirectoryInfo
file System.IO.FileInfo
return bool
Exemplo n.º 1
0
 public void NotExecutable()
 {
     var candidate = new PosixScript();
     Assert.IsFalse(candidate.Analyze(
         baseDirectory: Directory,
         file: Deploy(Reference, xbit: false)));
 }
Exemplo n.º 2
0
 public void NoShebang()
 {
     var candidate = new PosixScript();
     Assert.IsFalse(candidate.Analyze(
         baseDirectory: Directory,
         file: Deploy(PosixBinaryTest.Reference32, xbit: true)));
 }
Exemplo n.º 3
0
        public void NoShebang()
        {
            var candidate = new PosixScript();

            Assert.IsFalse(candidate.Analyze(
                               baseDirectory: Directory,
                               file: Deploy(PosixBinaryTest.Reference32, xbit: true)));
        }
Exemplo n.º 4
0
        public void NotExecutable()
        {
            var candidate = new PosixScript();

            Assert.IsFalse(candidate.Analyze(
                               baseDirectory: Directory,
                               file: Deploy(Reference, xbit: false)));
        }