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

Public Member Functions

 aSingleArgumentCanBeSetWithSetArgumentAndRetrievedWithGetArgument ()
 
 setArgumentThrowsExceptionIfTheGivenArgumentNameIsNoString ()
 
 setArgumentThrowsExceptionIfTheGivenArgumentNameIsAnEmptyString ()
 
 setArgumentThrowsExceptionIfTheGivenArgumentValueIsAnObject ()
 
 setArgumentsOverridesAllExistingArguments ()
 
 setArgumentsCallsSetArgumentForEveryArrayEntry ()
 
 setArgumentShouldSetControllerExtensionNameIfPackageKeyIsGiven ()
 
 setArgumentShouldSetControllerSubpackageKeyIfSubpackageKeyIsGiven ()
 
 setArgumentShouldSetControllerNameIfControllerIsGiven ()
 
 setArgumentShouldSetControllerActionNameIfActionIsGiven ()
 
 setArgumentShouldSetFormatIfFormatIsGiven ()
 
 setArgumentShouldSetVendorIfVendorIsGiven ()
 
 internalArgumentsShouldNotBeReturnedAsNormalArgument ()
 
 internalArgumentsShouldBeStoredAsInternalArguments ()
 
 hasInternalArgumentShouldReturnNullIfArgumentNotFound ()
 
 setArgumentAcceptsObjectIfArgumentIsInternal ()
 
 multipleArgumentsCanBeSetWithSetArgumentsAndRetrievedWithGetArguments ()
 
 hasArgumentTellsIfAnArgumentExists ()
 
 theActionNameCanBeSetAndRetrieved ()
 
 theRepresentationFormatCanBeSetAndRetrieved ()
 
 theRepresentationFormatIsAutomaticallyLowercased ()
 
 aFlagCanBeSetIfTheRequestNeedsToBeDispatchedAgain ()
 
 controllerArgumentsAndExpectedObjectName ()
 

Additional Inherited Members

- 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 inherited from UnitTestCase
 $backupGlobalsBlacklist = ['TYPO3_LOADED_EXT']
 
 $testFilesToDelete = []
 
- Protected Attributes inherited from BaseTestCase
 $backupGlobals = true
 
 $backupStaticAttributes = false
 

Detailed Description

Test case

Definition at line 22 of file extbase/Tests/Unit/Mvc/RequestTest.php.

Member Function Documentation

aFlagCanBeSetIfTheRequestNeedsToBeDispatchedAgain ( )
Test:

Definition at line 276 of file extbase/Tests/Unit/Mvc/RequestTest.php.

aSingleArgumentCanBeSetWithSetArgumentAndRetrievedWithGetArgument ( )
Test:

Definition at line 27 of file extbase/Tests/Unit/Mvc/RequestTest.php.

controllerArgumentsAndExpectedObjectName ( )

DataProvider for explodeObjectControllerName

Returns
array

Definition at line 289 of file extbase/Tests/Unit/Mvc/RequestTest.php.

hasArgumentTellsIfAnArgumentExists ( )
Test:

Definition at line 230 of file extbase/Tests/Unit/Mvc/RequestTest.php.

hasInternalArgumentShouldReturnNullIfArgumentNotFound ( )
Test:

Definition at line 195 of file extbase/Tests/Unit/Mvc/RequestTest.php.

internalArgumentsShouldBeStoredAsInternalArguments ( )
Test:

Definition at line 185 of file extbase/Tests/Unit/Mvc/RequestTest.php.

internalArgumentsShouldNotBeReturnedAsNormalArgument ( )
Test:

Definition at line 175 of file extbase/Tests/Unit/Mvc/RequestTest.php.

multipleArgumentsCanBeSetWithSetArgumentsAndRetrievedWithGetArguments ( )
Test:

Definition at line 215 of file extbase/Tests/Unit/Mvc/RequestTest.php.

setArgumentAcceptsObjectIfArgumentIsInternal ( )
Test:

Definition at line 204 of file extbase/Tests/Unit/Mvc/RequestTest.php.

setArgumentsCallsSetArgumentForEveryArrayEntry ( )
Test:

Definition at line 84 of file extbase/Tests/Unit/Mvc/RequestTest.php.

setArgumentShouldSetControllerActionNameIfActionIsGiven ( )
Test:

Definition at line 136 of file extbase/Tests/Unit/Mvc/RequestTest.php.

setArgumentShouldSetControllerExtensionNameIfPackageKeyIsGiven ( )
Test:

Definition at line 97 of file extbase/Tests/Unit/Mvc/RequestTest.php.

setArgumentShouldSetControllerNameIfControllerIsGiven ( )
Test:

Definition at line 123 of file extbase/Tests/Unit/Mvc/RequestTest.php.

setArgumentShouldSetControllerSubpackageKeyIfSubpackageKeyIsGiven ( )
Test:

Definition at line 110 of file extbase/Tests/Unit/Mvc/RequestTest.php.

setArgumentShouldSetFormatIfFormatIsGiven ( )
Test:

Definition at line 149 of file extbase/Tests/Unit/Mvc/RequestTest.php.

setArgumentShouldSetVendorIfVendorIsGiven ( )
Test:

Definition at line 162 of file extbase/Tests/Unit/Mvc/RequestTest.php.

setArgumentsOverridesAllExistingArguments ( )
Test:

Definition at line 71 of file extbase/Tests/Unit/Mvc/RequestTest.php.

setArgumentThrowsExceptionIfTheGivenArgumentNameIsAnEmptyString ( )
Test:

Definition at line 48 of file extbase/Tests/Unit/Mvc/RequestTest.php.

setArgumentThrowsExceptionIfTheGivenArgumentNameIsNoString ( )
Test:

Definition at line 37 of file extbase/Tests/Unit/Mvc/RequestTest.php.

setArgumentThrowsExceptionIfTheGivenArgumentValueIsAnObject ( )
Test:

Definition at line 59 of file extbase/Tests/Unit/Mvc/RequestTest.php.

theActionNameCanBeSetAndRetrieved ( )
Test:

Definition at line 241 of file extbase/Tests/Unit/Mvc/RequestTest.php.

theRepresentationFormatCanBeSetAndRetrieved ( )
Test:

Definition at line 255 of file extbase/Tests/Unit/Mvc/RequestTest.php.

theRepresentationFormatIsAutomaticallyLowercased ( )
Test:

Definition at line 265 of file extbase/Tests/Unit/Mvc/RequestTest.php.