TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
RootlineUtilityTest Class Reference
Inheritance diagram for RootlineUtilityTest:
UnitTestCase BaseTestCase

Public Member Functions

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

Protected Member Functions

 setUp ()
 
 tearDown ()
 
 assertIsSubset (array $subsetCandidate, array $superset)
 
- Protected Member Functions inherited from UnitTestCase
 tearDown ()
 
- Protected Member Functions inherited from 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,...$arguments)
 
 inject ($target, $name, $dependency)
 
 getUniqueId ($prefix= '')
 

Protected Attributes

 $subject
 
 $pageContextMock
 
- Protected Attributes inherited from UnitTestCase
 $backupGlobalsBlacklist = ['TYPO3_LOADED_EXT']
 
 $testFilesToDelete = []
 
- Protected Attributes inherited from BaseTestCase
 $backupGlobals = true
 
 $backupStaticAttributes = false
 

Detailed Description

Testcase for class

Definition at line 22 of file RootlineUtilityTest.php.

Member Function Documentation

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 59 of file RootlineUtilityTest.php.

Referenced by RootlineUtilityTest\processMountedPageForMountPageWithoutOverlayReplacesMountedPageWithMountPage().

columnHasRelationToResolveDetectsGroupFieldAsLocal ( )
Test:

Definition at line 175 of file RootlineUtilityTest.php.

columnHasRelationToResolveDetectsGroupFieldWithMMAsRemote2 ( )
Test:

Definition at line 185 of file RootlineUtilityTest.php.

columnHasRelationToResolveDetectsInlineFieldAsLocal ( )
Test:

Definition at line 198 of file RootlineUtilityTest.php.

columnHasRelationToResolveDetectsInlineFieldWithFMMAsRemote ( )
Test:

Definition at line 223 of file RootlineUtilityTest.php.

columnHasRelationToResolveDetectsInlineFieldWithForeignKeyAsRemote ( )
Test:

Definition at line 210 of file RootlineUtilityTest.php.

columnHasRelationToResolveDetectsSelectFieldAsLocal ( )
Test:

Definition at line 236 of file RootlineUtilityTest.php.

columnHasRelationToResolveDetectsSelectFieldWithMMAsRemote ( )
Test:

Definition at line 248 of file RootlineUtilityTest.php.

getCacheIdentifierContainsAllContextParameters ( )
Test:

Definition at line 261 of file RootlineUtilityTest.php.

isMountedPageWithMatchingMountPointParameterReturnsTrue ( )
Test:

Definition at line 81 of file RootlineUtilityTest.php.

isMountedPageWithNonMatchingMountPointParameterReturnsFalse ( )
Test:

Definition at line 90 of file RootlineUtilityTest.php.

isMountedPageWithoutMountPointsReturnsFalse ( )
Test:

Definition at line 72 of file RootlineUtilityTest.php.

processMountedPageForMountPageIsOverlayAddsDataInformationAboutMountPage ( )
Test:

Definition at line 153 of file RootlineUtilityTest.php.

processMountedPageForMountPageIsOverlayAddsMountOLParameter ( )
Test:

Definition at line 142 of file RootlineUtilityTest.php.

processMountedPageForMountPageWithoutOverlayReplacesMountedPageWithMountPage ( )
processMountedPageWithMountedPageAddsMountedFromParameter ( )
Test:

Definition at line 120 of file RootlineUtilityTest.php.

processMountedPageWithMountedPageAddsMountPointParameterToReturnValue ( )
Test:

Definition at line 131 of file RootlineUtilityTest.php.

processMountedPageWithMountedPageNotThrowsException ( )
Test:

Definition at line 111 of file RootlineUtilityTest.php.

processMountedPageWithNonMountedPageThrowsException ( )
Test:

Definition at line 99 of file RootlineUtilityTest.php.

setUp ( )
protected

Definition at line 34 of file RootlineUtilityTest.php.

References BaseTestCase\getAccessibleMock().

tearDown ( )
protected

Definition at line 40 of file RootlineUtilityTest.php.

References RootlineUtility\purgeCaches().

Member Data Documentation

$pageContextMock
protected

Definition at line 32 of file RootlineUtilityTest.php.

$subject
protected

Definition at line 27 of file RootlineUtilityTest.php.