public function vfsStreamWrapperTestCase::directoriesAndNonExistingFilesAreNeverExecutable in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamWrapperTestCase.php \org\bovigo\vfs\vfsStreamWrapperTestCase::directoriesAndNonExistingFilesAreNeverExecutable()
assert is_executable() works correct
@test
File
- vendor/
mikey179/ vfsStream/ src/ test/ php/ org/ bovigo/ vfs/ vfsStreamWrapperTestCase.php, line 214
Class
Namespace
org\bovigo\vfsCode
public function directoriesAndNonExistingFilesAreNeverExecutable() {
$this
->assertFalse(is_executable($this->fooURL));
$this
->assertFalse(is_executable($this->fooURL . '/.'));
$this
->assertFalse(is_executable($this->barURL));
$this
->assertFalse(is_executable($this->barURL . '/.'));
$this
->assertFalse(is_executable($this->fooURL . '/another'));
$this
->assertFalse(is_executable(vfsStream::url('another')));
}