TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Backend\Tests\Unit\Controller\File\FileControllerTest Class Reference
Inheritance diagram for TYPO3\CMS\Backend\Tests\Unit\Controller\File\FileControllerTest:
TYPO3\CMS\Core\Tests\UnitTestCase TYPO3\CMS\Core\Tests\BaseTestCase

Public Member Functions

 flattenResultDataValueFlattensFileAndFolderResourcesButReturnsAnythingElseAsIs ()
 
 processAjaxRequestDeleteProcessActuallyDoesNotChangeFileData ()
 
 processAjaxRequestEditFileProcessActuallyDoesNotChangeFileData ()
 
 processAjaxRequestUnzipProcessActuallyDoesNotChangeFileData ()
 
 processAjaxRequestReturnsStatus200IfNoErrorOccures ()
 
 processAjaxRequestReturnsStatus500IfErrorOccurs ()
 

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

 $fileController
 
 $fileResourceMock
 
 $folderResourceMock
 
 $mockFileProcessor
 
 $request
 
 $response
 
- 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

Tests for

Definition at line 23 of file FileControllerTest.php.

Member Function Documentation

◆ flattenResultDataValueFlattensFileAndFolderResourcesButReturnsAnythingElseAsIs()

TYPO3\CMS\Backend\Tests\Unit\Controller\File\FileControllerTest::flattenResultDataValueFlattensFileAndFolderResourcesButReturnsAnythingElseAsIs ( )

◆ processAjaxRequestDeleteProcessActuallyDoesNotChangeFileData()

TYPO3\CMS\Backend\Tests\Unit\Controller\File\FileControllerTest::processAjaxRequestDeleteProcessActuallyDoesNotChangeFileData ( )

◆ processAjaxRequestEditFileProcessActuallyDoesNotChangeFileData()

TYPO3\CMS\Backend\Tests\Unit\Controller\File\FileControllerTest::processAjaxRequestEditFileProcessActuallyDoesNotChangeFileData ( )

◆ processAjaxRequestReturnsStatus200IfNoErrorOccures()

TYPO3\CMS\Backend\Tests\Unit\Controller\File\FileControllerTest::processAjaxRequestReturnsStatus200IfNoErrorOccures ( )

◆ processAjaxRequestReturnsStatus500IfErrorOccurs()

TYPO3\CMS\Backend\Tests\Unit\Controller\File\FileControllerTest::processAjaxRequestReturnsStatus500IfErrorOccurs ( )

◆ processAjaxRequestUnzipProcessActuallyDoesNotChangeFileData()

TYPO3\CMS\Backend\Tests\Unit\Controller\File\FileControllerTest::processAjaxRequestUnzipProcessActuallyDoesNotChangeFileData ( )

◆ setUp()

TYPO3\CMS\Backend\Tests\Unit\Controller\File\FileControllerTest::setUp ( )
protected

Sets up this test case.

Definition at line 58 of file FileControllerTest.php.

Member Data Documentation

◆ $fileController

TYPO3\CMS\Backend\Tests\Unit\Controller\File\FileControllerTest::$fileController
protected

Definition at line 28 of file FileControllerTest.php.

◆ $fileResourceMock

TYPO3\CMS\Backend\Tests\Unit\Controller\File\FileControllerTest::$fileResourceMock
protected

Definition at line 33 of file FileControllerTest.php.

◆ $folderResourceMock

TYPO3\CMS\Backend\Tests\Unit\Controller\File\FileControllerTest::$folderResourceMock
protected

Definition at line 38 of file FileControllerTest.php.

◆ $mockFileProcessor

TYPO3\CMS\Backend\Tests\Unit\Controller\File\FileControllerTest::$mockFileProcessor
protected

Definition at line 43 of file FileControllerTest.php.

◆ $request

TYPO3\CMS\Backend\Tests\Unit\Controller\File\FileControllerTest::$request
protected

Definition at line 48 of file FileControllerTest.php.

◆ $response

TYPO3\CMS\Backend\Tests\Unit\Controller\File\FileControllerTest::$response
protected

Definition at line 53 of file FileControllerTest.php.