‪TYPO3CMS  10.4
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 PHPUnit Framework MockObject MockObject $subject
 

Detailed Description

Test case

Definition at line 35 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 77 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 220 of file RootlineUtilityTest.php.

◆ columnHasRelationToResolveDetectsGroupFieldWithMMAsRemote2()

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

Definition at line 230 of file RootlineUtilityTest.php.

◆ columnHasRelationToResolveDetectsInlineFieldAsLocal()

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

Definition at line 243 of file RootlineUtilityTest.php.

◆ columnHasRelationToResolveDetectsInlineFieldWithFMMAsRemote()

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

Definition at line 268 of file RootlineUtilityTest.php.

◆ columnHasRelationToResolveDetectsInlineFieldWithForeignKeyAsRemote()

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

Definition at line 255 of file RootlineUtilityTest.php.

◆ columnHasRelationToResolveDetectsSelectFieldAsLocal()

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

Definition at line 281 of file RootlineUtilityTest.php.

◆ columnHasRelationToResolveDetectsSelectFieldWithMMAsRemote()

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

Definition at line 293 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 327 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 94 of file RootlineUtilityTest.php.

◆ isMountedPageWithNonMatchingMountPointParameterReturnsFalse()

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

Definition at line 103 of file RootlineUtilityTest.php.

◆ isMountedPageWithoutMountPointsReturnsFalse()

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

Definition at line 85 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 45 of file RootlineUtilityTest.php.

◆ tearDown()

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

Member Data Documentation

◆ $subject

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

Definition at line 39 of file RootlineUtilityTest.php.