‪TYPO3CMS  9.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 PHPUnit_Framework_MockObject_MockObject $subject
 

Detailed Description

Test case

Definition at line 34 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 also
‪(A ^ B) = A <=> A c B
Parameters
array$subsetCandidate
array$superset

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

◆ columnHasRelationToResolveDetectsGroupFieldWithMMAsRemote2()

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

Definition at line 231 of file RootlineUtilityTest.php.

◆ columnHasRelationToResolveDetectsInlineFieldAsLocal()

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

Definition at line 244 of file RootlineUtilityTest.php.

◆ columnHasRelationToResolveDetectsInlineFieldWithFMMAsRemote()

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

Definition at line 269 of file RootlineUtilityTest.php.

◆ columnHasRelationToResolveDetectsInlineFieldWithForeignKeyAsRemote()

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

Definition at line 256 of file RootlineUtilityTest.php.

◆ columnHasRelationToResolveDetectsSelectFieldAsLocal()

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

Definition at line 282 of file RootlineUtilityTest.php.

◆ columnHasRelationToResolveDetectsSelectFieldWithMMAsRemote()

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

Definition at line 294 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 328 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 95 of file RootlineUtilityTest.php.

◆ isMountedPageWithNonMatchingMountPointParameterReturnsFalse()

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

Definition at line 104 of file RootlineUtilityTest.php.

◆ isMountedPageWithoutMountPointsReturnsFalse()

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

Definition at line 86 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 44 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 38 of file RootlineUtilityTest.php.