TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Extbase\Tests\Unit\Mvc\Controller\CommandControllerTest Class Reference
Inheritance diagram for TYPO3\CMS\Extbase\Tests\Unit\Mvc\Controller\CommandControllerTest:
TYPO3\CMS\Core\Tests\UnitTestCase TYPO3\CMS\Core\Tests\BaseTestCase

Public Member Functions

 outputAppendsGivenStringToTheResponseContent ()
 
 outputReplacesArgumentsInGivenString ()
 
 quitThrowsStopActionException ()
 
 quitSetsResponseExitCode ()
 
 settingRequestAdminPropertySetsAdminRoleInUserAuthentication ()
 

Protected Member Functions

 setUp ()
 
- Protected Member Functions inherited from TYPO3\CMS\Core\Tests\UnitTestCase
 tearDown ()
 
- Protected Member Functions inherited from TYPO3\CMS\Core\Tests\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)
 
 inject ($target, $name, $dependency)
 
 getUniqueId ($prefix='')
 

Protected Attributes

 $commandController
 
 $mockConsoleOutput
 
- Protected Attributes inherited from TYPO3\CMS\Core\Tests\UnitTestCase
 $backupGlobalsBlacklist = ['TYPO3_LOADED_EXT']
 
 $testFilesToDelete = []
 
- Protected Attributes inherited from TYPO3\CMS\Core\Tests\BaseTestCase
 $backupGlobals = true
 
 $backupStaticAttributes = false
 

Detailed Description

Test case

Definition at line 20 of file CommandControllerTest.php.

Member Function Documentation

◆ outputAppendsGivenStringToTheResponseContent()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\Controller\CommandControllerTest::outputAppendsGivenStringToTheResponseContent ( )
Test:

Definition at line 42 of file CommandControllerTest.php.

◆ outputReplacesArgumentsInGivenString()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\Controller\CommandControllerTest::outputReplacesArgumentsInGivenString ( )
Test:

Definition at line 51 of file CommandControllerTest.php.

◆ quitSetsResponseExitCode()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\Controller\CommandControllerTest::quitSetsResponseExitCode ( )
Test:

Definition at line 72 of file CommandControllerTest.php.

◆ quitThrowsStopActionException()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\Controller\CommandControllerTest::quitThrowsStopActionException ( )
Test:

Definition at line 61 of file CommandControllerTest.php.

◆ settingRequestAdminPropertySetsAdminRoleInUserAuthentication()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\Controller\CommandControllerTest::settingRequestAdminPropertySetsAdminRoleInUserAuthentication ( )
Test:

Definition at line 83 of file CommandControllerTest.php.

◆ setUp()

TYPO3\CMS\Extbase\Tests\Unit\Mvc\Controller\CommandControllerTest::setUp ( )
protected

Member Data Documentation

◆ $commandController

TYPO3\CMS\Extbase\Tests\Unit\Mvc\Controller\CommandControllerTest::$commandController
protected

Definition at line 25 of file CommandControllerTest.php.

◆ $mockConsoleOutput

TYPO3\CMS\Extbase\Tests\Unit\Mvc\Controller\CommandControllerTest::$mockConsoleOutput
protected

|

Definition at line 30 of file CommandControllerTest.php.