示例#1
0
文件: FileTest.php 项目: naucon/file
 /**
  * @depends     testExist
  * @return      void
  */
 public function testIsExecutable()
 {
     $filePath = __DIR__ . '/example.txt';
     $fileObject = new File($filePath);
     $result = $fileObject->isExecutable();
     $fileObject = new \SplFileInfo($filePath);
     $this->assertEquals($result, $fileObject->isExecutable());
 }