‪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 ()
 

Private Member Functions

 prepareSectionIndexTest ()
 

Detailed Description

Definition at line 38 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 241 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 509 of file AbstractMenuContentObjectTest.php.

◆ menuTypoLinkCreatesExpectedTypoLinkConfigurationDataProvider()

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

Definition at line 350 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 121 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 182 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 40 of file AbstractMenuContentObjectTest.php.