[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/tests/phpunit/testcases/core/ -> class-bp-attachment.php (summary)

(no description)

File Size: 604 lines (18 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

BP_Tests_BP_Attachment_TestCases:: (26 methods):
  setUp()
  tearDown()
  filter_overrides()
  filter_upload_dir()
  filter_cover_image_dir()
  upload_error_handler()
  clean_files()
  clean_avatars()
  max_filesize()
  test_bp_attachment_construct_missing_required_parameter()
  test_bp_attachment_set_upload_dir()
  test_bp_attachment_upload()
  test_bp_attachment_upload_no_base_dir_specific_time()
  test_bp_attachment_avatar_user_upload()
  test_bp_attachment_avatar_group_upload()
  test_bp_attachment_crop()
  test_bp_attachment_cover_image_user_upload()
  test_bp_attachment_avatar_shrink()
  test_bp_attachment_add_revision()
  test_bp_attachment_add_avatar_history()
  limit_to_50px()
  test_bp_attachment_avatar_shrink_not_needed()
  test_bp_attachment_cover_image_fit()
  test_bp_attachment_cover_image_fit_not_needed()
  test_bp_attachment_get_image_data()
  test_bp_attachment_upload_dir_filter_arg()


Class: BP_Tests_BP_Attachment_TestCases  - X-Ref


setUp()   X-Ref
No description

tearDown()   X-Ref
No description

filter_overrides( $overrides )   X-Ref
No description

filter_upload_dir( $upload_dir )   X-Ref
No description

filter_cover_image_dir( $cover_dir, $upload_dir )   X-Ref
No description

upload_error_handler( $file, $message )   X-Ref
To avoid copying files in tests, we're faking a succesfull uploads
as soon as all the test_form have been executed in _wp_handle_upload


clean_files( $basedir = 'attachment_base_dir' )   X-Ref
No description

clean_avatars( $type = 'user' )   X-Ref
No description

max_filesize()   X-Ref
No description

test_bp_attachment_construct_missing_required_parameter()   X-Ref
No description

test_bp_attachment_set_upload_dir()   X-Ref
No description

test_bp_attachment_upload()   X-Ref


test_bp_attachment_upload_no_base_dir_specific_time()   X-Ref


test_bp_attachment_avatar_user_upload()   X-Ref


test_bp_attachment_avatar_group_upload()   X-Ref


test_bp_attachment_crop()   X-Ref


test_bp_attachment_cover_image_user_upload()   X-Ref


test_bp_attachment_avatar_shrink()   X-Ref


test_bp_attachment_add_revision()   X-Ref


test_bp_attachment_add_avatar_history()   X-Ref


limit_to_50px( $max_width )   X-Ref
No description

test_bp_attachment_avatar_shrink_not_needed()   X-Ref


test_bp_attachment_cover_image_fit()   X-Ref


test_bp_attachment_cover_image_fit_not_needed()   X-Ref


test_bp_attachment_get_image_data()   X-Ref


test_bp_attachment_upload_dir_filter_arg()   X-Ref




Generated: Thu Nov 21 01:00:57 2024 Cross-referenced by PHPXref 0.7.1