TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest Class Reference
Inheritance diagram for TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest:
TYPO3\CMS\Core\Tests\UnitTestCase TYPO3\CMS\Core\Tests\BaseTestCase

Public Member Functions

 tearDown ()
 
 constructSetsContentObjectRenderer ()
 
 renderCallsInitializeStandaloneViewInstance ()
 
 renderCallsStandardWrapForGivenTemplateFileWithStandardWrap ()
 
 renderSetsTemplateFileByTemplateInView ()
 
 renderSetsLayoutRootPathInView ()
 
 renderCallsStandardWrapForLayoutRootPath ()
 
 layoutRootPathsHasStdWrapSupport ()
 
 fallbacksForLayoutRootPathAreSet ()
 
 fallbacksForLayoutRootPathAreAppendedToLayoutRootPath ()
 
 renderSetsPartialRootPathInView ()
 
 partialRootPathsHasStdWrapSupport ()
 
 renderCallsStandardWrapForPartialRootPath ()
 
 fallbacksForPartialRootPathAreSet ()
 
 fallbacksForPartialRootPathAreAppendedToPartialRootPath ()
 
 renderSetsFormatInView ()
 
 renderCallsStandardWrapForFormat ()
 
 renderSetsExtbasePluginNameInRequest ()
 
 renderCallsStandardWrapForExtbasePluginName ()
 
 renderSetsExtbaseControllerExtensionNameInRequest ()
 
 renderCallsStandardWrapForExtbaseControllerExtensionName ()
 
 renderSetsExtbaseControllerNameInRequest ()
 
 renderCallsStandardWrapForExtbaseControllerName ()
 
 renderSetsExtbaseControllerActionNameInRequest ()
 
 renderCallsStandardWrapForExtbaseControllerActionName ()
 
 renderAssignsSettingsArrayToView ()
 
 renderThrowsExceptionForNotAllowedVariableData ()
 
 renderThrowsExceptionForNotAllowedVariableCurrent ()
 
 renderCallsCObjGetSingleForAllowedVariable ()
 
 renderAssignsRenderedContentObjectVariableToView ()
 
 renderAssignsContentObjectRendererDataToView ()
 
 renderAssignsContentObjectRendererCurrentValueToView ()
 
 renderCallsRenderOnStandaloneViewie ()
 
 renderCallsStandardWrapOnResultStringIfGivenInConfiguration ()
 

Protected Member Functions

 addMockViewToSubject ()
 
- Protected Member Functions inherited from TYPO3\CMS\Core\Tests\UnitTestCase
 tearDown ()
 
- Protected Member Functions inherited from TYPO3\CMS\Core\Tests\BaseTestCase
 getAccessibleMock ( $originalClassName, array $methods=array(), array $arguments=array(), $mockClassName='', $callOriginalConstructor=TRUE, $callOriginalClone=TRUE, $callAutoload=TRUE)
 
 getAccessibleMockForAbstractClass ( $originalClassName, array $arguments=array(), $mockClassName='', $callOriginalConstructor=TRUE, $callOriginalClone=TRUE, $callAutoload=TRUE)
 
 buildAccessibleProxy ($className)
 
 callInaccessibleMethod ($object, $name)
 
 inject ($target, $name, $dependency)
 
 getUniqueId ($prefix='')
 

Protected Attributes

 $singletonInstances = array()
 
 $subject = NULL
 
 $contentObjectRenderer = NULL
 
 $standaloneView = NULL
 
 $request = NULL
 
- Protected Attributes inherited from TYPO3\CMS\Core\Tests\UnitTestCase
 $backupGlobalsBlacklist = array('TYPO3_LOADED_EXT')
 
- Protected Attributes inherited from TYPO3\CMS\Core\Tests\BaseTestCase
 $backupGlobals = TRUE
 
 $backupStaticAttributes = FALSE
 

Detailed Description

Testcase

