‪TYPO3CMS  11.5
TYPO3\CMS\Core\Tests\Unit\Utility\RootlineUtilityTest Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Unit\Utility\RootlineUtilityTest:

Public Member Functions

 isMountedPageWithoutMountPointsReturnsFalse ()
 
 isMountedPageWithMatchingMountPointParameterReturnsTrue ()
 
 isMountedPageWithNonMatchingMountPointParameterReturnsFalse ()
 
 processMountedPageWithNonMountedPageThrowsException ()
 
 processMountedPageWithMountedPageNotThrowsException ()
 
 processMountedPageWithMountedPageAddsMountedFromParameter ()
 
 processMountedPageWithMountedPageAddsMountPointParameterToReturnValue ()
 
 processMountedPageForMountPageIsOverlayAddsMountOLParameter ()
 
 processMountedPageForMountPageIsOverlayAddsDataInformationAboutMountPage ()
 
 processMountedPageForMountPageWithoutOverlayReplacesMountedPageWithMountPage ()
 
 columnHasRelationToResolveDetectsGroupFieldAsLocal ()
 
 columnHasRelationToResolveDetectsGroupFieldWithMMAsRemote2 ()
 
 columnHasRelationToResolveDetectsInlineFieldAsLocal ()
 
 columnHasRelationToResolveDetectsInlineFieldWithForeignKeyAsRemote ()
 
 columnHasRelationToResolveDetectsInlineFieldWithFMMAsRemote ()
 
 columnHasRelationToResolveDetectsSelectFieldAsLocal ()
 
 columnHasRelationToResolveDetectsSelectFieldWithMMAsRemote ()
 
 getCacheIdentifierContainsAllContextParameters ()
 
 getCacheIdentifierReturnsValidIdentifierWithCommasInMountPointParameter ()
 

Protected Member Functions

 setUp ()
 
 tearDown ()
 
 assertIsSubset (array $subsetCandidate, array $superset)
 

Protected Attributes

RootlineUtility AccessibleObjectInterface MockObject $subject
 

Detailed Description

Test case

Definition at line 38 of file RootlineUtilityTest.php.

Member Function Documentation

◆ assertIsSubset()

TYPO3\CMS\Core\Tests\Unit\Utility\RootlineUtilityTest::assertIsSubset ( array  $subsetCandidate,
array  $superset 
)
protected

Tests that $subsetCandidate is completely part of $superset and keys match.

See (A ^ B) = A <=> A c B

Parameters
array$subsetCandidate
array$superset

Definition at line 81 of file RootlineUtilityTest.php.

Referenced by TYPO3\CMS\Core\Tests\Unit\Utility\RootlineUtilityTest\processMountedPageForMountPageWithoutOverlayReplacesMountedPageWithMountPage().

◆ columnHasRelationToResolveDetectsGroupFieldAsLocal()

TYPO3\CMS\Core\Tests\Unit\Utility\RootlineUtilityTest::columnHasRelationToResolveDetectsGroupFieldAsLocal ( )
Test:

Definition at line 224 of file RootlineUtilityTest.php.

◆ columnHasRelationToResolveDetectsGroupFieldWithMMAsRemote2()

TYPO3\CMS\Core\Tests\Unit\Utility\RootlineUtilityTest::columnHasRelationToResolveDetectsGroupFieldWithMMAsRemote2 ( )
Test:

Definition at line 234 of file RootlineUtilityTest.php.

◆ columnHasRelationToResolveDetectsInlineFieldAsLocal()

TYPO3\CMS\Core\Tests\Unit\Utility\RootlineUtilityTest::columnHasRelationToResolveDetectsInlineFieldAsLocal ( )
Test:

Definition at line 247 of file RootlineUtilityTest.php.

◆ columnHasRelationToResolveDetectsInlineFieldWithFMMAsRemote()

TYPO3\CMS\Core\Tests\Unit\Utility\RootlineUtilityTest::columnHasRelationToResolveDetectsInlineFieldWithFMMAsRemote ( )
Test:

Definition at line 272 of file RootlineUtilityTest.php.

◆ columnHasRelationToResolveDetectsInlineFieldWithForeignKeyAsRemote()

TYPO3\CMS\Core\Tests\Unit\Utility\RootlineUtilityTest::columnHasRelationToResolveDetectsInlineFieldWithForeignKeyAsRemote ( )
Test:

Definition at line 259 of file RootlineUtilityTest.php.

◆ columnHasRelationToResolveDetectsSelectFieldAsLocal()

