TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
AbstractWidgetViewHelperTest Class Reference
Inheritance diagram for AbstractWidgetViewHelperTest:
UnitTestCase BaseTestCase

Public Member Functions

 initializeArgumentsAndRenderCallsTheRightSequenceOfMethods ()
 
 initializeArgumentsAndRenderStoresTheWidgetContextIfInAjaxMode ()
 
 callViewHelper ()
 
 setChildNodesAddsChildNodesToWidgetContext ()
 
 initiateSubRequestThrowsExceptionIfControllerIsNoWidgetController ()
 
 initiateSubRequestBuildsRequestProperly ()
 
 getWidgetConfigurationReturnsArgumentsProperty ()
 
 compileDisablesTemplateCompiler ()
 

Protected Member Functions

 setUp ()
 
- Protected Member Functions inherited from UnitTestCase
 tearDown ()
 
- Protected Member Functions inherited from BaseTestCase
 getAccessibleMock ($originalClassName, $methods=[], array $arguments=[], $mockClassName= '', $callOriginalConstructor=true, $callOriginalClone=true, $callAutoload=true)
 
 getAccessibleMockForAbstractClass ($originalClassName, array $arguments=[], $mockClassName= '', $callOriginalConstructor=true, $callOriginalClone=true, $callAutoload=true, $mockedMethods=[])
 
 buildAccessibleProxy ($className)
 
 callInaccessibleMethod ($object, $name,...$arguments)
 
 inject ($target, $name, $dependency)
 
 getUniqueId ($prefix= '')
 

Protected Attributes

 $viewHelper
 
 $ajaxWidgetContextHolder
 
 $widgetContext
 
 $objectManager
 
 $controllerContext
 
 $request
 
 $mockExtensionService
 
- Protected Attributes inherited from UnitTestCase
 $backupGlobalsBlacklist = ['TYPO3_LOADED_EXT']
 
 $testFilesToDelete = []
 
- Protected Attributes inherited from BaseTestCase
 $backupGlobals = true
 
 $backupStaticAttributes = false
 

Detailed Description

Test case

Definition at line 25 of file AbstractWidgetViewHelperTest.php.

Member Function Documentation

compileDisablesTemplateCompiler ( )
getWidgetConfigurationReturnsArgumentsProperty ( )
initializeArgumentsAndRenderCallsTheRightSequenceOfMethods ( )
initializeArgumentsAndRenderStoresTheWidgetContextIfInAjaxMode ( )
initiateSubRequestBuildsRequestProperly ( )
Test:

Definition at line 166 of file AbstractWidgetViewHelperTest.php.

initiateSubRequestThrowsExceptionIfControllerIsNoWidgetController ( )
Test:

Definition at line 152 of file AbstractWidgetViewHelperTest.php.

setChildNodesAddsChildNodesToWidgetContext ( )
Test:

Definition at line 133 of file AbstractWidgetViewHelperTest.php.

setUp ( )
protected

Definition at line 65 of file AbstractWidgetViewHelperTest.php.

References BaseTestCase\getAccessibleMock().

Member Data Documentation

$ajaxWidgetContextHolder
protected

Definition at line 35 of file AbstractWidgetViewHelperTest.php.

$controllerContext
protected

Definition at line 50 of file AbstractWidgetViewHelperTest.php.

$mockExtensionService
protected

Definition at line 60 of file AbstractWidgetViewHelperTest.php.

$objectManager
protected

Definition at line 45 of file AbstractWidgetViewHelperTest.php.

$request
protected

Definition at line 55 of file AbstractWidgetViewHelperTest.php.

$widgetContext
protected

Definition at line 40 of file AbstractWidgetViewHelperTest.php.