PHP 클래스 HM\BackUpWordPress\Site_Size_Tests

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

공개 메소드들

메소드 설명
setUp ( )
tearDown ( )
test_file_size_excluded_directly ( ) File is excluded directly (either in the root or any non-excluded sub-directory).
test_file_size_excluded_via_parent_directory ( ) File is excluded as a result of being in an excluded directory.
test_file_size_not_excluded_directly ( ) File is NOT excluded directly (either in the root or any non-excluded sub-directory).
test_filesize_excludes ( )
test_is_site_cached ( )
test_lock ( )
test_old_cache_is_cleared ( )
test_rebuild_directory_filesizes ( )
test_site_size_database ( )
test_site_size_file ( )
test_site_size_formatted ( )
test_site_size_with_filescanner_complete_equals_database_plus_files ( )
test_site_size_without_filescanner_complete_equals_database ( )

메소드 상세

setUp() 공개 메소드

public setUp ( )

tearDown() 공개 메소드

public tearDown ( )

test_file_size_excluded_directly() 공개 메소드

Main test: Site_Size->filesize( $file ) Expected: file size should be 0.

test_file_size_excluded_via_parent_directory() 공개 메소드

Main test: Site_Size->filesize( $file ) Expected: file size should be 0.

test_file_size_not_excluded_directly() 공개 메소드

Main test: Site_Size->filesize( $file ) Expected: file size should be what it is.

test_filesize_excludes() 공개 메소드

test_is_site_cached() 공개 메소드

public test_is_site_cached ( )

test_lock() 공개 메소드

public test_lock ( )

test_old_cache_is_cleared() 공개 메소드

test_rebuild_directory_filesizes() 공개 메소드

test_site_size_database() 공개 메소드

test_site_size_file() 공개 메소드

public test_site_size_file ( )

test_site_size_formatted() 공개 메소드

test_site_size_with_filescanner_complete_equals_database_plus_files() 공개 메소드

test_site_size_without_filescanner_complete_equals_database() 공개 메소드