Analyze() private method

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

            Assert.IsFalse(candidate.Analyze(
                               baseDirectory: Directory,
                               file: Deploy(PosixScriptTest.Reference, xbit: true)));
        }
Ejemplo n.º 4
0
        public void NotExecutable()
        {
            var candidate = new PosixBinary();

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