TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Extbase\Tests\Unit\Mvc\Cli\RequestTest Class Reference
Inheritance diagram for TYPO3\CMS\Extbase\Tests\Unit\Mvc\Cli\RequestTest:
TYPO3\CMS\Core\Tests\UnitTestCase TYPO3\CMS\Core\Tests\BaseTestCase

Public Member Functions

 setUp ()
 
 getCommandReturnsTheCommandObjectReflectingTheRequestInformation ()
 
 setControllerObjectNameAndSetControllerCommandNameUnsetTheBuiltCommandObject ()
 
 setControllerObjectNameProperlyResolvesExtensionNameWithNamespaces ()
 
 setControllerObjectNameProperlyResolvesExtensionNameWithoutNamespaces ()
 

Protected Attributes

 $request
 
 $mockObjectManager
 
- 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
 

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='')
 

Detailed Description

Test case

Definition at line 27 of file RequestTest.php.

Member Function Documentation

◆ getCommandReturnsTheCommandObjectReflectingTheRequestInformation()

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

Definition at line 52 of file RequestTest.php.

◆ setControllerObjectNameAndSetControllerCommandNameUnsetTheBuiltCommandObject()

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

Definition at line 63 of file RequestTest.php.

◆ setControllerObjectNameProperlyResolvesExtensionNameWithNamespaces()

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

Definition at line 76 of file RequestTest.php.

◆ setControllerObjectNameProperlyResolvesExtensionNameWithoutNamespaces()

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

Definition at line 86 of file RequestTest.php.

◆ setUp()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\Cli\RequestTest::setUp ( )

Sets up this test case

Definition at line 42 of file RequestTest.php.

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

Member Data Documentation

◆ $mockObjectManager

TYPO3\CMS\Extbase\Tests\Unit\Mvc\Cli\RequestTest::$mockObjectManager
protected

Definition at line 37 of file RequestTest.php.

◆ $request

TYPO3\CMS\Extbase\Tests\Unit\Mvc\Cli\RequestTest::$request
protected

Definition at line 32 of file RequestTest.php.