PHP 클래스 Twitter\Tests\WordPress\Shortcodes\EmbeddedTweetVideo

상속: extends PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: twitter/wordpress

공개 메소드들

메소드 설명
testGetOEmbedCacheKeyCustomParameters ( ) : void Test building a unique cache key component for shortcode customizations
testSanitizeShortcodeParametersID ( string $tweet_id ) : void Test extracting a Tweet ID from a shortcode through id attribute
tweetIDProvider ( ) : array Provide Tweet values which should all evaluate to a Tweet ID of 20

메소드 상세

testGetOEmbedCacheKeyCustomParameters() 공개 메소드

Test building a unique cache key component for shortcode customizations
부터: 1.0.0

testSanitizeShortcodeParametersID() 공개 메소드

Test extracting a Tweet ID from a shortcode through id attribute
부터: 1.0.0
public testSanitizeShortcodeParametersID ( string $tweet_id ) : void
$tweet_id string Tweet ID test value
리턴 void

tweetIDProvider() 공개 정적인 메소드

Provide Tweet values which should all evaluate to a Tweet ID of 20
부터: 1.0.0
public static tweetIDProvider ( ) : array
리턴 array array of test values