‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Tests\Unit\Resource\Rendering\YouTubeRendererTest Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Unit\Resource\Rendering\YouTubeRendererTest:

Public Member Functions

 getPriorityReturnsCorrectValue ()
 
 canRenderReturnsTrueOnCorrectFile ()
 
 canRenderReturnsFalseOnCorrectFile ()
 
 renderOutputWithLoopIsCorrect ()
 
 renderOutputWithAutoplayIsCorrect ()
 
 renderOutputWithAutoplayFromFileReferenceIsCorrect ()
 
 renderOutputWithAutoplayAndWithoutControlsIsCorrect ()
 
 renderOutputWithDefaultControlsIsCorrect ($expected, $options)
 
 renderOutputWithRelatedVideosTurnedOffIsCorrect ()
 
 renderOutputWithAdditionalAttributes ()
 
 renderOutputWithDataAttributesForCustomization ()
 
 renderOutputWithCombinationOfDataAndAdditionalAttributes ()
 
 renderOutputWithDisabledNoCookieIsCorrect ()
 
 renderOutputWithModestbrandingIsCorrect ()
 
 renderOutputWithCustomAllowIsCorrect ()
 
 renderOutputWithCustomAllowAndAutoplayIsCorrect ()
 
 renderOutputIsEscaped ()
 

Static Public Member Functions

static renderOutputWithControlsDataProvider ()
 

Protected Member Functions

 setUp ()
 

Protected Attributes

YouTubeRenderer &MockObject $subject
 

Detailed Description

Definition at line 29 of file YouTubeRendererTest.php.

Member Function Documentation

◆ canRenderReturnsFalseOnCorrectFile()

TYPO3\CMS\Core\Tests\Unit\Resource\Rendering\YouTubeRendererTest::canRenderReturnsFalseOnCorrectFile ( )

Definition at line 67 of file YouTubeRendererTest.php.

◆ canRenderReturnsTrueOnCorrectFile()

TYPO3\CMS\Core\Tests\Unit\Resource\Rendering\YouTubeRendererTest::canRenderReturnsTrueOnCorrectFile ( )

Definition at line 53 of file YouTubeRendererTest.php.

◆ getPriorityReturnsCorrectValue()

TYPO3\CMS\Core\Tests\Unit\Resource\Rendering\YouTubeRendererTest::getPriorityReturnsCorrectValue ( )

Definition at line 47 of file YouTubeRendererTest.php.

◆ renderOutputIsEscaped()

TYPO3\CMS\Core\Tests\Unit\Resource\Rendering\YouTubeRendererTest::renderOutputIsEscaped ( )

◆ renderOutputWithAdditionalAttributes()

TYPO3\CMS\Core\Tests\Unit\Resource\Rendering\YouTubeRendererTest::renderOutputWithAdditionalAttributes ( )

Definition at line 217 of file YouTubeRendererTest.php.

◆ renderOutputWithAutoplayAndWithoutControlsIsCorrect()

TYPO3\CMS\Core\Tests\Unit\Resource\Rendering\YouTubeRendererTest::renderOutputWithAutoplayAndWithoutControlsIsCorrect ( )

Definition at line 113 of file YouTubeRendererTest.php.

◆ renderOutputWithAutoplayFromFileReferenceIsCorrect()

TYPO3\CMS\Core\Tests\Unit\Resource\Rendering\YouTubeRendererTest::renderOutputWithAutoplayFromFileReferenceIsCorrect ( )

Definition at line 98 of file YouTubeRendererTest.php.

◆ renderOutputWithAutoplayIsCorrect()

TYPO3\CMS\Core\Tests\Unit\Resource\Rendering\YouTubeRendererTest::renderOutputWithAutoplayIsCorrect ( )

Definition at line 87 of file YouTubeRendererTest.php.

◆ renderOutputWithCombinationOfDataAndAdditionalAttributes()

TYPO3\CMS\Core\Tests\Unit\Resource\Rendering\YouTubeRendererTest::renderOutputWithCombinationOfDataAndAdditionalAttributes ( )

Definition at line 239 of file YouTubeRendererTest.php.

◆ renderOutputWithControlsDataProvider()

static TYPO3\CMS\Core\Tests\Unit\Resource\Rendering\YouTubeRendererTest::renderOutputWithControlsDataProvider ( )
static

Definition at line 123 of file YouTubeRendererTest.php.

◆ renderOutputWithCustomAllowAndAutoplayIsCorrect()

TYPO3\CMS\Core\Tests\Unit\Resource\Rendering\YouTubeRendererTest::renderOutputWithCustomAllowAndAutoplayIsCorrect ( )

Definition at line 283 of file YouTubeRendererTest.php.

◆ renderOutputWithCustomAllowIsCorrect()

TYPO3\CMS\Core\Tests\Unit\Resource\Rendering\YouTubeRendererTest::renderOutputWithCustomAllowIsCorrect ( )

Definition at line 272 of file YouTubeRendererTest.php.

◆ renderOutputWithDataAttributesForCustomization()

TYPO3\CMS\Core\Tests\Unit\Resource\Rendering\YouTubeRendererTest::renderOutputWithDataAttributesForCustomization ( )

Definition at line 228 of file YouTubeRendererTest.php.

◆ renderOutputWithDefaultControlsIsCorrect()

TYPO3\CMS\Core\Tests\Unit\Resource\Rendering\YouTubeRendererTest::renderOutputWithDefaultControlsIsCorrect (   $expected,
  $options 
)

Definition at line 195 of file YouTubeRendererTest.php.

◆ renderOutputWithDisabledNoCookieIsCorrect()

TYPO3\CMS\Core\Tests\Unit\Resource\Rendering\YouTubeRendererTest::renderOutputWithDisabledNoCookieIsCorrect ( )

Definition at line 250 of file YouTubeRendererTest.php.

◆ renderOutputWithLoopIsCorrect()

TYPO3\CMS\Core\Tests\Unit\Resource\Rendering\YouTubeRendererTest::renderOutputWithLoopIsCorrect ( )

Definition at line 76 of file YouTubeRendererTest.php.

◆ renderOutputWithModestbrandingIsCorrect()

TYPO3\CMS\Core\Tests\Unit\Resource\Rendering\YouTubeRendererTest::renderOutputWithModestbrandingIsCorrect ( )

Definition at line 261 of file YouTubeRendererTest.php.

◆ renderOutputWithRelatedVideosTurnedOffIsCorrect()

TYPO3\CMS\Core\Tests\Unit\Resource\Rendering\YouTubeRendererTest::renderOutputWithRelatedVideosTurnedOffIsCorrect ( )

Definition at line 206 of file YouTubeRendererTest.php.

◆ setUp()

TYPO3\CMS\Core\Tests\Unit\Resource\Rendering\YouTubeRendererTest::setUp ( )
protected

Definition at line 33 of file YouTubeRendererTest.php.

References $_SERVER.

Member Data Documentation

◆ $subject

YouTubeRenderer& MockObject TYPO3\CMS\Core\Tests\Unit\Resource\Rendering\YouTubeRendererTest::$subject
protected