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

Public Member Functions

 getExtensionFromZipFileExtractsExtensionKeyDataProvider ()
 
 getExtensionFromZipFileExtractsExtensionKey ($filename, $expectedKey)
 

Additional Inherited Members

- 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 inherited from UnitTestCase
 $backupGlobalsBlacklist = ['TYPO3_LOADED_EXT']
 
 $testFilesToDelete = []
 
- Protected Attributes inherited from BaseTestCase
 $backupGlobals = true
 
 $backupStaticAttributes = false
 

Detailed Description

Update from TER controller test

Definition at line 21 of file UploadExtensionFileControllerTest.php.

Member Function Documentation

getExtensionFromZipFileExtractsExtensionKey (   $filename,
  $expectedKey 
)
Test:
getExtensionFromZipFileExtractsExtensionKeyDataProvider
Parameters
string$filenameThe file name to test
string$expectedKeyThe expected extension key
Returns
void

Definition at line 66 of file UploadExtensionFileControllerTest.php.

References BaseTestCase\getAccessibleMock().

getExtensionFromZipFileExtractsExtensionKeyDataProvider ( )
Returns
array The test data for getExtensionFromZipFileExtractsExtensionKey

Definition at line 26 of file UploadExtensionFileControllerTest.php.