You are here

public function vfsStreamWrapperTestCase::statReturnsFullDataForDirectoriesWithDot in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamWrapperTestCase.php \org\bovigo\vfs\vfsStreamWrapperTestCase::statReturnsFullDataForDirectoriesWithDot()

@test

File

vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamWrapperTestCase.php, line 577

Class

vfsStreamWrapperTestCase
Test for org\bovigo\vfs\vfsStreamWrapper.

Namespace

org\bovigo\vfs

Code

public function statReturnsFullDataForDirectoriesWithDot() {
  $this
    ->assertEquals(array(
    0 => 0,
    1 => 0,
    2 => 040777,
    3 => 0,
    4 => vfsStream::getCurrentUser(),
    5 => vfsStream::getCurrentGroup(),
    6 => 0,
    7 => 0,
    8 => 100,
    9 => 100,
    10 => 100,
    11 => -1,
    12 => -1,
    'dev' => 0,
    'ino' => 0,
    'mode' => 040777,
    'nlink' => 0,
    'uid' => vfsStream::getCurrentUser(),
    'gid' => vfsStream::getCurrentGroup(),
    'rdev' => 0,
    'size' => 0,
    'atime' => 100,
    'mtime' => 100,
    'ctime' => 100,
    'blksize' => -1,
    'blocks' => -1,
  ), stat($this->fooURL . '/.'));
}