‪TYPO3CMS  11.5
TYPO3\CMS\Core\Tests\UnitDeprecated\Database\SoftReferenceIndexTest Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\UnitDeprecated\Database\SoftReferenceIndexTest:

Public Member Functions

 findRefReturnsParsedElementsDataProvider ()
 
 findRefReturnsParsedElements (array $softrefConfiguration, array $expectedElement)
 
 findRefReturnsParsedElementsWithFileDataProvider ()
 
 findRefReturnsParsedElementsWithFile (array $softrefConfiguration, array $expectedElement)
 
 findRefReturnsNullWithFolderDataProvider ()
 
 findRefReturnsNullWithFolder (array $softrefConfiguration)
 
 getTypoLinkPartsThrowExceptionWithPharReferencesDataProvider ()
 
 getTypoLinkPartsThrowExceptionWithPharReferences (string $pharUrl)
 
 mixedRegistrationBehaviour ()
 
 softReferenceParserFactoryAddsParserInGlobalsArray ()
 
 declaringNonExistingParserKeysWillNotThrowAnException ()
 

Protected Member Functions

 createSoftReferenceParserFactory ()
 
 getSoftReferenceParserInstance ()
 

Protected Attributes

 $resetSingletonInstances = true
 

Detailed Description

Test case

Definition at line 39 of file SoftReferenceIndexTest.php.

Member Function Documentation

◆ createSoftReferenceParserFactory()

TYPO3\CMS\Core\Tests\UnitDeprecated\Database\SoftReferenceIndexTest::createSoftReferenceParserFactory ( )
protected

◆ declaringNonExistingParserKeysWillNotThrowAnException()

TYPO3\CMS\Core\Tests\UnitDeprecated\Database\SoftReferenceIndexTest::declaringNonExistingParserKeysWillNotThrowAnException ( )

◆ findRefReturnsNullWithFolder()

TYPO3\CMS\Core\Tests\UnitDeprecated\Database\SoftReferenceIndexTest::findRefReturnsNullWithFolder ( array  $softrefConfiguration)
Test:
‪@dataProvider findRefReturnsNullWithFolderDataProvider
Parameters
array$softrefConfiguration

Definition at line 420 of file SoftReferenceIndexTest.php.

References TYPO3\CMS\Core\Tests\UnitDeprecated\Database\SoftReferenceIndexTest\getSoftReferenceParserInstance().

◆ findRefReturnsNullWithFolderDataProvider()

TYPO3\CMS\Core\Tests\UnitDeprecated\Database\SoftReferenceIndexTest::findRefReturnsNullWithFolderDataProvider ( )

Definition at line 392 of file SoftReferenceIndexTest.php.

◆ findRefReturnsParsedElements()

TYPO3\CMS\Core\Tests\UnitDeprecated\Database\SoftReferenceIndexTest::findRefReturnsParsedElements ( array  $softrefConfiguration,
array  $expectedElement 
)
Test:
‪@dataProvider findRefReturnsParsedElementsDataProvider
Parameters
array$softrefConfiguration
array$expectedElement

Definition at line 247 of file SoftReferenceIndexTest.php.

References TYPO3\CMS\Core\Tests\UnitDeprecated\Database\SoftReferenceIndexTest\getSoftReferenceParserInstance().

◆ findRefReturnsParsedElementsDataProvider()

TYPO3\CMS\Core\Tests\UnitDeprecated\Database\SoftReferenceIndexTest::findRefReturnsParsedElementsDataProvider ( )

Definition at line 66 of file SoftReferenceIndexTest.php.

◆ findRefReturnsParsedElementsWithFile()

TYPO3\CMS\Core\Tests\UnitDeprecated\Database\SoftReferenceIndexTest::findRefReturnsParsedElementsWithFile ( array  $softrefConfiguration,
array  $expectedElement 
)
Test:
‪@dataProvider findRefReturnsParsedElementsWithFileDataProvider
Parameters
array$softrefConfiguration
array$expectedElement

Definition at line 352 of file SoftReferenceIndexTest.php.

References TYPO3\CMS\Core\Tests\UnitDeprecated\Database\SoftReferenceIndexTest\getSoftReferenceParserInstance().

◆ findRefReturnsParsedElementsWithFileDataProvider()

TYPO3\CMS\Core\Tests\UnitDeprecated\Database\SoftReferenceIndexTest::findRefReturnsParsedElementsWithFileDataProvider ( )

Definition at line 271 of file SoftReferenceIndexTest.php.

◆ getSoftReferenceParserInstance()

◆ getTypoLinkPartsThrowExceptionWithPharReferences()

TYPO3\CMS\Core\Tests\UnitDeprecated\Database\SoftReferenceIndexTest::getTypoLinkPartsThrowExceptionWithPharReferences ( string  $pharUrl)
Test:
‪@dataProvider getTypoLinkPartsThrowExceptionWithPharReferencesDataProvider

Definition at line 465 of file SoftReferenceIndexTest.php.

References TYPO3\CMS\Core\Tests\UnitDeprecated\Database\SoftReferenceIndexTest\getSoftReferenceParserInstance().

◆ getTypoLinkPartsThrowExceptionWithPharReferencesDataProvider()

TYPO3\CMS\Core\Tests\UnitDeprecated\Database\SoftReferenceIndexTest::getTypoLinkPartsThrowExceptionWithPharReferencesDataProvider ( )

Definition at line 443 of file SoftReferenceIndexTest.php.

◆ mixedRegistrationBehaviour()

TYPO3\CMS\Core\Tests\UnitDeprecated\Database\SoftReferenceIndexTest::mixedRegistrationBehaviour ( )

Registration by new DI should not override registration by global array.

Test:

Definition at line 477 of file SoftReferenceIndexTest.php.

References TYPO3\CMS\Core\Tests\UnitDeprecated\Database\SoftReferenceIndexTest\createSoftReferenceParserFactory().

◆ softReferenceParserFactoryAddsParserInGlobalsArray()

TYPO3\CMS\Core\Tests\UnitDeprecated\Database\SoftReferenceIndexTest::softReferenceParserFactoryAddsParserInGlobalsArray ( )
Test:

Definition at line 489 of file SoftReferenceIndexTest.php.

References $GLOBALS.

Member Data Documentation

◆ $resetSingletonInstances

TYPO3\CMS\Core\Tests\UnitDeprecated\Database\SoftReferenceIndexTest::$resetSingletonInstances = true
protected

Definition at line 42 of file SoftReferenceIndexTest.php.