TYPO3 CMS  TYPO3_6-2
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 ()
 
 processAjaxRequestUploadProcess ()
 

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, 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

 $fileController
 
 $fileResourceMock
 
 $folderResourceMock
 
 $mockFileProcessor
 
 $mockAjaxRequestHandler
 
- 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! Tests for

Definition at line 20 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 ( )

◆ processAjaxRequestUnzipProcessActuallyDoesNotChangeFileData()

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

◆ processAjaxRequestUploadProcess()

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

◆ setUp()

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

Sets up this test case.

Definition at line 50 of file FileControllerTest.php.

Member Data Documentation

◆ $fileController

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

Definition at line 25 of file FileControllerTest.php.

◆ $fileResourceMock

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

Definition at line 30 of file FileControllerTest.php.

◆ $folderResourceMock

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

Definition at line 35 of file FileControllerTest.php.

◆ $mockAjaxRequestHandler

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

Definition at line 45 of file FileControllerTest.php.

◆ $mockFileProcessor

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

Definition at line 40 of file FileControllerTest.php.