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

Public Member Functions

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

Protected Member Functions

 setUp ()
 
- 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

 $fileController
 
 $fileResourceMock
 
 $folderResourceMock
 
 $mockFileProcessor
 
 $request
 
 $response
 
- Protected Attributes inherited from UnitTestCase
 $backupGlobalsBlacklist = ['TYPO3_LOADED_EXT']
 
 $testFilesToDelete = []
 
- Protected Attributes inherited from BaseTestCase
 $backupGlobals = true
 
 $backupStaticAttributes = false
 

Detailed Description

Tests for

Definition at line 23 of file FileControllerTest.php.

Member Function Documentation

flattenResultDataValueFlattensFileAndFolderResourcesButReturnsAnythingElseAsIs ( )
Test:

Definition at line 84 of file FileControllerTest.php.

References BaseTestCase\getAccessibleMock().

processAjaxRequestDeleteProcessActuallyDoesNotChangeFileData ( )
Test:

Definition at line 115 of file FileControllerTest.php.

References BaseTestCase\getAccessibleMock().

processAjaxRequestEditFileProcessActuallyDoesNotChangeFileData ( )
Test:

Definition at line 132 of file FileControllerTest.php.

References BaseTestCase\getAccessibleMock().

processAjaxRequestReturnsStatus200IfNoErrorOccures ( )
Test:

Definition at line 149 of file FileControllerTest.php.

References BaseTestCase\getAccessibleMock().

processAjaxRequestReturnsStatus500IfErrorOccurs ( )
Test:

Definition at line 165 of file FileControllerTest.php.

References BaseTestCase\getAccessibleMock().

setUp ( )
protected

Sets up this test case.

Definition at line 58 of file FileControllerTest.php.

Member Data Documentation

$fileController
protected

Definition at line 28 of file FileControllerTest.php.

$fileResourceMock
protected

Definition at line 33 of file FileControllerTest.php.

$folderResourceMock
protected

Definition at line 38 of file FileControllerTest.php.

$mockFileProcessor
protected

Definition at line 43 of file FileControllerTest.php.

$request
protected

Definition at line 48 of file FileControllerTest.php.

$response
protected

Definition at line 53 of file FileControllerTest.php.