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

Public Member Functions

 resolveParametersForNonFilesDataProvider ()
 
 resolveReturnsSplitParameters ($input, $expected, $finalString)
 
 splitParametersToUnifiedIdentifier ($input, $parameters, $expected)
 
 resolveParametersForFilesDataProvider ()
 

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 25 of file LegacyLinkNotationConverterTest.php.

Member Function Documentation

resolveParametersForFilesDataProvider ( )

testing files and folders Data provider for pointing to files t3:file:15 t3:file:fileadmin/deep/down.jpg t3:file:1:myfolder/myidentifier.jpg t3:folder:1:myfolder

Returns
array

Definition at line 130 of file LegacyLinkNotationConverterTest.php.

References LinkService\TYPE_FILE, and LinkService\TYPE_FOLDER.

resolveParametersForNonFilesDataProvider ( )

Data to resolve strings to arrays and vice versa, external, mail, page

Returns
array

Definition at line 32 of file LegacyLinkNotationConverterTest.php.

References LinkService\TYPE_PAGE.

resolveReturnsSplitParameters (   $input,
  $expected,
  $finalString 
)
Test:
Parameters
string$input
array$expected
string$finalStringresolveParametersForNonFilesDataProvider

Definition at line 96 of file LegacyLinkNotationConverterTest.php.

splitParametersToUnifiedIdentifier (   $input,
  $parameters,
  $expected 
)
Test:
Parameters
string$input
array$parameters
string$expectedresolveParametersForNonFilesDataProvider

Definition at line 111 of file LegacyLinkNotationConverterTest.php.