‪TYPO3CMS  ‪main
TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugLinkGeneratorTest Class Reference
Inheritance diagram for TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugLinkGeneratorTest:
TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\AbstractTestCase TYPO3\CMS\Core\Tests\Functional\SiteHandling\SiteBasedTestTrait

Public Member Functions

 linkIsGenerated (string $hostPrefix, int $sourcePageId, int $targetPageId, string $expectation)
 
 linkIsGeneratedFromMountPoint (string $hostPrefix, array $pageMount, int $sourcePageId, int $targetPageId, string $expectation)
 
 linkIsGeneratedForLanguageWithLanguageProperty (string $hostPrefix, int $sourcePageId, int $targetPageId, int $targetLanguageId, string $expectation)
 
 linkIsGeneratedWithQueryParameters (string $hostPrefix, int $sourcePageId, int $targetPageId, string $expectation)
 
 linkIsGeneratedForRestrictedPage (string $hostPrefix, int $sourcePageId, int $targetPageId, int $frontendUserId, string $expectation)
 
 linkIsGeneratedForRestrictedPageUsingLoginPage (string $hostPrefix, int $sourcePageId, int $targetPageId, int $loginPageId, int $frontendUserId, string $expectation)
 
 linkIsGeneratedForRestrictedPageForGuestsUsingTypolinkLinkAccessRestrictedPages (string $hostPrefix, int $sourcePageId, int $targetPageId, int $languageId, string $expectation)
 
 linkIsGeneratedForPageVersion (string $hostPrefix, int $sourcePageId, int $targetPageId, bool $resolveVersion, int $backendUserId, string $expectation)
 
 hierarchicalMenuIsGenerated (string $hostPrefix, int $sourcePageId, array $expectation)
 
 hierarchicalMenuDoesNotShowHiddenPagesAsSubMenu ()
 
 hierarchicalMenuSetsActiveStateProperly (string $hostPrefix, int $sourcePageId, string $menuPageIds, array $expectation, int $languageId=0)
 
 hierarchicalMenuAlwaysResolvesToDefaultLanguage (int $languageId, string $excludedUidList, int $expectedMenuItems)
 
 directoryMenuIsGenerated (string $hostPrefix, int $sourcePageId, int $directoryMenuParentPage, int $backendUserId, int $workspaceId, array $expectation)
 
 directoryMenuToAccessRestrictedPagesIsGenerated (string $hostPrefix, int $sourcePageId, int $directoryMenuParentPage, int $loginPageId, int $backendUserId, int $workspaceId, array $expectation)
 
 listMenuIsGenerated (string $hostPrefix, int $sourcePageId, array $menuPageIds, int $backendUserId, int $workspaceId, array $additionalMenuConfiguration, array $expectation)
 
 languageMenuIsGenerated (string $hostPrefix, int $sourcePageId, array $expectation)
 

Static Public Member Functions

static linkIsGeneratedDataProvider ()
 
static linkIsGeneratedFromMountPointDataProvider ()
 
static linkIsGeneratedForLanguageDataProvider ()
 
static linkIsGeneratedWithQueryParametersDataProvider ()
 
static linkIsGeneratedForRestrictedPageDataProvider ()
 
static linkIsGeneratedForRestrictedPageUsingLoginPageDataProvider ()
 
static linkIsGeneratedForRestrictedPageForGuestsUsingTypolinkLinkAccessRestrictedPagesDataProvider ()
 
static linkIsGeneratedForPageVersionDataProvider ()
 
static hierarchicalMenuIsGeneratedDataProvider ()
 
static hierarchicalMenuSetsActiveStateProperlyDataProvider ()
 
static hierarchicalMenuAlwaysResolvesToDefaultLanguageDataProvider ()
 
static directoryMenuIsGeneratedDataProvider ()
 
static directoryMenuToAccessRestrictedPagesIsGeneratedDataProvider ()
 
static listMenuIsGeneratedDataProvider ()
 
static languageMenuIsGeneratedDataProvider ()
 

Protected Member Functions

 setUp ()
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Core\Tests\Functional\SiteHandling\SiteBasedTestTrait
 writeSiteConfiguration (string $identifier, array $site=[], array $languages=[], array $errorHandling=[])
 
 mergeSiteConfiguration (string $identifier, array $overrides)
 
 buildSiteConfiguration (int $rootPageId, string $base='')
 
 buildDefaultLanguageConfiguration (string $identifier, string $base)
 
 buildLanguageConfiguration (string $identifier, string $base, array $fallbackIdentifiers=[], string $fallbackType=null)
 
 buildErrorHandlingConfiguration (string $handler, array $codes)
 
mixed resolveLanguagePreset (string $identifier)
 
 applyInstructions (InternalRequest $request, AbstractInstruction ... $instructions)
 
 mergeInstruction (AbstractInstruction $current, AbstractInstruction $other)
 

Additional Inherited Members

