/opt/cpanel/ea-wappspector/vendor/mikey179/vfsstream/src/test/php/org/bovigo/vfs
NameSizeModeActions
content/-0755rm
proxy/-0755rm
visitor/-0755rm
DirectoryIterationTestCase.php117780644editdlrm
FilenameTestCase.php22400644editdlrm
Issue104TestCase.php16520644editdlrm
PermissionsTestCase.php33650644editdlrm
QuotaTestCase.php15450644editdlrm
UnlinkTestCase.php17600644editdlrm
vfsStreamAbstractContentTestCase.php472360644editdlrm
vfsStreamBlockTestCase.php22180644editdlrm
vfsStreamContainerIteratorTestCase.php29850644editdlrm
vfsStreamDirectoryIssue18TestCase.php23060644editdlrm
vfsStreamDirectoryIssue134TestCase.php14320644editdlrm
vfsStreamDirectoryTestCase.php112460644editdlrm
vfsStreamExLockTestCase.php15610644editdlrm
vfsStreamFileTestCase.php114510644editdlrm
vfsStreamGlobTestCase.php6750644editdlrm
vfsStreamResolveIncludePathTestCase.php14520644editdlrm
vfsStreamTestCase.php253900644editdlrm
vfsStreamUmaskTestCase.php48260644editdlrm
vfsStreamWrapperAlreadyRegisteredTestCase.php15210644editdlrm
vfsStreamWrapperBaseTestCase.php25480644editdlrm
vfsStreamWrapperDirSeparatorTestCase.php17100644editdlrm
vfsStreamWrapperDirTestCase.php154580644editdlrm
vfsStreamWrapperFileTestCase.php134790644editdlrm
vfsStreamWrapperFileTimesTestCase.php115130644editdlrm
vfsStreamWrapperFlockTestCase.php145460644editdlrm
vfsStreamWrapperLargeFileTestCase.php19360644editdlrm
vfsStreamWrapperQuotaTestCase.php66720644editdlrm
vfsStreamWrapperSetOptionTestCase.php16760644editdlrm
vfsStreamWrapperStreamSelectTestCase.php10480644editdlrm
vfsStreamWrapperTestCase.php274100644editdlrm
vfsStreamWrapperUnregisterTestCase.php19580644editdlrm
vfsStreamWrapperWithoutRootTestCase.php12650644editdlrm
vfsStreamZipTestCase.php15850644editdlrm
Edit: /opt/cpanel/ea-wappspector/vendor/mikey179/vfsstream/src/test/php/org/bovigo/vfs/UnlinkTestCase.php (1760B)
array('test.file' => '')); $root = vfsStream::setup('root', null, $structure); $root->getChild('test_directory')->chmod(0777); $root->getChild('test_directory')->getChild('test.file')->chmod(0444); $this->assertTrue(@unlink(vfsStream::url('root/test_directory/test.file'))); } /** * @test * @group issue_51 */ public function canNotRemoveWritableFileFromNonWritableDirectory() { $structure = array('test_directory' => array('test.file' => '')); $root = vfsStream::setup('root', null, $structure); $root->getChild('test_directory')->chmod(0444); $root->getChild('test_directory')->getChild('test.file')->chmod(0777); $this->assertFalse(@unlink(vfsStream::url('root/test_directory/test.file'))); } /** * @test * @since 1.4.0 * @group issue_68 */ public function unlinkNonExistingFileTriggersError() { vfsStream::setup(); try { $this->assertFalse(unlink('vfs://root/foo.txt')); } catch (\PHPUnit_Framework_Error $fe) { $this->assertEquals('unlink(vfs://root/foo.txt): No such file or directory', $fe->getMessage()); } } }