PHP Class HM\BackUpWordPress\Backup_Engine_Excludes

Inheritance: extends HM_Backup_UnitTestCase
Afficher le fichier Open project: humanmade/backupwordpress

Méthodes publiques

Méthode Description
setUp ( )
tearDown ( )
testBackUpDirIsExcludedWhenBackUpDirIsInRoot ( )
testExcludeAbsoluteDirPath ( )
testExcludeAbsoluteFilePath ( )
testExcludeAbsolutePathWithWildcardFile ( )
testExcludeAbsolutePathWithWildcardFileExtension ( )
testExcludeAbsolutePathWithWildcardFileName ( )
testExcludeAbsoluteRootDirPath ( )
testExcludeAmbiguousAbsoluteDirPath ( )
testExcludeAmbiguousAbsoluteFilePath ( )
testExcludeAmbiguousAbsolutePathWithWildcardFile ( )
testExcludeAmbiguousAbsolutePathWithWildcardFileExtension ( )
testExcludeAmbiguousAbsolutePathWithWildcardFileName ( )
testExcludeDirPathFragment ( )
testExcludePartialDirectory ( )
testExcludePartialFilename ( )
testExcludeWildcardFileExtension ( )
testExcludeWildcardFileName ( )
testNoExcludesExceptDefaults ( )
testWildCard ( )
test_excluded_file_directly_is_excluded ( ) File is excluded directly (either in the root or any non-excluded sub-directory).
test_excluded_file_via_parent_directory_is_excluded ( ) File is excluded as a result of being in an excluded directory.
test_non_excluded_file_is_excluded ( ) File is NOT excluded directly (either in the root or any non-excluded sub-directory).

Private Methods

Méthode Description
get_and_prepare_files ( )

Method Details

setUp() public méthode

public setUp ( )

tearDown() public méthode

public tearDown ( )

testBackUpDirIsExcludedWhenBackUpDirIsInRoot() public méthode

testExcludeAbsoluteDirPath() public méthode

testExcludeAbsoluteFilePath() public méthode

testExcludeAbsolutePathWithWildcardFile() public méthode

testExcludeAbsolutePathWithWildcardFileExtension() public méthode

testExcludeAbsolutePathWithWildcardFileName() public méthode

testExcludeAbsoluteRootDirPath() public méthode

testExcludeAmbiguousAbsoluteDirPath() public méthode

testExcludeAmbiguousAbsoluteFilePath() public méthode

testExcludeAmbiguousAbsolutePathWithWildcardFile() public méthode

testExcludeAmbiguousAbsolutePathWithWildcardFileExtension() public méthode

testExcludeAmbiguousAbsolutePathWithWildcardFileName() public méthode

testExcludeDirPathFragment() public méthode

testExcludePartialDirectory() public méthode

testExcludePartialFilename() public méthode

testExcludeWildcardFileExtension() public méthode

testExcludeWildcardFileName() public méthode

testNoExcludesExceptDefaults() public méthode

testWildCard() public méthode

public testWildCard ( )

test_excluded_file_directly_is_excluded() public méthode

Main test: Excludes->is_file_excluded( $file ) Expected: true.

test_excluded_file_via_parent_directory_is_excluded() public méthode

Main test: Excludes->is_file_excluded( $file ) Expected: true.

test_non_excluded_file_is_excluded() public méthode

Main test: Excludes->is_file_excluded( $file ) Expected: false.