PHP Class CloudinaryTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: cloudinary/cloudinary_php

Public Methods

Method Description
layers_options ( )
resource_types ( )
setUp ( )
shared_client_hints ( $options, $message = '' )
test_allow_use_root_path_in_shared ( )
test_angle ( )
test_aspect_ratio ( )
test_audio_codec ( )
test_audio_frequency ( )
test_background ( )
test_base_transformation_array ( )
test_base_transformations ( )
test_bit_rate ( )
test_border ( )
test_cl_image_tag ( )
test_cl_sprite_tag ( )
test_cl_video_tag ( )
test_cl_video_tag_with_attributes ( )
test_cl_video_tag_with_fallback ( )
test_cl_video_tag_with_poster ( )
test_cl_video_tag_with_source_transformation ( )
test_cl_video_tag_with_source_types ( )
test_cl_video_tag_with_transformation ( )
test_cl_video_thumbnail_path ( )
test_cl_video_thumbnail_tag ( )
test_client_hints_as_global ( )
test_client_hints_as_option ( )
test_client_hints_false ( )
test_cloud_name ( )
test_cloud_name_options ( )
test_cname ( )
test_cname_subdomain ( )
test_crop ( )
test_default_image ( )
test_density ( )
test_disallow_suffix_with_dot ( )
test_disallow_suffix_with_slash ( )
test_disallow_url_suffix_in_shared ( )
test_disallow_url_suffix_with_non_upload_types ( )
test_disallow_use_root_path_if_not_image_upload_1 ( )
test_disallow_use_root_path_if_not_image_upload_2 ( )
test_dont_sign_the_url_suffix ( )
test_dpr_auto ( )
test_duration ( )
test_effect ( )
test_effect_with_array ( )
test_end_offset ( )
test_escape_public_id ( )
test_fetch ( )
test_fetch_format ( )
test_flags ( )
test_folder_version ( )
test_format ( )
test_format_after_url_suffix ( )
test_http_escape ( )
test_http_private_cdn ( )
test_ignore_default_values_in_overlay_options ( )
test_ignore_http ( )
test_no_empty_options ( )
test_no_empty_transformation ( )
test_norm_range_value ( )
test_offset ( )
test_original_width_and_height ( )
test_overlay ( )
test_overlay_options ( $options, $expected )
test_overlay_style_requires_font_family ( )
test_page ( )
test_quality ( )
test_resource_type ( )
test_responsive_width ( )
test_secure_akamai ( )
test_secure_distibution ( )
test_secure_distribution ( )
test_secure_distribution_overwrite ( )
test_secure_non_akamai ( )
test_secure_shared_subdomain ( )
test_secure_shared_subdomain_false ( )
test_secure_subdomain_true ( )
test_shorten ( )
test_signed_url ( )
test_size ( )
test_start_offset ( )
test_text_require_public_id_or_style ( )
test_transformation_array ( )
test_transformation_simple ( )
test_translate_if ( ) should support and translate operators: '=', '!=', '<', '>', '<=', '>=', '&&', '||' and variables: width, height, pages, faces, aspect_ratio
test_type ( )
test_underlay ( )
test_underlay_require_public_id_for_non_text ( $resource_type )
test_upload_tag ( )
test_url_suffix_for_private_cdn ( )
test_url_suffix_for_raw ( )
test_use_root_path_for_private_cdn ( )
test_use_root_path_with_url_suffix_for_private_cdn ( )
test_user_agent ( )
test_various_options ( )
test_video_codec ( )
test_video_sampling ( )
test_width_auto ( )

Private Methods

Method Description
cloudinary_url_assertion ( $source, $options, $expected, $expected_options = [] )

Method Details

layers_options() public method

public layers_options ( )

resource_types() public method

public resource_types ( )

setUp() public method

public setUp ( )

shared_client_hints() public method

public shared_client_hints ( $options, $message = '' )

test_allow_use_root_path_in_shared() public method

test_angle() public method

public test_angle ( )

test_aspect_ratio() public method

public test_aspect_ratio ( )

test_audio_codec() public method

public test_audio_codec ( )

test_audio_frequency() public method

test_background() public method

public test_background ( )

test_base_transformation_array() public method