- ‪Static Protected Member Functions inherited from ‪TYPO3\CMS\Core\Tests\Functional\SiteHandling\SiteBasedTestTrait
static failIfArrayIsNotEmpty (array $items)
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\AbstractTestCase
const LANGUAGE_PRESETS
 

Detailed Description

Definition at line 31 of file SlugLinkGeneratorTest.php.

Member Function Documentation

◆ directoryMenuIsGenerated()

TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugLinkGeneratorTest::directoryMenuIsGenerated ( string  $hostPrefix,
int  $sourcePageId,
int  $directoryMenuParentPage,
int  $backendUserId,
int  $workspaceId,
array  $expectation 
)

Definition at line 1049 of file SlugLinkGeneratorTest.php.

◆ directoryMenuIsGeneratedDataProvider()

static TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugLinkGeneratorTest::directoryMenuIsGeneratedDataProvider ( )
static

Definition at line 921 of file SlugLinkGeneratorTest.php.

◆ directoryMenuToAccessRestrictedPagesIsGenerated()

TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugLinkGeneratorTest::directoryMenuToAccessRestrictedPagesIsGenerated ( string  $hostPrefix,
int  $sourcePageId,
int  $directoryMenuParentPage,
int  $loginPageId,
int  $backendUserId,
int  $workspaceId,
array  $expectation 
)

Definition at line 1136 of file SlugLinkGeneratorTest.php.

◆ directoryMenuToAccessRestrictedPagesIsGeneratedDataProvider()

static TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugLinkGeneratorTest::directoryMenuToAccessRestrictedPagesIsGeneratedDataProvider ( )
static

Definition at line 1074 of file SlugLinkGeneratorTest.php.

◆ hierarchicalMenuAlwaysResolvesToDefaultLanguage()

TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugLinkGeneratorTest::hierarchicalMenuAlwaysResolvesToDefaultLanguage ( int  $languageId,
string  $excludedUidList,
int  $expectedMenuItems 
)

Checks that excludeUidList checks against translated pages and default-language page IDs.

Definition at line 899 of file SlugLinkGeneratorTest.php.

◆ hierarchicalMenuAlwaysResolvesToDefaultLanguageDataProvider()

static TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugLinkGeneratorTest::hierarchicalMenuAlwaysResolvesToDefaultLanguageDataProvider ( )
static

Definition at line 858 of file SlugLinkGeneratorTest.php.

◆ hierarchicalMenuDoesNotShowHiddenPagesAsSubMenu()

TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugLinkGeneratorTest::hierarchicalMenuDoesNotShowHiddenPagesAsSubMenu ( )

Definition at line 713 of file SlugLinkGeneratorTest.php.

◆ hierarchicalMenuIsGenerated()

TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugLinkGeneratorTest::hierarchicalMenuIsGenerated ( string  $hostPrefix,
int  $sourcePageId,
array  $expectation 
)

Definition at line 690 of file SlugLinkGeneratorTest.php.

◆ hierarchicalMenuIsGeneratedDataProvider()

static TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugLinkGeneratorTest::hierarchicalMenuIsGeneratedDataProvider ( )
static

Definition at line 538 of file SlugLinkGeneratorTest.php.

◆ hierarchicalMenuSetsActiveStateProperly()

TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugLinkGeneratorTest::hierarchicalMenuSetsActiveStateProperly ( string  $hostPrefix,
int  $sourcePageId,
string  $menuPageIds,
array  $expectation,
int  $languageId = 0 
)

Definition at line 834 of file SlugLinkGeneratorTest.php.

◆ hierarchicalMenuSetsActiveStateProperlyDataProvider()

static TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugLinkGeneratorTest::hierarchicalMenuSetsActiveStateProperlyDataProvider ( )
static

Definition at line 766 of file SlugLinkGeneratorTest.php.

◆ languageMenuIsGenerated()

TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugLinkGeneratorTest::languageMenuIsGenerated ( string  $hostPrefix,
int  $sourcePageId,
array  $expectation 
)

Definition at line 1342 of file SlugLinkGeneratorTest.php.

◆ languageMenuIsGeneratedDataProvider()

static TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugLinkGeneratorTest::languageMenuIsGeneratedDataProvider ( )
static

Definition at line 1291 of file SlugLinkGeneratorTest.php.

◆ linkIsGenerated()

TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugLinkGeneratorTest::linkIsGenerated ( string  $hostPrefix,
int  $sourcePageId,
int  $targetPageId,
string  $expectation 
)

Definition at line 132 of file SlugLinkGeneratorTest.php.

◆ linkIsGeneratedDataProvider()

static TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugLinkGeneratorTest::linkIsGeneratedDataProvider ( )
static

Definition at line 100 of file SlugLinkGeneratorTest.php.

◆ linkIsGeneratedForLanguageDataProvider()

static TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugLinkGeneratorTest::linkIsGeneratedForLanguageDataProvider ( )
static

Definition at line 208 of file SlugLinkGeneratorTest.php.

◆ linkIsGeneratedForLanguageWithLanguageProperty()

TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugLinkGeneratorTest::linkIsGeneratedForLanguageWithLanguageProperty ( string  $hostPrefix,
int  $sourcePageId,
int  $targetPageId,
int  $targetLanguageId,
string  $expectation 
)

Definition at line 253 of file SlugLinkGeneratorTest.php.

◆ linkIsGeneratedForPageVersion()

TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugLinkGeneratorTest::linkIsGeneratedForPageVersion ( string  $hostPrefix,
int  $sourcePageId,
int  $targetPageId,
bool  $resolveVersion,
int  $backendUserId,
string  $expectation 
)

Definition at line 503 of file SlugLinkGeneratorTest.php.

◆ linkIsGeneratedForPageVersionDataProvider()

static TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugLinkGeneratorTest::linkIsGeneratedForPageVersionDataProvider ( )
static

Definition at line 478 of file SlugLinkGeneratorTest.php.

◆ linkIsGeneratedForRestrictedPage()

TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugLinkGeneratorTest::linkIsGeneratedForRestrictedPage ( string  $hostPrefix,
int  $sourcePageId,
int  $targetPageId,
int  $frontendUserId,
string  $expectation 
)

Definition at line 357 of file SlugLinkGeneratorTest.php.

◆ linkIsGeneratedForRestrictedPageDataProvider()

static TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugLinkGeneratorTest::linkIsGeneratedForRestrictedPageDataProvider ( )
static

Definition at line 321 of file SlugLinkGeneratorTest.php.

◆ linkIsGeneratedForRestrictedPageForGuestsUsingTypolinkLinkAccessRestrictedPages()

TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugLinkGeneratorTest::linkIsGeneratedForRestrictedPageForGuestsUsingTypolinkLinkAccessRestrictedPages ( string  $hostPrefix,
int  $sourcePageId,
int  $targetPageId,
int  $languageId,
string  $expectation 
)

Definition at line 457 of file SlugLinkGeneratorTest.php.

◆ linkIsGeneratedForRestrictedPageForGuestsUsingTypolinkLinkAccessRestrictedPagesDataProvider()

static TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugLinkGeneratorTest::linkIsGeneratedForRestrictedPageForGuestsUsingTypolinkLinkAccessRestrictedPagesDataProvider ( )
static

Definition at line 436 of file SlugLinkGeneratorTest.php.

◆ linkIsGeneratedForRestrictedPageUsingLoginPage()

TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugLinkGeneratorTest::linkIsGeneratedForRestrictedPageUsingLoginPage ( string  $hostPrefix,
int  $sourcePageId,
int  $targetPageId,
int  $loginPageId,
int  $frontendUserId,
string  $expectation 
)

Definition at line 410 of file SlugLinkGeneratorTest.php.

◆ linkIsGeneratedForRestrictedPageUsingLoginPageDataProvider()

static TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugLinkGeneratorTest::linkIsGeneratedForRestrictedPageUsingLoginPageDataProvider ( )
static

Definition at line 373 of file SlugLinkGeneratorTest.php.

◆ linkIsGeneratedFromMountPoint()

TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugLinkGeneratorTest::linkIsGeneratedFromMountPoint ( string  $hostPrefix,
array  $pageMount,
int  $sourcePageId,
int  $targetPageId,
string  $expectation 
)

Definition at line 192 of file SlugLinkGeneratorTest.php.

◆ linkIsGeneratedFromMountPointDataProvider()

static TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugLinkGeneratorTest::linkIsGeneratedFromMountPointDataProvider ( )
static

Definition at line 147 of file SlugLinkGeneratorTest.php.

◆ linkIsGeneratedWithQueryParameters()

TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugLinkGeneratorTest::linkIsGeneratedWithQueryParameters ( string  $hostPrefix,
int  $sourcePageId,
int  $targetPageId,
string  $expectation 
)

Definition at line 305 of file SlugLinkGeneratorTest.php.

◆ linkIsGeneratedWithQueryParametersDataProvider()

static TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugLinkGeneratorTest::linkIsGeneratedWithQueryParametersDataProvider ( )
static

Definition at line 269 of file SlugLinkGeneratorTest.php.

◆ listMenuIsGenerated()

TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugLinkGeneratorTest::listMenuIsGenerated ( string  $hostPrefix,
int  $sourcePageId,
array  $menuPageIds,
int  $backendUserId,
int  $workspaceId,
array  $additionalMenuConfiguration,
array  $expectation 
)

Definition at line 1266 of file SlugLinkGeneratorTest.php.

◆ listMenuIsGeneratedDataProvider()

static TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugLinkGeneratorTest::listMenuIsGeneratedDataProvider ( )
static

◆ setUp()