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

Public Member Functions

 resolveParametersForNonFilesDataProvider ()
 
 resolveReturnsSplitParameters ($input, $expected, $finalString)
 
 splitParametersToUnifiedIdentifier ($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 19 of file LinkServiceTest.php.

Member Function Documentation

resolveParametersForNonFilesDataProvider ( )

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

Returns
array

Definition at line 26 of file LinkServiceTest.php.

References LinkService\TYPE_EMAIL, LinkService\TYPE_PAGE, and LinkService\TYPE_URL.

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

Definition at line 222 of file LinkServiceTest.php.

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

Definition at line 237 of file LinkServiceTest.php.