randomMachineName(); } /** * Implements {tag_name}TestOutputXpath() for 'android-app-link-alternative'. */ private function androidAppLinkAlternativeTestOutputXpath() { return "//link[@rel='alternate' and starts-with(@href, 'android-app:')]"; } /** * Implements {tag_name}TestValueAttribute(). * * For 'android-app-link-alternative'. */ private function androidAppLinkAlternativeTestValueAttribute() { return 'href'; } /** * Implements {tag_name}TestOutputXpath() for 'android_manifest'. */ private function androidManifestTestOutputXpath() { return "//link[@rel='manifest']"; } /** * Implements {tag_name}TestValueAttribute() for 'android_manifest'. */ private function androidManifestTestValueAttribute() { return 'href'; } /** * Implements {tag_name}TestNameAttribute() for 'cleartype'. */ private function cleartypeTestNameAttribute() { return 'http-equiv'; } /** * Implements {tag_name}TestOutputXpath() for 'handheldfriendly'. */ private function handheldfriendlyTestOutputXpath() { return "//meta[@name='HandheldFriendly']"; } /** * Implements {tag_name}TestValue() for 'ios_app_link_alternative'. */ private function iosAppLinkAlternativeTestValue() { return 'ios-app:' . $this->randomMachineName(); } /** * Implements {tag_name}TestOutputXpath() for 'ios_app_link_alternative'. */ private function iosAppLinkAlternativeTestOutputXpath() { return "//link[@rel='alternate' and starts-with(@href, 'ios-app:')]"; } /** * Implements {tag_name}TestValueAttribute() for 'ios_app_link_alternative'. */ private function iosAppLinkAlternativeTestValueAttribute() { return 'href'; } /** * Implements {tag_name}TestOutputXpath() for 'mobileoptimized'. */ private function mobileoptimizedTestOutputXpath() { return "//meta[@name='MobileOptimized']"; } /** * Implements {tag_name}TestValue() for 'msapplication-square150x150logo'. */ private function msapplicationSquare150x150logoTestValue() { return $this->randomImageUrl(); } /** * Implements {tag_name}TestValue() for 'msapplication-square310x310logo'. */ private function msapplicationSquare310x310logoTestValue() { return $this->randomImageUrl(); } /** * Implements {tag_name}TestValue() for 'msapplication-square70x70logo'. */ private function msapplicationSquare70x70logoTestValue() { return $this->randomImageUrl(); } /** * Implements {tag_name}TestValue() for 'msapplication-tileimage'. */ private function msapplicationTileimageTestValue() { return $this->randomImageUrl(); } /** * Implements {tag_name}TestValue() for 'msapplication-wide310x150logo'. */ private function msapplicationWide310x150logoTestValue() { return $this->randomImageUrl(); } /** * Implements {tag_name}TestOutputXpath() for 'web_manifest'. */ private function webManifestTestOutputXpath() { return "//link[@rel='manifest']"; } /** * Implements {tag_name}TestValueAttribute() for 'web_manifest'. */ private function webManifestTestValueAttribute() { return 'href'; } /** * Implements {tag_name}TestNameAttribute() for 'x-ua-compatible'. */ private function xUaCompatibleTestNameAttribute() { return 'http-equiv'; } }