TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Extbase\Tests\Unit\Mvc\RequestTest Class Reference
Inheritance diagram for TYPO3\CMS\Extbase\Tests\Unit\Mvc\RequestTest:
TYPO3\CMS\Core\Tests\UnitTestCase TYPO3\CMS\Core\Tests\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 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 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

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! Test case

Definition at line 20 of file RequestTest.php.

Member Function Documentation

◆ aFlagCanBeSetIfTheRequestNeedsToBeDispatchedAgain()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\RequestTest::aFlagCanBeSetIfTheRequestNeedsToBeDispatchedAgain ( )
Test:
Author
Robert Lemke rober.nosp@m.t@ty.nosp@m.po3.o.nosp@m.rg

Definition at line 245 of file RequestTest.php.

◆ aSingleArgumentCanBeSetWithSetArgumentAndRetrievedWithGetArgument()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\RequestTest::aSingleArgumentCanBeSetWithSetArgumentAndRetrievedWithGetArgument ( )
Test:
Author
Robert Lemke rober.nosp@m.t@ty.nosp@m.po3.o.nosp@m.rg

Definition at line 26 of file RequestTest.php.

◆ controllerArgumentsAndExpectedObjectName()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\RequestTest::controllerArgumentsAndExpectedObjectName ( )

DataProvider for explodeObjectControllerName

Returns
array

Definition at line 257 of file RequestTest.php.

References TYPO3\CMS\Core\Tests\BaseTestCase\getAccessibleMock().

◆ hasArgumentTellsIfAnArgumentExists()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\RequestTest::hasArgumentTellsIfAnArgumentExists ( )
Test:
Author
Robert Lemke rober.nosp@m.t@ty.nosp@m.po3.o.nosp@m.rg

Definition at line 203 of file RequestTest.php.

◆ hasInternalArgumentShouldReturnNullIfArgumentNotFound()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\RequestTest::hasInternalArgumentShouldReturnNullIfArgumentNotFound ( )
Test:

Definition at line 168 of file RequestTest.php.

◆ internalArgumentsShouldBeStoredAsInternalArguments()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\RequestTest::internalArgumentsShouldBeStoredAsInternalArguments ( )
Test:

Definition at line 159 of file RequestTest.php.

◆ internalArgumentsShouldNotBeReturnedAsNormalArgument()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\RequestTest::internalArgumentsShouldNotBeReturnedAsNormalArgument ( )
Test:

Definition at line 150 of file RequestTest.php.

◆ multipleArgumentsCanBeSetWithSetArgumentsAndRetrievedWithGetArguments()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\RequestTest::multipleArgumentsCanBeSetWithSetArgumentsAndRetrievedWithGetArguments ( )
Test:
Author
Robert Lemke rober.nosp@m.t@ty.nosp@m.po3.o.nosp@m.rg

Definition at line 188 of file RequestTest.php.

◆ setArgumentAcceptsObjectIfArgumentIsInternal()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\RequestTest::setArgumentAcceptsObjectIfArgumentIsInternal ( )
Test:
Author
Sebastian Kurfürst sebas.nosp@m.tian.nosp@m.@typo.nosp@m.3.or.nosp@m.g

Definition at line 177 of file RequestTest.php.

◆ setArgumentsCallsSetArgumentForEveryArrayEntry()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\RequestTest::setArgumentsCallsSetArgumentForEveryArrayEntry ( )
Test:
Author
Bastian Waidelich basti.nosp@m.an@t.nosp@m.ypo3..nosp@m.org

Definition at line 80 of file RequestTest.php.

◆ setArgumentShouldSetControllerActionNameIfActionIsGiven()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\RequestTest::setArgumentShouldSetControllerActionNameIfActionIsGiven ( )
Test:

Definition at line 120 of file RequestTest.php.

◆ setArgumentShouldSetControllerExtensionNameIfPackageKeyIsGiven()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\RequestTest::setArgumentShouldSetControllerExtensionNameIfPackageKeyIsGiven ( )
Test:

Definition at line 90 of file RequestTest.php.

◆ setArgumentShouldSetControllerNameIfControllerIsGiven()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\RequestTest::setArgumentShouldSetControllerNameIfControllerIsGiven ( )
Test:

Definition at line 110 of file RequestTest.php.

◆ setArgumentShouldSetControllerSubpackageKeyIfSubpackageKeyIsGiven()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\RequestTest::setArgumentShouldSetControllerSubpackageKeyIfSubpackageKeyIsGiven ( )
Test:

Definition at line 100 of file RequestTest.php.

◆ setArgumentShouldSetFormatIfFormatIsGiven()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\RequestTest::setArgumentShouldSetFormatIfFormatIsGiven ( )
Test:

Definition at line 130 of file RequestTest.php.

◆ setArgumentShouldSetVendorIfVendorIsGiven()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\RequestTest::setArgumentShouldSetVendorIfVendorIsGiven ( )
Test:

Definition at line 140 of file RequestTest.php.

◆ setArgumentsOverridesAllExistingArguments()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\RequestTest::setArgumentsOverridesAllExistingArguments ( )
Test:
Author
Bastian Waidelich basti.nosp@m.an@t.nosp@m.ypo3..nosp@m.org

Definition at line 67 of file RequestTest.php.

◆ setArgumentThrowsExceptionIfTheGivenArgumentNameIsAnEmptyString()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\RequestTest::setArgumentThrowsExceptionIfTheGivenArgumentNameIsAnEmptyString ( )
Test:
Author
Bastian Waidelich basti.nosp@m.an@t.nosp@m.ypo3..nosp@m.org

Definition at line 47 of file RequestTest.php.

◆ setArgumentThrowsExceptionIfTheGivenArgumentNameIsNoString()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\RequestTest::setArgumentThrowsExceptionIfTheGivenArgumentNameIsNoString ( )
Test:
Author
Bastian Waidelich basti.nosp@m.an@t.nosp@m.ypo3..nosp@m.org

Definition at line 37 of file RequestTest.php.

◆ setArgumentThrowsExceptionIfTheGivenArgumentValueIsAnObject()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\RequestTest::setArgumentThrowsExceptionIfTheGivenArgumentValueIsAnObject ( )
Test:
Author
Bastian Waidelich basti.nosp@m.an@t.nosp@m.ypo3..nosp@m.org

Definition at line 57 of file RequestTest.php.

◆ theActionNameCanBeSetAndRetrieved()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\RequestTest::theActionNameCanBeSetAndRetrieved ( )
Test:
Author
Robert Lemke rober.nosp@m.t@ty.nosp@m.po3.o.nosp@m.rg

Definition at line 214 of file RequestTest.php.

◆ theRepresentationFormatCanBeSetAndRetrieved()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\RequestTest::theRepresentationFormatCanBeSetAndRetrieved ( )
Test:
Author
Robert Lemke rober.nosp@m.t@ty.nosp@m.po3.o.nosp@m.rg

Definition at line 225 of file RequestTest.php.

◆ theRepresentationFormatIsAutomaticallyLowercased()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\RequestTest::theRepresentationFormatIsAutomaticallyLowercased ( )
Test:

Definition at line 234 of file RequestTest.php.