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

Public Member Functions

 buildSetsRequestUri ()
 
 buildSetsBaseUri ()
 
 buildSetsRequestMethod ()
 
 buildSetsPostArgumentsFromRequest ()
 
 buildSetsGetArgumentsFromRequest ()
 
 buildSetsControllerActionNameFromGetArguments ()
 
 buildSetsWidgetContext ()
 
 buildReturnsRequest ()
 

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

 $widgetRequestBuilder
 
 $mockObjectManager
 
 $mockWidgetRequest
 
 $mockAjaxWidgetContextHolder
 
 $mockWidgetContext
 
- 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 20 of file WidgetRequestBuilderTest.php.

Member Function Documentation

buildReturnsRequest ( )
buildSetsBaseUri ( )
Test:

Definition at line 73 of file WidgetRequestBuilderTest.php.

References GeneralUtility\getIndpEnv().

buildSetsControllerActionNameFromGetArguments ( )
Test:

Definition at line 117 of file WidgetRequestBuilderTest.php.

buildSetsGetArgumentsFromRequest ( )
Test:

Definition at line 105 of file WidgetRequestBuilderTest.php.

buildSetsPostArgumentsFromRequest ( )
Test:

Definition at line 93 of file WidgetRequestBuilderTest.php.

buildSetsRequestMethod ( )
Test:

Definition at line 83 of file WidgetRequestBuilderTest.php.

buildSetsRequestUri ( )
Test:

Definition at line 63 of file WidgetRequestBuilderTest.php.

References GeneralUtility\getIndpEnv().

buildSetsWidgetContext ( )
Test:

Definition at line 127 of file WidgetRequestBuilderTest.php.

setUp ( )
protected

Definition at line 47 of file WidgetRequestBuilderTest.php.

References BaseTestCase\getAccessibleMock().

Member Data Documentation

$mockAjaxWidgetContextHolder
protected

Definition at line 40 of file WidgetRequestBuilderTest.php.

$mockObjectManager
protected

Definition at line 30 of file WidgetRequestBuilderTest.php.

$mockWidgetContext
protected

Definition at line 45 of file WidgetRequestBuilderTest.php.

$mockWidgetRequest
protected
$widgetRequestBuilder
protected

Definition at line 25 of file WidgetRequestBuilderTest.php.