PHP Класс HM\BackUpWordPress\Test_Backup_Path

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

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

Метод Описание
setUp ( )
tearDown ( )
testCustomPath ( ) Setting a writable custom path should override everything
testDefaultPath ( ) By default the path should be the default path
testExistingPath ( ) If there are 1 or more existing paths then the first one of those should be used
testExistingPaths ( ) If there are several existing paths this should find all of them
testFallbackPath ( ) If the default path is unwritable then it should fallback to the fallback path
testIsPathProtected ( ) Test that the backup path is correctly protected
testMergeExistingPath ( ) Test that backups are correctly merged from multiple existing backup paths
testUnwritableCustomPath ( ) Unwritable or otherwide broken custom paths should be ignored
test_cleanup ( )

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

Метод Описание
generate_additional_paths ( ) Create multiple backup paths for testing purposes

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

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

public setUp ( )

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

public tearDown ( )

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

Setting a writable custom path should override everything
public testCustomPath ( )

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

By default the path should be the default path
public testDefaultPath ( )

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

If there are 1 or more existing paths then the first one of those should be used
public testExistingPath ( )

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

If there are several existing paths this should find all of them
public testExistingPaths ( )

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

If the default path is unwritable then it should fallback to the fallback path
public testFallbackPath ( )

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

Test that the backup path is correctly protected
public testIsPathProtected ( )

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

Test that backups are correctly merged from multiple existing backup paths

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

Unwritable or otherwide broken custom paths should be ignored

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

public test_cleanup ( )