randomMachineName(); } /** * Implements {meta_tag_name}_test_output_xpath() for * 'android-app-link-alternative'. */ public function android_app_link_alternative_test_output_xpath() { return "//link[@rel='alternate' and starts-with(@href, 'android-app:')]"; } /** * Implements {meta_tag_name}_test_preprocess_output() for * 'android-app-link-alternative'. */ public function android_app_link_alternative_test_preprocess_output($string) { return 'android-app://' . $string; } /** * Implements {meta_tag_name}_test_value_attribute() for * 'android-app-link-alternative'. */ public function android_app_link_alternative_test_value_attribute() { return 'href'; } /** * Implements {meta_tag_name}_test_output_xpath() for 'android_manifest'. */ public function android_manifest_test_output_xpath() { return "//link[@rel='manifest']"; } /** * Implements {meta_tag_name}_test_value_attribute() for 'android_manifest'. */ public function android_manifest_test_value_attribute() { return 'href'; } /** * Implements {meta_tag_name}_test_name_attribute() for 'cleartype'. */ public function cleartype_test_name_attribute() { return 'http-equiv'; } /** * Implements {meta_tag_name}_test_output_xpath() for 'handheldfriendly'. */ public function handheldfriendly_test_output_xpath() { return "//meta[@name='HandheldFriendly']"; } /** * Implements {meta_tag_name}_test_value() for * 'ios_app_link_alternative'. */ public function ios_app_link_alternative_test_value() { return 'ios-app:' . $this->randomMachineName(); } /** * Implements {meta_tag_name}_test_output_xpath() for * 'ios_app_link_alternative'. */ public function ios_app_link_alternative_test_output_xpath() { return "//link[@rel='alternate' and starts-with(@href, 'ios-app:')]"; } /** * Implements {meta_tag_name}_test_output_prefix() for * 'ios_app_link_alternative'. */ public function ios_app_link_alternative_test_preprocess_output($string) { return 'ios-app://' . $string; } /** * Implements {meta_tag_name}_test_value_attribute() for * 'ios_app_link_alternative'. */ public function ios_app_link_alternative_test_value_attribute() { return 'href'; } /** * Implements {meta_tag_name}_test_output_xpath() for 'mobileoptimized'. */ public function mobileoptimized_test_output_xpath() { return "//meta[@name='MobileOptimized']"; } /** * Implements {meta_tag_name}_test_value() for 'msapplication-square150x150logo'. */ public function msapplication_square150x150logo_test_value() { return $this->randomImageUrl(); } /** * Implements {meta_tag_name}_test_value() for 'msapplication-square310x310logo'. */ public function msapplication_square310x310logo_test_value() { return $this->randomImageUrl(); } /** * Implements {meta_tag_name}_test_value() for 'msapplication-square70x70logo'. */ public function msapplication_square70x70logo_test_value() { return $this->randomImageUrl(); } /** * Implements {meta_tag_name}_test_value() for 'msapplication-tileimage'. */ public function msapplication_tileimage_test_value() { return $this->randomImageUrl(); } /** * Implements {meta_tag_name}_test_value() for 'msapplication-wide310x150logo'. */ public function msapplication_wide310x150logo_test_value() { return $this->randomImageUrl(); } /** * Implements {meta_tag_name}_test_name_attribute() for 'x-ua-compatible'. */ public function x_ua_compatible_test_name_attribute() { return 'http-equiv'; } }