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

Public Member Functions

 resolveParametersForFilesDataProvider ()
 
 splitParametersToUnifiedIdentifierForFiles ($input, $parameters, $expected)
 

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

Definition at line 23 of file FileLinkHandlerTest.php.

Member Function Documentation

resolveParametersForFilesDataProvider ( )

testing folders Data provider for pointing to files t3:file:1:myfolder/myidentifier.jpg t3:folder:1:myfolder

Returns
array

Definition at line 37 of file FileLinkHandlerTest.php.

splitParametersToUnifiedIdentifierForFiles (   $input,
  $parameters,
  $expected 
)

Helpful to know in which if() clause the stuff gets in

Test:
Parameters
string$input
array$parameters
string$expectedresolveParametersForFilesDataProvider

Definition at line 105 of file FileLinkHandlerTest.php.

References MathUtility\canBeInterpretedAsInteger().