Author
Christian Kuhn lolli.nosp@m.@sch.nosp@m.warzb.nosp@m.u.ch

Definition at line 29 of file FluidTemplateContentObjectTest.php.

Member Function Documentation

◆ addMockViewToSubject()

TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest::addMockViewToSubject ( )
protected

Add a mock standalone view to subject

Definition at line 86 of file FluidTemplateContentObjectTest.php.

Referenced by TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest\fallbacksForLayoutRootPathAreAppendedToLayoutRootPath(), TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest\fallbacksForLayoutRootPathAreSet(), TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest\fallbacksForPartialRootPathAreAppendedToPartialRootPath(), TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest\fallbacksForPartialRootPathAreSet(), TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest\layoutRootPathsHasStdWrapSupport(), TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest\partialRootPathsHasStdWrapSupport(), TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest\renderAssignsContentObjectRendererCurrentValueToView(), TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest\renderAssignsContentObjectRendererDataToView(), TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest\renderAssignsRenderedContentObjectVariableToView(), TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest\renderAssignsSettingsArrayToView(), TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest\renderCallsCObjGetSingleForAllowedVariable(), TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest\renderCallsInitializeStandaloneViewInstance(), TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest\renderCallsRenderOnStandaloneViewie(), TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest\renderCallsStandardWrapForExtbaseControllerActionName(), TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest\renderCallsStandardWrapForExtbaseControllerExtensionName(), TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest\renderCallsStandardWrapForExtbaseControllerName(), TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest\renderCallsStandardWrapForExtbasePluginName(), TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest\renderCallsStandardWrapForFormat(), TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest\renderCallsStandardWrapForGivenTemplateFileWithStandardWrap(), TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest\renderCallsStandardWrapForLayoutRootPath(), TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest\renderCallsStandardWrapForPartialRootPath(), TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest\renderCallsStandardWrapOnResultStringIfGivenInConfiguration(), TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest\renderSetsExtbaseControllerActionNameInRequest(), TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest\renderSetsExtbaseControllerExtensionNameInRequest(), TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest\renderSetsExtbaseControllerNameInRequest(), TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest\renderSetsExtbasePluginNameInRequest(), TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest\renderSetsFormatInView(), TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest\renderSetsLayoutRootPathInView(), TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest\renderSetsPartialRootPathInView(), TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest\renderSetsTemplateFileByTemplateInView(), TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest\renderThrowsExceptionForNotAllowedVariableCurrent(), and TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest\renderThrowsExceptionForNotAllowedVariableData().

◆ constructSetsContentObjectRenderer()

TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest::constructSetsContentObjectRenderer ( )
Test:

Definition at line 99 of file FluidTemplateContentObjectTest.php.

◆ fallbacksForLayoutRootPathAreAppendedToLayoutRootPath()

TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest::fallbacksForLayoutRootPathAreAppendedToLayoutRootPath ( )

◆ fallbacksForLayoutRootPathAreSet()

TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest::fallbacksForLayoutRootPathAreSet ( )

◆ fallbacksForPartialRootPathAreAppendedToPartialRootPath()

TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest::fallbacksForPartialRootPathAreAppendedToPartialRootPath ( )

◆ fallbacksForPartialRootPathAreSet()

TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest::fallbacksForPartialRootPathAreSet ( )

◆ layoutRootPathsHasStdWrapSupport()

TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest::layoutRootPathsHasStdWrapSupport ( )

◆ partialRootPathsHasStdWrapSupport()

TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest::partialRootPathsHasStdWrapSupport ( )

◆ renderAssignsContentObjectRendererCurrentValueToView()

TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest::renderAssignsContentObjectRendererCurrentValueToView ( )

◆ renderAssignsContentObjectRendererDataToView()

TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest::renderAssignsContentObjectRendererDataToView ( )

◆ renderAssignsRenderedContentObjectVariableToView()

TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest::renderAssignsRenderedContentObjectVariableToView ( )