test_base_transformations() public method

test_bit_rate() public method

public test_bit_rate ( )

test_border() public method

public test_border ( )

test_cl_image_tag() public method

public test_cl_image_tag ( )

test_cl_sprite_tag() public method

public test_cl_sprite_tag ( )

test_cl_video_tag() public method

public test_cl_video_tag ( )

test_cl_video_tag_with_attributes() public method

test_cl_video_tag_with_fallback() public method

test_cl_video_tag_with_poster() public method

test_cl_video_tag_with_source_transformation() public method

test_cl_video_tag_with_source_types() public method

test_cl_video_tag_with_transformation() public method

test_cl_video_thumbnail_path() public method

test_cl_video_thumbnail_tag() public method

test_client_hints_as_global() public method

test_client_hints_as_option() public method

test_client_hints_false() public method

test_cloud_name() public method

public test_cloud_name ( )

test_cloud_name_options() public method

test_cname() public method

public test_cname ( )

test_cname_subdomain() public method

test_crop() public method

public test_crop ( )

test_default_image() public method

public test_default_image ( )

test_density() public method

public test_density ( )

test_disallow_suffix_with_dot() public method

test_disallow_suffix_with_slash() public method

test_disallow_url_suffix_in_shared() public method

test_disallow_url_suffix_with_non_upload_types() public method

test_disallow_use_root_path_if_not_image_upload_1() public method

test_disallow_use_root_path_if_not_image_upload_2() public method

test_dont_sign_the_url_suffix() public method

test_dpr_auto() public method

public test_dpr_auto ( )

test_duration() public method

public test_duration ( )

test_effect() public method

public test_effect ( )

test_effect_with_array() public method

test_end_offset() public method

public test_end_offset ( )

test_escape_public_id() public method

test_fetch() public method

public test_fetch ( )

test_fetch_format() public method

public test_fetch_format ( )

test_flags() public method

public test_flags ( )

test_folder_version() public method

public test_folder_version ( )

test_format() public method

public test_format ( )

test_format_after_url_suffix() public method

test_http_escape() public method

public test_http_escape ( )

test_http_private_cdn() public method

test_ignore_default_values_in_overlay_options() public method

test_ignore_http() public method

public test_ignore_http ( )

test_no_empty_options() public method

test_no_empty_transformation() public method

test_norm_range_value() public method

test_offset() public method

public test_offset ( )

test_original_width_and_height() public method

test_overlay() public method

public test_overlay ( )

test_overlay_options() public method

public test_overlay_options ( $options, $expected )

test_overlay_style_requires_font_family() public method

test_page() public method

public test_page ( )

test_quality() public method

public test_quality ( )

test_resource_type() public method

public test_resource_type ( )

test_responsive_width() public method

test_secure_akamai() public method

public test_secure_akamai ( )

test_secure_distibution() public method

test_secure_distribution() public method

test_secure_distribution_overwrite() public method

test_secure_non_akamai() public method

test_secure_shared_subdomain() public method

test_secure_shared_subdomain_false() public method

test_secure_subdomain_true() public method

test_shorten() public method

public test_shorten ( )

test_signed_url() public method

public test_signed_url ( )

test_size() public method

public test_size ( )

test_start_offset() public method

public test_start_offset ( )

test_text_require_public_id_or_style() public method

test_transformation_array() public method

test_transformation_simple() public method

test_translate_if() public method

should support and translate operators: '=', '!=', '<', '>', '<=', '>=', '&&', '||' and variables: width, height, pages, faces, aspect_ratio
public test_translate_if ( )

test_type() public method

public test_type ( )

test_underlay() public method

public test_underlay ( )

test_underlay_require_public_id_for_non_text() public method

test_upload_tag() public method

public test_upload_tag ( )

test_url_suffix_for_private_cdn() public method

test_url_suffix_for_raw() public method

test_use_root_path_for_private_cdn() public method

test_use_root_path_with_url_suffix_for_private_cdn() public method

test_user_agent() public method

public test_user_agent ( )

test_various_options() public method

test_video_codec() public method

public test_video_codec ( )

test_video_sampling() public method

public test_video_sampling ( )

test_width_auto() public method

public test_width_auto ( )