コード例 #1
0
ファイル: FileTest.php プロジェクト: ngangchill/php-vfs
 public function testGetMode()
 {
     $file = new File();
     $this->assertEquals(StatInterface::TYPE_FILE, $file->getMode() & StatInterface::TYPE_MASK);
 }
コード例 #2
0
ファイル: FileTest.php プロジェクト: number0/php-vfs
 public function testGetMode()
 {
     $file = new File();
     $this->assertEquals(0170000 & 0100000, $file->getMode());
 }