PHP 클래스 HM\BackUpWordPress\Test_Backup_Path

또한 보기: Path
상속: extends HM_Backup_UnitTestCase
파일 보기 프로젝트 열기: humanmade/backupwordpress

공개 메소드들

메소드 설명
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 ( )