TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Frontend\Tests\Unit\Service\TypoLinkCodecServiceTest Class Reference
Inheritance diagram for TYPO3\CMS\Frontend\Tests\Unit\Service\TypoLinkCodecServiceTest:
TYPO3\CMS\Core\Tests\UnitTestCase TYPO3\CMS\Core\Tests\BaseTestCase

Public Member Functions

 encodeReturnsExpectedResult (array $parts, $expected)
 
 encodeReturnsExpectedResultDataProvider ()
 
 decodeReturnsExpectedResult ($typoLink, array $expected)
 
 decodeReturnsExpectedResultDataProvider ()
 

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, $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)
 
 inject ($target, $name, $dependency)
 
 getUniqueId ($prefix='')
 

Protected Attributes

 $subject
 
- Protected Attributes inherited from TYPO3\CMS\Core\Tests\UnitTestCase
 $backupGlobalsBlacklist = ['TYPO3_LOADED_EXT']
 
 $testFilesToDelete = []
 
- Protected Attributes inherited from TYPO3\CMS\Core\Tests\BaseTestCase
 $backupGlobals = true
 
 $backupStaticAttributes = false
 

Detailed Description

Test case

Definition at line 23 of file TypoLinkCodecServiceTest.php.

Member Function Documentation

◆ decodeReturnsExpectedResult()

TYPO3\CMS\Frontend\Tests\Unit\Service\TypoLinkCodecServiceTest::decodeReturnsExpectedResult (   $typoLink,
array  $expected 
)
Test:
decodeReturnsExpectedResultDataProvider
Parameters
string$typoLink
array$expected

Definition at line 91 of file TypoLinkCodecServiceTest.php.

◆ decodeReturnsExpectedResultDataProvider()

TYPO3\CMS\Frontend\Tests\Unit\Service\TypoLinkCodecServiceTest::decodeReturnsExpectedResultDataProvider ( )
Returns
array

Definition at line 99 of file TypoLinkCodecServiceTest.php.

◆ encodeReturnsExpectedResult()

TYPO3\CMS\Frontend\Tests\Unit\Service\TypoLinkCodecServiceTest::encodeReturnsExpectedResult ( array  $parts,
  $expected 
)
Test:
encodeReturnsExpectedResultDataProvider
Parameters
array$parts
string$expected

Definition at line 44 of file TypoLinkCodecServiceTest.php.

◆ encodeReturnsExpectedResultDataProvider()

TYPO3\CMS\Frontend\Tests\Unit\Service\TypoLinkCodecServiceTest::encodeReturnsExpectedResultDataProvider ( )
Returns
array

Definition at line 52 of file TypoLinkCodecServiceTest.php.

◆ setUp()

TYPO3\CMS\Frontend\Tests\Unit\Service\TypoLinkCodecServiceTest::setUp ( )
protected

Set up test subject

Definition at line 33 of file TypoLinkCodecServiceTest.php.

Member Data Documentation

◆ $subject

TYPO3\CMS\Frontend\Tests\Unit\Service\TypoLinkCodecServiceTest::$subject
protected

Definition at line 28 of file TypoLinkCodecServiceTest.php.