PHP Class HM\BackUpWordPress\Site_Size_Tests

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

Méthodes publiques

Méthode Description
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 ( )

Method Details

setUp() public méthode

public setUp ( )

tearDown() public méthode

public tearDown ( )

test_file_size_excluded_directly() public méthode

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

test_file_size_excluded_via_parent_directory() public méthode

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

test_file_size_not_excluded_directly() public méthode

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

test_filesize_excludes() public méthode

test_is_site_cached() public méthode

public test_is_site_cached ( )

test_lock() public méthode

public test_lock ( )

test_old_cache_is_cleared() public méthode

test_rebuild_directory_filesizes() public méthode

test_site_size_database() public méthode

test_site_size_file() public méthode

public test_site_size_file ( )

test_site_size_formatted() public méthode

test_site_size_with_filescanner_complete_equals_database_plus_files() public méthode

test_site_size_without_filescanner_complete_equals_database() public méthode