◆ renderAssignsSettingsArrayToView()

TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest::renderAssignsSettingsArrayToView ( )

◆ renderCallsCObjGetSingleForAllowedVariable()

TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest::renderCallsCObjGetSingleForAllowedVariable ( )

◆ renderCallsInitializeStandaloneViewInstance()

TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest::renderCallsInitializeStandaloneViewInstance ( )

◆ renderCallsRenderOnStandaloneViewie()

TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest::renderCallsRenderOnStandaloneViewie ( )

◆ renderCallsStandardWrapForExtbaseControllerActionName()

TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest::renderCallsStandardWrapForExtbaseControllerActionName ( )

◆ renderCallsStandardWrapForExtbaseControllerExtensionName()

TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest::renderCallsStandardWrapForExtbaseControllerExtensionName ( )

◆ renderCallsStandardWrapForExtbaseControllerName()

TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest::renderCallsStandardWrapForExtbaseControllerName ( )

◆ renderCallsStandardWrapForExtbasePluginName()

TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest::renderCallsStandardWrapForExtbasePluginName ( )

◆ renderCallsStandardWrapForFormat()

TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest::renderCallsStandardWrapForFormat ( )

◆ renderCallsStandardWrapForGivenTemplateFileWithStandardWrap()

TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest::renderCallsStandardWrapForGivenTemplateFileWithStandardWrap ( )

◆ renderCallsStandardWrapForLayoutRootPath()

TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest::renderCallsStandardWrapForLayoutRootPath ( )

◆ renderCallsStandardWrapForPartialRootPath()

TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest::renderCallsStandardWrapForPartialRootPath ( )

◆ renderCallsStandardWrapOnResultStringIfGivenInConfiguration()

TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest::renderCallsStandardWrapOnResultStringIfGivenInConfiguration ( )

◆ renderSetsExtbaseControllerActionNameInRequest()

TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest::renderSetsExtbaseControllerActionNameInRequest ( )

◆ renderSetsExtbaseControllerExtensionNameInRequest()

TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest::renderSetsExtbaseControllerExtensionNameInRequest ( )

◆ renderSetsExtbaseControllerNameInRequest()

TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest::renderSetsExtbaseControllerNameInRequest ( )

◆ renderSetsExtbasePluginNameInRequest()

TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest::renderSetsExtbasePluginNameInRequest ( )

◆ renderSetsFormatInView()

TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest::renderSetsFormatInView ( )

◆ renderSetsLayoutRootPathInView()

TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest::renderSetsLayoutRootPathInView ( )

◆ renderSetsPartialRootPathInView()

TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest::renderSetsPartialRootPathInView ( )

◆ renderSetsTemplateFileByTemplateInView()

TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest::renderSetsTemplateFileByTemplateInView ( )

◆ renderThrowsExceptionForNotAllowedVariableCurrent()

TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest::renderThrowsExceptionForNotAllowedVariableCurrent ( )

◆ renderThrowsExceptionForNotAllowedVariableData()

TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest::renderThrowsExceptionForNotAllowedVariableData ( )

◆ tearDown()

TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest::tearDown ( )

Member Data Documentation

◆ $contentObjectRenderer

TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest::$contentObjectRenderer = NULL
protected

Definition at line 44 of file FluidTemplateContentObjectTest.php.

◆ $request

TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest::$request = NULL
protected

Definition at line 54 of file FluidTemplateContentObjectTest.php.

◆ $singletonInstances

TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest::$singletonInstances = array()
protected

Definition at line 34 of file FluidTemplateContentObjectTest.php.

◆ $standaloneView

TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest::$standaloneView = NULL
protected

Definition at line 49 of file FluidTemplateContentObjectTest.php.

◆ $subject

TYPO3\CMS\Frontend\Tests\Unit\ContentObject\FluidTemplateContentObjectTest::$subject = NULL
protected

Definition at line 39 of file FluidTemplateContentObjectTest.php.