PHP Класс HM\BackUpWordPress\Backup_Engine_Excludes

Наследование: extends HM_Backup_UnitTestCase
Показать файл Открыть проект

Открытые методы

Метод Описание
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).

Приватные методы

Метод Описание
get_and_prepare_files ( )

Описание методов

setUp() публичный Метод

public setUp ( )

tearDown() публичный Метод

public tearDown ( )

testBackUpDirIsExcludedWhenBackUpDirIsInRoot() публичный Метод

testExcludeAbsoluteDirPath() публичный Метод

testExcludeAbsoluteFilePath() публичный Метод

testExcludeAbsolutePathWithWildcardFile() публичный Метод

testExcludeAbsolutePathWithWildcardFileExtension() публичный Метод

testExcludeAbsolutePathWithWildcardFileName() публичный Метод

testExcludeAbsoluteRootDirPath() публичный Метод

testExcludeAmbiguousAbsoluteDirPath() публичный Метод

testExcludeAmbiguousAbsoluteFilePath() публичный Метод

testExcludeAmbiguousAbsolutePathWithWildcardFile() публичный Метод

testExcludeAmbiguousAbsolutePathWithWildcardFileExtension() публичный Метод

testExcludeAmbiguousAbsolutePathWithWildcardFileName() публичный Метод

testExcludeDirPathFragment() публичный Метод

testExcludePartialDirectory() публичный Метод

testExcludePartialFilename() публичный Метод

testExcludeWildcardFileExtension() публичный Метод

testExcludeWildcardFileName() публичный Метод

testNoExcludesExceptDefaults() публичный Метод

testWildCard() публичный Метод

public testWildCard ( )

test_excluded_file_directly_is_excluded() публичный Метод

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

test_excluded_file_via_parent_directory_is_excluded() публичный Метод

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

test_non_excluded_file_is_excluded() публичный Метод

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