‪TYPO3CMS  ‪main
TYPO3\CMS\Frontend\Tests\Unit\ContentObject\Menu\AbstractMenuContentObjectTest Class Reference
Inheritance diagram for TYPO3\CMS\Frontend\Tests\Unit\ContentObject\Menu\AbstractMenuContentObjectTest:

Public Member Functions

 sectionIndexReturnsEmptyArrayIfTheRequestedPageCouldNotBeFetched ()
 
 sectionIndexUsesTheInternalIdIfNoPageIdWasGiven ()
 
 sectionIndexThrowsAnExceptionIfTheInternalQueryFails ()
 
 sectionIndexReturnsOverlaidRowBasedOnTheLanguageOfTheGivenPage ()
 
 sectionIndexFilters (int $expectedAmount, array $dataRow)
 
 sectionIndexQueriesWithDifferentColPos (array $configuration, string $colPosFromStdWrapValue, string $whereClausePrefix)
 
 isItemStateChecksExcludeUidList (array $menuItems, string $excludeUidList, bool $expectedResult)
 
 menuTypoLinkCreatesExpectedTypoLinkConfiguration (array $expected, array $mconf, array $page, string $oTarget, string|int $addParams='', string|int $typeOverride='', int|string|null $overrideId=null)
 

Static Public Member Functions

static sectionIndexFiltersDataProvider ()
 
static sectionIndexQueriesWithDifferentColPosDataProvider ()
 
static isItemStateChecksExcludeUidListDataProvider ()
 
static menuTypoLinkCreatesExpectedTypoLinkConfigurationDataProvider ()
 

Protected Member Functions

 tearDown ()
 
 prepareSectionIndexTest ()
 

Protected Attributes

AbstractMenuContentObject &MockObject &AccessibleObjectInterface $subject
 

Detailed Description

Definition at line 41 of file AbstractMenuContentObjectTest.php.

Member Function Documentation

◆ isItemStateChecksExcludeUidList()

TYPO3\CMS\Frontend\Tests\Unit\ContentObject\Menu\AbstractMenuContentObjectTest::isItemStateChecksExcludeUidList ( array  $menuItems,
string  $excludeUidList,
bool  $expectedResult 
)

◆ isItemStateChecksExcludeUidListDataProvider()

static TYPO3\CMS\Frontend\Tests\Unit\ContentObject\Menu\AbstractMenuContentObjectTest::isItemStateChecksExcludeUidListDataProvider ( )
static

Definition at line 276 of file AbstractMenuContentObjectTest.php.

◆ menuTypoLinkCreatesExpectedTypoLinkConfiguration()

TYPO3\CMS\Frontend\Tests\Unit\ContentObject\Menu\AbstractMenuContentObjectTest::menuTypoLinkCreatesExpectedTypoLinkConfiguration ( array  $expected,
array  $mconf,
array  $page,
string  $oTarget,
string|int  $addParams = '',
string|int  $typeOverride = '',
int|string|null  $overrideId = null 
)

Definition at line 559 of file AbstractMenuContentObjectTest.php.

◆ menuTypoLinkCreatesExpectedTypoLinkConfigurationDataProvider()

static TYPO3\CMS\Frontend\Tests\Unit\ContentObject\Menu\AbstractMenuContentObjectTest::menuTypoLinkCreatesExpectedTypoLinkConfigurationDataProvider ( )
static

Definition at line 400 of file AbstractMenuContentObjectTest.php.

◆ prepareSectionIndexTest()

◆ sectionIndexFilters()

TYPO3\CMS\Frontend\Tests\Unit\ContentObject\Menu\AbstractMenuContentObjectTest::sectionIndexFilters ( int  $expectedAmount,
array  $dataRow 
)

◆ sectionIndexFiltersDataProvider()

static TYPO3\CMS\Frontend\Tests\Unit\ContentObject\Menu\AbstractMenuContentObjectTest::sectionIndexFiltersDataProvider ( )
static

Definition at line 138 of file AbstractMenuContentObjectTest.php.

◆ sectionIndexQueriesWithDifferentColPos()

TYPO3\CMS\Frontend\Tests\Unit\ContentObject\Menu\AbstractMenuContentObjectTest::sectionIndexQueriesWithDifferentColPos ( array  $configuration,
string  $colPosFromStdWrapValue,
string  $whereClausePrefix 
)

◆ sectionIndexQueriesWithDifferentColPosDataProvider()

static TYPO3\CMS\Frontend\Tests\Unit\ContentObject\Menu\AbstractMenuContentObjectTest::sectionIndexQueriesWithDifferentColPosDataProvider ( )
static

Definition at line 204 of file AbstractMenuContentObjectTest.php.

◆ sectionIndexReturnsEmptyArrayIfTheRequestedPageCouldNotBeFetched()

TYPO3\CMS\Frontend\Tests\Unit\ContentObject\Menu\AbstractMenuContentObjectTest::sectionIndexReturnsEmptyArrayIfTheRequestedPageCouldNotBeFetched ( )

◆ sectionIndexReturnsOverlaidRowBasedOnTheLanguageOfTheGivenPage()

TYPO3\CMS\Frontend\Tests\Unit\ContentObject\Menu\AbstractMenuContentObjectTest::sectionIndexReturnsOverlaidRowBasedOnTheLanguageOfTheGivenPage ( )

◆ sectionIndexThrowsAnExceptionIfTheInternalQueryFails()

TYPO3\CMS\Frontend\Tests\Unit\ContentObject\Menu\AbstractMenuContentObjectTest::sectionIndexThrowsAnExceptionIfTheInternalQueryFails ( )

◆ sectionIndexUsesTheInternalIdIfNoPageIdWasGiven()

TYPO3\CMS\Frontend\Tests\Unit\ContentObject\Menu\AbstractMenuContentObjectTest::sectionIndexUsesTheInternalIdIfNoPageIdWasGiven ( )

◆ tearDown()

TYPO3\CMS\Frontend\Tests\Unit\ContentObject\Menu\AbstractMenuContentObjectTest::tearDown ( )
protected

Definition at line 45 of file AbstractMenuContentObjectTest.php.

Member Data Documentation

◆ $subject

AbstractMenuContentObject& MockObject& AccessibleObjectInterface TYPO3\CMS\Frontend\Tests\Unit\ContentObject\Menu\AbstractMenuContentObjectTest::$subject
protected