PHP Class N98\Util\FilesystemTest

Author: Aydin Hassan ([email protected])
Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: netz98/n98-magerun

Protected Properties

Свойство Type Description
$fileSystem Filesystem

Méthodes publiques

Méthode Description
convertedBytesProvider ( ) : array
setUp ( )
testConvertBytesToHumanReadable ( integer $bytes, integer $decimalPlaces, string $expected )
testFalseIsReturnedIfDirectoryNotExist ( )
testFalseIsReturnedIfDirectoryNotReadable ( )
testParentIsNotRemovedIfEmptyIsTrue ( )
testRecursiveCopy ( )
testRecursiveCopyWithBlacklist ( )
testRecursiveDirectoryRemoveUnLinksSymLinks ( )
testRecursiveRemove ( )
testRecursiveRemoveWithTrailingSlash ( )

Method Details

convertedBytesProvider() public static méthode

public static convertedBytesProvider ( ) : array
Résultat array

setUp() public méthode

public setUp ( )

testConvertBytesToHumanReadable() public méthode

public testConvertBytesToHumanReadable ( integer $bytes, integer $decimalPlaces, string $expected )
$bytes integer
$decimalPlaces integer
$expected string

testFalseIsReturnedIfDirectoryNotExist() public méthode

testFalseIsReturnedIfDirectoryNotReadable() public méthode

testParentIsNotRemovedIfEmptyIsTrue() public méthode

testRecursiveCopy() public méthode

public testRecursiveCopy ( )

testRecursiveCopyWithBlacklist() public méthode

testRecursiveRemove() public méthode

public testRecursiveRemove ( )

testRecursiveRemoveWithTrailingSlash() public méthode

Property Details

$fileSystem protected_oe property

protected Filesystem $fileSystem
Résultat Filesystem