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

Public Member Functions

 objectManagerCallback ($className)
 
 constructorSetsSpecifiedContentObject ()
 
 constructorCreatesContentObjectIfItIsNotSpecified ()
 
 constructorSetsRequestUri ()
 
 constructorSetsBaseUri ()
 
 constructorInjectsRequestToUriBuilder ()
 
 constructorInjectsRequestToControllerContext ()
 
 constructorInjectsUriBuilderToControllerContext ()
 
 setFormatSetsRequestFormat ()
 

Protected Member Functions

 setUp ()
 
 tearDown ()
 
- 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

 $singletonInstances = []
 
 $view
 
 $mockRenderingContext
 
 $mockViewHelperVariableContainer
 
 $mockControllerContext
 
 $mockObjectManager
 
 $mockRequest
 
 $mockUriBuilder
 
 $mockConfigurationManager
 
 $mockContentObject
 
 $mockTemplatePaths
 
 $mockVariableProvider
 
 $mockCacheManager
 
- 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 35 of file StandaloneViewTest.php.

Member Function Documentation

constructorCreatesContentObjectIfItIsNotSpecified ( )
Test:

Definition at line 196 of file StandaloneViewTest.php.

constructorInjectsRequestToControllerContext ( )
Test:

Definition at line 234 of file StandaloneViewTest.php.

constructorInjectsRequestToUriBuilder ( )
Test:

Definition at line 225 of file StandaloneViewTest.php.

constructorInjectsUriBuilderToControllerContext ( )
Test:

Definition at line 243 of file StandaloneViewTest.php.

constructorSetsBaseUri ( )
Test:

Definition at line 215 of file StandaloneViewTest.php.

References GeneralUtility\getIndpEnv().

constructorSetsRequestUri ( )
Test:

Definition at line 205 of file StandaloneViewTest.php.

References GeneralUtility\getIndpEnv().

constructorSetsSpecifiedContentObject ( )
Test:

Definition at line 186 of file StandaloneViewTest.php.

References StandaloneViewTest\$mockContentObject.

objectManagerCallback (   $className)
Parameters
string$className
Returns
ConfigurationManagerInterface|TemplateParser|RenderingContext|Request|UriBuilder|ControllerContext|TemplateCompiler

Definition at line 156 of file StandaloneViewTest.php.

References StandaloneViewTest\$mockCacheManager, StandaloneViewTest\$mockConfigurationManager, StandaloneViewTest\$mockControllerContext, StandaloneViewTest\$mockRenderingContext, StandaloneViewTest\$mockRequest, StandaloneViewTest\$mockTemplatePaths, and StandaloneViewTest\$mockUriBuilder.

setFormatSetsRequestFormat ( )
Test:

Definition at line 252 of file StandaloneViewTest.php.

setUp ( )
protected
tearDown ( )
protected

Member Data Documentation

$mockCacheManager
protected

Definition at line 100 of file StandaloneViewTest.php.

Referenced by StandaloneViewTest\objectManagerCallback().

$mockConfigurationManager
protected

Definition at line 80 of file StandaloneViewTest.php.

Referenced by StandaloneViewTest\objectManagerCallback().

$mockContentObject
protected
$mockControllerContext
protected

Definition at line 60 of file StandaloneViewTest.php.

Referenced by StandaloneViewTest\objectManagerCallback().

$mockObjectManager
protected

Definition at line 65 of file StandaloneViewTest.php.

$mockRenderingContext
protected

Definition at line 50 of file StandaloneViewTest.php.

Referenced by StandaloneViewTest\objectManagerCallback().

$mockRequest
protected

Definition at line 70 of file StandaloneViewTest.php.

Referenced by StandaloneViewTest\objectManagerCallback().

$mockTemplatePaths
protected

Definition at line 90 of file StandaloneViewTest.php.

Referenced by StandaloneViewTest\objectManagerCallback().

$mockUriBuilder
protected

Definition at line 75 of file StandaloneViewTest.php.

Referenced by StandaloneViewTest\objectManagerCallback().

$mockVariableProvider
protected

Definition at line 95 of file StandaloneViewTest.php.

$mockViewHelperVariableContainer
protected

Definition at line 55 of file StandaloneViewTest.php.

$singletonInstances = []
protected

Definition at line 40 of file StandaloneViewTest.php.

$view
protected

Definition at line 45 of file StandaloneViewTest.php.