TYPO3\CMS\Core\Tests\Unit\Utility\RootlineUtilityTest::columnHasRelationToResolveDetectsSelectFieldAsLocal ( )
Test:

Definition at line 285 of file RootlineUtilityTest.php.

◆ columnHasRelationToResolveDetectsSelectFieldWithMMAsRemote()

TYPO3\CMS\Core\Tests\Unit\Utility\RootlineUtilityTest::columnHasRelationToResolveDetectsSelectFieldWithMMAsRemote ( )
Test:

Definition at line 297 of file RootlineUtilityTest.php.

◆ getCacheIdentifierContainsAllContextParameters()

TYPO3\CMS\Core\Tests\Unit\Utility\RootlineUtilityTest::getCacheIdentifierContainsAllContextParameters ( )

◆ getCacheIdentifierReturnsValidIdentifierWithCommasInMountPointParameter()

TYPO3\CMS\Core\Tests\Unit\Utility\RootlineUtilityTest::getCacheIdentifierReturnsValidIdentifierWithCommasInMountPointParameter ( )
Test:
Exceptions

Definition at line 332 of file RootlineUtilityTest.php.

References TYPO3\CMS\Core\Context\LanguageAspect\OVERLAYS_OFF.

◆ isMountedPageWithMatchingMountPointParameterReturnsTrue()

TYPO3\CMS\Core\Tests\Unit\Utility\RootlineUtilityTest::isMountedPageWithMatchingMountPointParameterReturnsTrue ( )
Test:

Definition at line 98 of file RootlineUtilityTest.php.

◆ isMountedPageWithNonMatchingMountPointParameterReturnsFalse()

TYPO3\CMS\Core\Tests\Unit\Utility\RootlineUtilityTest::isMountedPageWithNonMatchingMountPointParameterReturnsFalse ( )
Test:

Definition at line 107 of file RootlineUtilityTest.php.

◆ isMountedPageWithoutMountPointsReturnsFalse()

TYPO3\CMS\Core\Tests\Unit\Utility\RootlineUtilityTest::isMountedPageWithoutMountPointsReturnsFalse ( )
Test:

Definition at line 89 of file RootlineUtilityTest.php.

◆ processMountedPageForMountPageIsOverlayAddsDataInformationAboutMountPage()

TYPO3\CMS\Core\Tests\Unit\Utility\RootlineUtilityTest::processMountedPageForMountPageIsOverlayAddsDataInformationAboutMountPage ( )

◆ processMountedPageForMountPageIsOverlayAddsMountOLParameter()

TYPO3\CMS\Core\Tests\Unit\Utility\RootlineUtilityTest::processMountedPageForMountPageIsOverlayAddsMountOLParameter ( )

◆ processMountedPageForMountPageWithoutOverlayReplacesMountedPageWithMountPage()

TYPO3\CMS\Core\Tests\Unit\Utility\RootlineUtilityTest::processMountedPageForMountPageWithoutOverlayReplacesMountedPageWithMountPage ( )

◆ processMountedPageWithMountedPageAddsMountedFromParameter()

TYPO3\CMS\Core\Tests\Unit\Utility\RootlineUtilityTest::processMountedPageWithMountedPageAddsMountedFromParameter ( )

◆ processMountedPageWithMountedPageAddsMountPointParameterToReturnValue()

TYPO3\CMS\Core\Tests\Unit\Utility\RootlineUtilityTest::processMountedPageWithMountedPageAddsMountPointParameterToReturnValue ( )

◆ processMountedPageWithMountedPageNotThrowsException()

TYPO3\CMS\Core\Tests\Unit\Utility\RootlineUtilityTest::processMountedPageWithMountedPageNotThrowsException ( )

◆ processMountedPageWithNonMountedPageThrowsException()

TYPO3\CMS\Core\Tests\Unit\Utility\RootlineUtilityTest::processMountedPageWithNonMountedPageThrowsException ( )

◆ setUp()

TYPO3\CMS\Core\Tests\Unit\Utility\RootlineUtilityTest::setUp ( )
protected
Exceptions

Definition at line 49 of file RootlineUtilityTest.php.

◆ tearDown()

TYPO3\CMS\Core\Tests\Unit\Utility\RootlineUtilityTest::tearDown ( )
protected

Member Data Documentation

◆ $subject

RootlineUtility AccessibleObjectInterface MockObject TYPO3\CMS\Core\Tests\Unit\Utility\RootlineUtilityTest::$subject
protected

Definition at line 43 of file RootlineUtilityTest.php.