‪TYPO3CMS  11.5
TYPO3\CMS\Core\Tests\Functional\SiteHandling\SiteBasedTestTrait Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Functional\SiteHandling\SiteBasedTestTrait:
TYPO3\CMS\Backend\Tests\Functional\Clipboard\ClipboardTest TYPO3\CMS\Backend\Tests\Functional\Controller\FormInlineAjaxControllerTest TYPO3\CMS\Backend\Tests\Functional\Controller\Page\TreeControllerTest TYPO3\CMS\Backend\Tests\Functional\Utility\BackendUtilityTest TYPO3\CMS\Backend\Tests\Functional\View\Drawing\BackendLayoutRendererTest TYPO3\CMS\Core\Tests\Functional\Utility\RootlineUtilityTest TYPO3\CMS\Extbase\Tests\Functional\Persistence\TranslatedSiteContentTest TYPO3\CMS\Fluid\Tests\Functional\View\TemplatesPathsTest TYPO3\CMS\Fluid\Tests\Functional\ViewHelpers\CObjectViewHelperTest TYPO3\CMS\Fluid\Tests\Functional\ViewHelpers\Format\HtmlViewHelperTest TYPO3\CMS\Fluid\Tests\Functional\ViewHelpers\Link\EmailViewHelperTest TYPO3\CMS\Fluid\Tests\Functional\ViewHelpers\Link\PageViewHelperTest TYPO3\CMS\Fluid\Tests\Functional\ViewHelpers\Link\TypolinkViewHelperTest TYPO3\CMS\Fluid\Tests\Functional\ViewHelpers\Transform\HtmlViewHelperTest TYPO3\CMS\Fluid\Tests\Functional\ViewHelpers\Uri\PageViewHelperTest TYPO3\CMS\Fluid\Tests\Functional\ViewHelpers\Uri\TypolinkViewHelperTest TYPO3\CMS\Fluid\Tests\FunctionalDeprecated\ViewHelpers\Format\HtmlViewHelperTest TYPO3\CMS\Fluid\Tests\FunctionalDeprecated\ViewHelpers\Uri\EmailViewHelperTest TYPO3\CMS\FluidStyledContent\Tests\Functional\Rendering\SecureHtmlRenderingTest TYPO3\CMS\FluidStyledContent\Tests\FunctionalDeprecated\Rendering\SecureHtmlRenderingTest TYPO3\CMS\Form\Tests\Functional\RequestHandling\AbstractRequestHandlingTest TYPO3\CMS\Frontend\Tests\Functional\Controller\TypoScriptFrontendControllerWithFrontendTest TYPO3\CMS\Frontend\Tests\Functional\Middleware\BackendUserAuthenticatorTest TYPO3\CMS\Frontend\Tests\Functional\Rendering\LocalizedSiteContentRenderingTest TYPO3\CMS\Frontend\Tests\Functional\Rendering\UriPrefixRenderingTest TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\AbstractTestCase TYPO3\CMS\Seo\Tests\Functional\Canonical\CanonicalGeneratorTest TYPO3\CMS\Seo\Tests\Functional\HrefLang\HrefLangGeneratorTest

Protected Member Functions

 writeSiteConfiguration (string $identifier, array $site=[], array $languages=[], array $errorHandling=[])
 
 mergeSiteConfiguration (string $identifier, array $overrides)
 
array buildSiteConfiguration (int $rootPageId, string $base='')
 
array buildDefaultLanguageConfiguration (string $identifier, string $base)
 
array buildLanguageConfiguration (string $identifier, string $base, array $fallbackIdentifiers=[], ?string $fallbackType=null)
 
array buildErrorHandlingConfiguration (string $handler, array $codes)
 
mixed resolveLanguagePreset (string $identifier)
 
InternalRequest applyInstructions (InternalRequest $request, AbstractInstruction ... $instructions)
 
AbstractInstruction mergeInstruction (AbstractInstruction $current, AbstractInstruction $other)
 

Static Protected Member Functions

static failIfArrayIsNotEmpty (array $items)
 

Detailed Description

Trait used for test classes that want to set up (= write) site configuration files.

Mainly used when testing Site-related tests in Frontend requests.

Be sure to set the LANGUAGE_PRESETS const in your class.

Definition at line 35 of file SiteBasedTestTrait.php.

Member Function Documentation

◆ applyInstructions()

InternalRequest TYPO3\CMS\Core\Tests\Functional\SiteHandling\SiteBasedTestTrait::applyInstructions ( InternalRequest  $request,
AbstractInstruction ...  $instructions 
)
protected
Parameters
InternalRequest$request
AbstractInstruction‪...$instructions
Returns
‪InternalRequest
Todo:
‪Instruction handling should be part of Testing Framework (multiple instructions per identifier, merge in interface)

Definition at line 254 of file SiteBasedTestTrait.php.

References TYPO3\CMS\Core\Tests\Functional\SiteHandling\SiteBasedTestTrait\mergeInstruction().

Referenced by TYPO3\CMS\FluidStyledContent\Tests\FunctionalDeprecated\Rendering\SecureHtmlRenderingTest\invokeFrontendRendering(), TYPO3\CMS\FluidStyledContent\Tests\Functional\Rendering\SecureHtmlRenderingTest\invokeFrontendRendering(), and TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\TypoLinkGeneratorTest\invokeTypoLink().

◆ buildDefaultLanguageConfiguration()

array TYPO3\CMS\Core\Tests\Functional\SiteHandling\SiteBasedTestTrait::buildDefaultLanguageConfiguration ( string  $identifier,
string  $base 
)
protected
Parameters
string$identifier
string$base
Returns
‪array

Definition at line 126 of file SiteBasedTestTrait.php.

References TYPO3\CMS\Core\Tests\Functional\SiteHandling\SiteBasedTestTrait\buildLanguageConfiguration().

Referenced by TYPO3\CMS\Seo\Tests\Functional\XmlSitemap\XmlSitemapXslTest\checkIfDefaultSitemapReturnsDefaultXsl(), TYPO3\CMS\Seo\Tests\Functional\XmlSitemap\XmlSitemapIndexTest\checkIfSiteMapIndexContainsPagesSitemap(), TYPO3\CMS\Fluid\Tests\FunctionalDeprecated\ViewHelpers\Format\HtmlViewHelperTest\contentIsRendered(), TYPO3\CMS\Fluid\Tests\Functional\ViewHelpers\Format\HtmlViewHelperTest\contentIsRendered(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\TranslatedSiteContentTest\contentOnNonTranslatedPageGerman(), TYPO3\CMS\Frontend\Tests\Functional\Rendering\LocalizedSiteContentRenderingTest\contentOnNonTranslatedPageGerman(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\TranslatedSiteContentTest\contentOnPartiallyTranslatedPage(), TYPO3\CMS\Frontend\Tests\Functional\Rendering\LocalizedSiteContentRenderingTest\contentOnPartiallyTranslatedPage(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\defaultLanguagePageNotResolvedForSiteLanguageBaseIfLanguagePageExists(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\defaultLanguagePageNotResolvedForSiteLanguageBaseWithNonDefaultLanguageShorterUriIfLanguagePageExists(), TYPO3\CMS\Backend\Tests\Functional\Utility\BackendUtilityTest\getProcessedValueForLanguage(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\invalidSiteResultsInNotFoundResponse(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\invalidSlugInsideSiteLanguageResultsInNotFoundResponse(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\invalidSlugOutsideSiteLanguageResultsInNotFoundResponse(), TYPO3\CMS\Frontend\Tests\Functional\Controller\TypoScriptFrontendControllerWithFrontendTest\jsIncludesWithUserIntIsRendered(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\TranslatedSiteContentTest\onlyEnglishContentIsRenderedForDefaultLanguage(), TYPO3\CMS\Frontend\Tests\Functional\Rendering\LocalizedSiteContentRenderingTest\onlyEnglishContentIsRenderedForDefaultLanguage(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\pageIsRenderedForVersionedPage(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\pageIsRenderedWithDomains(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\pageIsRenderedWithDomains(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\pageIsRenderedWithPaths(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\pageIsRenderedWithPaths(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\pageIsRenderedWithPathsAndChineseBase(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\pageIsRenderedWithPathsAndChineseDefaultLanguage(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\pageIsRenderedWithPathsAndChineseDefaultLanguage(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\pageWithoutTrailingSlashSlugIsRenderedIfRequestedWithoutSlash(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\pageWithoutTrailingSlashSlugIsRenderedIfRequestedWithSlash(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\pageWithTrailingSlashSlugIsRenderedIfRequestedWithoutSlash(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\pageWithTrailingSlashSlugIsRenderedIfRequestedWithSlash(), TYPO3\CMS\Fluid\Tests\Functional\ViewHelpers\Link\TypolinkViewHelperTest\render(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\TranslatedSiteContentTest\renderingOfDanishLanguage(), TYPO3\CMS\Frontend\Tests\Functional\Rendering\LocalizedSiteContentRenderingTest\renderingOfDutchLanguage(), TYPO3\CMS\Seo\Tests\Functional\MetaTag\MetaTagTest\setUp(), TYPO3\CMS\Core\Tests\Functional\MetaDataHandling\PluginsTest\setUp(), TYPO3\CMS\Frontend\Tests\Functional\Middleware\BackendUserAuthenticatorTest\setUp(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\EnhancerLinkGenerator\AbstractEnhancerLinkGeneratorTestCase\setUp(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\EnhancerSiteRequest\AbstractEnhancerSiteRequestTest\setUp(), TYPO3\CMS\Fluid\Tests\Functional\ViewHelpers\Transform\HtmlViewHelperTest\setUp(), TYPO3\CMS\Seo\Tests\Functional\XmlSitemap\AbstractXmlSitemapPagesTest\setUp(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugLinkGeneratorTest\setUp(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\LocalizedPageRendering\ScenarioGTest\setUp(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\LocalizedPageRendering\ScenarioBTest\setUp(), TYPO3\CMS\Fluid\Tests\Functional\ViewHelpers\Uri\TypolinkViewHelperTest\setUp(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\LocalizedPageRendering\ScenarioATest\setUp(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\LocalizedPageRendering\ScenarioCTest\setUp(), TYPO3\CMS\Seo\Tests\Functional\HrefLang\HrefLangGeneratorTest\setUp(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\TypoLinkGeneratorTest\setUp(), TYPO3\CMS\Core\Tests\Functional\Utility\RootlineUtilityTest\setUp(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\LocalizedPageRendering\ScenarioETest\setUp(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\LocalizedPageRendering\ScenarioFTest\setUp(), TYPO3\CMS\Seo\Tests\Functional\Canonical\CanonicalGeneratorTest\setUp(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\LocalizedPageRendering\ScenarioDTest\setUp(), TYPO3\CMS\FluidStyledContent\Tests\FunctionalDeprecated\Rendering\SecureHtmlRenderingTest\setUp(), TYPO3\CMS\FluidStyledContent\Tests\Functional\Rendering\SecureHtmlRenderingTest\setUp(), TYPO3\CMS\Backend\Tests\Functional\Controller\FormInlineAjaxControllerTest\setUp(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\MountPointTest\setUp(), TYPO3\CMS\Fluid\Tests\Functional\View\TemplatesPathsTest\setUp(), TYPO3\CMS\Frontend\Tests\Functional\Rendering\UriPrefixRenderingTest\setUp(), TYPO3\CMS\Form\Tests\Functional\RequestHandling\AbstractRequestHandlingTest\setUp(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\shortcutsAreRedirectedAndRenderFirstSubPage(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\shortcutsAreRedirectedAndRenderFirstSubPage(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\shortcutsAreRedirectedAndRenderFirstSubPageWithChineseCharacterInBase(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\shortcutsAreRedirectedToDefaultSiteLanguage(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\shortcutsAreRedirectedToDefaultSiteLanguageWithChineseCharacterInBase(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\shortcutsAreRedirectedToFirstSubPage(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestAllowInsecureSiteResolutionByQueryParametersDisabledTest\siteWithPageIdRequestsAreCorrectlyHandled(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestAllowInsecureSiteResolutionByQueryParametersEnabledTest\siteWithPageIdRequestsAreCorrectlyHandled(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\siteWithPageIdRequestsAreCorrectlyHandled(), and TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\unconfiguredTypeNumResultsIn500Error().

◆ buildErrorHandlingConfiguration()

array TYPO3\CMS\Core\Tests\Functional\SiteHandling\SiteBasedTestTrait::buildErrorHandlingConfiguration ( string  $handler,
array  $codes 
)
protected
Parameters
string$handler
array$codes
Returns
‪array

Definition at line 186 of file SiteBasedTestTrait.php.

Referenced by TYPO3\CMS\Extbase\Tests\Functional\Persistence\TranslatedSiteContentTest\contentOnNonTranslatedPageGerman(), TYPO3\CMS\Frontend\Tests\Functional\Rendering\LocalizedSiteContentRenderingTest\contentOnNonTranslatedPageGerman(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\TranslatedSiteContentTest\contentOnPartiallyTranslatedPage(), TYPO3\CMS\Frontend\Tests\Functional\Rendering\LocalizedSiteContentRenderingTest\contentOnPartiallyTranslatedPage(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\crossSiteShortcutsWithWrongSiteHostSendsPageNotFoundWithoutHavingErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\hiddenPageSends404ResponseRegardlessOfVisitorGroup(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\hiddenPageSends404ResponseRegardlessOfVisitorGroup(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\invalidSiteResultsInNotFoundResponse(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\invalidSlugInsideSiteLanguageResultsInNotFoundResponse(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\invalidSlugOutsideSiteLanguageResultsInNotFoundResponse(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\TranslatedSiteContentTest\onlyEnglishContentIsRenderedForDefaultLanguage(), TYPO3\CMS\Frontend\Tests\Functional\Rendering\LocalizedSiteContentRenderingTest\onlyEnglishContentIsRenderedForDefaultLanguage(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteWithoutRequiredCHashRequestTest\pageRequestSendsNotFoundResponseWithInvalidCacheHash(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\pageRequestSendsNotFoundResponseWithInvalidCacheHashWithHavingFluidErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\pageRequestSendsNotFoundResponseWithInvalidCacheHashWithHavingFluidErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\pageRequestSendsNotFoundResponseWithInvalidCacheHashWithHavingPageErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\pageRequestSendsNotFoundResponseWithInvalidCacheHashWithHavingPageErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\pageRequestSendsNotFoundResponseWithInvalidCacheHashWithHavingPhpErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\pageRequestSendsNotFoundResponseWithInvalidCacheHashWithHavingPhpErrorHandling(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\TranslatedSiteContentTest\renderingOfDanishLanguage(), TYPO3\CMS\Frontend\Tests\Functional\Rendering\LocalizedSiteContentRenderingTest\renderingOfDutchLanguage(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\restrictedPageSendsForbiddenResponseWithUnauthorizedVisitorWithHavingFluidErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\restrictedPageSendsForbiddenResponseWithUnauthorizedVisitorWithHavingPageErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\restrictedPageSendsForbiddenResponseWithUnauthorizedVisitorWithHavingPageErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\restrictedPageSendsForbiddenResponseWithUnauthorizedVisitorWithHavingPhpErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\restrictedPageSendsForbiddenResponseWithUnauthorizedVisitorWithHavingPhpErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\restrictedPageWithParentSysFolderSendsForbiddenResponseWithUnauthorizedVisitorWithHavingFluidErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\restrictedPageWithParentSysFolderSendsForbiddenResponseWithUnauthorizedVisitorWithHavingFluidErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\restrictedPageWithParentSysFolderSendsForbiddenResponseWithUnauthorizedVisitorWithHavingPageErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\restrictedPageWithParentSysFolderSendsForbiddenResponseWithUnauthorizedVisitorWithHavingPageErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\restrictedPageWithParentSysFolderSendsForbiddenResponseWithUnauthorizedVisitorWithHavingPhpErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\restrictedPageWithParentSysFolderSendsForbiddenResponseWithUnauthorizedVisitorWithHavingPhpErrorHandling(), TYPO3\CMS\Fluid\Tests\Functional\View\TemplatesPathsTest\setUp(), TYPO3\CMS\Frontend\Tests\Functional\Rendering\UriPrefixRenderingTest\setUp(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestAllowInsecureSiteResolutionByQueryParametersDisabledTest\siteWithPageIdRequestsAreCorrectlyHandled(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestAllowInsecureSiteResolutionByQueryParametersEnabledTest\siteWithPageIdRequestsAreCorrectlyHandled(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\siteWithPageIdRequestsAreCorrectlyHandled(), and TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\unconfiguredTypeNumResultsIn500Error().

◆ buildLanguageConfiguration()

array TYPO3\CMS\Core\Tests\Functional\SiteHandling\SiteBasedTestTrait::buildLanguageConfiguration ( string  $identifier,
string  $base,
array  $fallbackIdentifiers = [],
?string  $fallbackType = null 
)
protected
Parameters
string$identifier
string$base
array$fallbackIdentifiers
string$fallbackType
Returns
‪array

Definition at line 144 of file SiteBasedTestTrait.php.

References TYPO3\CMS\Core\Tests\Functional\SiteHandling\SiteBasedTestTrait\resolveLanguagePreset().

Referenced by TYPO3\CMS\Core\Tests\Functional\SiteHandling\SiteBasedTestTrait\buildDefaultLanguageConfiguration(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\TranslatedSiteContentTest\contentOnNonTranslatedPageGerman(), TYPO3\CMS\Frontend\Tests\Functional\Rendering\LocalizedSiteContentRenderingTest\contentOnNonTranslatedPageGerman(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\TranslatedSiteContentTest\contentOnPartiallyTranslatedPage(), TYPO3\CMS\Frontend\Tests\Functional\Rendering\LocalizedSiteContentRenderingTest\contentOnPartiallyTranslatedPage(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\defaultLanguagePageNotResolvedForSiteLanguageBaseIfLanguagePageExists(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\defaultLanguagePageNotResolvedForSiteLanguageBaseWithNonDefaultLanguageShorterUriIfLanguagePageExists(), TYPO3\CMS\Backend\Tests\Functional\Utility\BackendUtilityTest\getProcessedValueForLanguage(), TYPO3\CMS\Frontend\Tests\Functional\Rendering\LocalizedSiteContentRenderingTest\onlyEnglishContentIsRenderedForDefaultLanguage(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\pageIsRenderedForVersionedPage(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\pageIsRenderedWithDomains(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\pageIsRenderedWithDomains(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\pageIsRenderedWithPaths(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\pageIsRenderedWithPaths(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\pageIsRenderedWithPathsAndChineseDefaultLanguage(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\pageIsRenderedWithPathsAndChineseDefaultLanguage(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\pageWithoutTrailingSlashSlugIsRenderedIfRequestedWithoutSlash(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\pageWithoutTrailingSlashSlugIsRenderedIfRequestedWithSlash(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\pageWithTrailingSlashSlugIsRenderedIfRequestedWithoutSlash(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\pageWithTrailingSlashSlugIsRenderedIfRequestedWithSlash(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\TranslatedSiteContentTest\renderingOfDanishLanguage(), TYPO3\CMS\Frontend\Tests\Functional\Rendering\LocalizedSiteContentRenderingTest\renderingOfDutchLanguage(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\EnhancerLinkGenerator\AbstractEnhancerLinkGeneratorTestCase\setUp(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\EnhancerSiteRequest\AbstractEnhancerSiteRequestTest\setUp(), TYPO3\CMS\Seo\Tests\Functional\XmlSitemap\AbstractXmlSitemapPagesTest\setUp(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugLinkGeneratorTest\setUp(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\LocalizedPageRendering\ScenarioGTest\setUp(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\LocalizedPageRendering\ScenarioBTest\setUp(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\LocalizedPageRendering\ScenarioCTest\setUp(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\LocalizedPageRendering\ScenarioATest\setUp(), TYPO3\CMS\Seo\Tests\Functional\HrefLang\HrefLangGeneratorTest\setUp(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\TypoLinkGeneratorTest\setUp(), TYPO3\CMS\Core\Tests\Functional\Utility\RootlineUtilityTest\setUp(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\LocalizedPageRendering\ScenarioETest\setUp(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\LocalizedPageRendering\ScenarioFTest\setUp(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\LocalizedPageRendering\ScenarioDTest\setUp(), TYPO3\CMS\Backend\Tests\Functional\Controller\FormInlineAjaxControllerTest\setUp(), and TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\MountPointTest\setUp().

◆ buildSiteConfiguration()

array TYPO3\CMS\Core\Tests\Functional\SiteHandling\SiteBasedTestTrait::buildSiteConfiguration ( int  $rootPageId,
string  $base = '' 
)
protected
Parameters
int$rootPageId
string$base
Returns
‪array

Definition at line 111 of file SiteBasedTestTrait.php.

Referenced by TYPO3\CMS\Seo\Tests\Functional\XmlSitemap\XmlSitemapXslTest\checkIfDefaultSitemapReturnsDefaultXsl(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\checkIfIndexPhpReturnsShortcutRedirectWithPageIdAndTypeNumProvided(), TYPO3\CMS\Seo\Tests\Functional\XmlSitemap\XmlSitemapIndexTest\checkIfSiteMapIndexContainsPagesSitemap(), TYPO3\CMS\Fluid\Tests\FunctionalDeprecated\ViewHelpers\Format\HtmlViewHelperTest\contentIsRendered(), TYPO3\CMS\Fluid\Tests\Functional\ViewHelpers\Format\HtmlViewHelperTest\contentIsRendered(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\TranslatedSiteContentTest\contentOnNonTranslatedPageGerman(), TYPO3\CMS\Frontend\Tests\Functional\Rendering\LocalizedSiteContentRenderingTest\contentOnNonTranslatedPageGerman(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\TranslatedSiteContentTest\contentOnPartiallyTranslatedPage(), TYPO3\CMS\Frontend\Tests\Functional\Rendering\LocalizedSiteContentRenderingTest\contentOnPartiallyTranslatedPage(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\crossSiteShortcutsAreRedirected(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\crossSiteShortcutsAreRedirected(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\crossSiteShortcutsWithWrongSiteHostSendsPageNotFoundWithoutHavingErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\defaultLanguagePageNotResolvedForSiteLanguageBaseIfLanguagePageExists(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\defaultLanguagePageNotResolvedForSiteLanguageBaseWithNonDefaultLanguageShorterUriIfLanguagePageExists(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\EidRequestTest\ensureEidRequestsWork(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\EidRequestTest\ensureEidRequestsWorkWithDotPhpPageTypeSuffixRoutingConfiguration(), TYPO3\CMS\Backend\Tests\Functional\Utility\BackendUtilityTest\getProcessedValueForLanguage(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\hiddenPageSends404ResponseRegardlessOfVisitorGroup(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\hiddenPageSends404ResponseRegardlessOfVisitorGroup(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\invalidSiteResultsInNotFoundResponse(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\invalidSlugInsideSiteLanguageResultsInNotFoundResponse(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\invalidSlugOutsideSiteLanguageResultsInNotFoundResponse(), TYPO3\CMS\Frontend\Tests\Functional\Controller\TypoScriptFrontendControllerWithFrontendTest\jsIncludesWithUserIntIsRendered(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\TranslatedSiteContentTest\onlyEnglishContentIsRenderedForDefaultLanguage(), TYPO3\CMS\Frontend\Tests\Functional\Rendering\LocalizedSiteContentRenderingTest\onlyEnglishContentIsRenderedForDefaultLanguage(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\pageIsRenderedForVersionedPage(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\pageIsRenderedWithDomains(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\pageIsRenderedWithDomains(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\pageIsRenderedWithPaths(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\pageIsRenderedWithPaths(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\pageIsRenderedWithPathsAndChineseBase(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\pageIsRenderedWithPathsAndChineseDefaultLanguage(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\pageIsRenderedWithPathsAndChineseDefaultLanguage(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteWithoutRequiredCHashRequestTest\pageIsRenderedWithValidCacheHash(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\pageIsRenderedWithValidCacheHash(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\pageIsRenderedWithValidCacheHash(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\pageRequestNotFoundInvalidCacheHashWithoutHavingErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteWithoutRequiredCHashRequestTest\pageRequestSendsNotFoundResponseWithInvalidCacheHash(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\pageRequestSendsNotFoundResponseWithInvalidCacheHashWithHavingFluidErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\pageRequestSendsNotFoundResponseWithInvalidCacheHashWithHavingFluidErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\pageRequestSendsNotFoundResponseWithInvalidCacheHashWithHavingPageErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\pageRequestSendsNotFoundResponseWithInvalidCacheHashWithHavingPageErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\pageRequestSendsNotFoundResponseWithInvalidCacheHashWithHavingPhpErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\pageRequestSendsNotFoundResponseWithInvalidCacheHashWithHavingPhpErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\pageWithoutTrailingSlashSlugIsRenderedIfRequestedWithoutSlash(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\pageWithoutTrailingSlashSlugIsRenderedIfRequestedWithSlash(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\pageWithTrailingSlashSlugIsRenderedIfRequestedWithoutSlash(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\pageWithTrailingSlashSlugIsRenderedIfRequestedWithSlash(), TYPO3\CMS\Fluid\Tests\Functional\ViewHelpers\Link\PageViewHelperTest\render(), TYPO3\CMS\Fluid\Tests\Functional\ViewHelpers\Uri\PageViewHelperTest\render(), TYPO3\CMS\Fluid\Tests\Functional\ViewHelpers\Link\TypolinkViewHelperTest\render(), TYPO3\CMS\Fluid\Tests\FunctionalDeprecated\ViewHelpers\Uri\EmailViewHelperTest\renderEncodesEmailInFrontend(), TYPO3\CMS\Fluid\Tests\Functional\ViewHelpers\Link\EmailViewHelperTest\renderEncodesEmailInFrontend(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\TranslatedSiteContentTest\renderingOfDanishLanguage(), TYPO3\CMS\Frontend\Tests\Functional\Rendering\LocalizedSiteContentRenderingTest\renderingOfDutchLanguage(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\requestsAreRedirectedWithoutHavingDefaultSiteLanguage(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\restrictedPageIsRendered(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\restrictedPageIsRendered(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\restrictedPageSendsForbiddenResponseWithUnauthorizedVisitorWithHavingFluidErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\restrictedPageSendsForbiddenResponseWithUnauthorizedVisitorWithHavingPageErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\restrictedPageSendsForbiddenResponseWithUnauthorizedVisitorWithHavingPageErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\restrictedPageSendsForbiddenResponseWithUnauthorizedVisitorWithHavingPhpErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\restrictedPageSendsForbiddenResponseWithUnauthorizedVisitorWithHavingPhpErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\restrictedPageSendsForbiddenResponseWithUnauthorizedVisitorWithoutHavingErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\restrictedPageSendsForbiddenResponseWithUnauthorizedVisitorWithoutHavingErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\restrictedPageWithParentSysFolderIsRendered(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\restrictedPageWithParentSysFolderIsRendered(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\restrictedPageWithParentSysFolderSendsForbiddenResponseWithUnauthorizedVisitorWithHavingFluidErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\restrictedPageWithParentSysFolderSendsForbiddenResponseWithUnauthorizedVisitorWithHavingFluidErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\restrictedPageWithParentSysFolderSendsForbiddenResponseWithUnauthorizedVisitorWithHavingPageErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\restrictedPageWithParentSysFolderSendsForbiddenResponseWithUnauthorizedVisitorWithHavingPageErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\restrictedPageWithParentSysFolderSendsForbiddenResponseWithUnauthorizedVisitorWithHavingPhpErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\restrictedPageWithParentSysFolderSendsForbiddenResponseWithUnauthorizedVisitorWithHavingPhpErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\restrictedPageWithParentSysFolderSendsForbiddenResponseWithUnauthorizedVisitorWithoutHavingErrorHandling(), TYPO3\CMS\Core\Tests\Functional\MetaDataHandling\PluginsTest\setUp(), TYPO3\CMS\Seo\Tests\Functional\MetaTag\MetaTagTest\setUp(), TYPO3\CMS\Frontend\Tests\Functional\Middleware\BackendUserAuthenticatorTest\setUp(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\EnhancerLinkGenerator\AbstractEnhancerLinkGeneratorTestCase\setUp(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\EnhancerSiteRequest\AbstractEnhancerSiteRequestTest\setUp(), TYPO3\CMS\Fluid\Tests\Functional\ViewHelpers\Transform\HtmlViewHelperTest\setUp(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugLinkGeneratorTest\setUp(), TYPO3\CMS\Seo\Tests\Functional\XmlSitemap\AbstractXmlSitemapPagesTest\setUp(), TYPO3\CMS\Fluid\Tests\Functional\ViewHelpers\CObjectViewHelperTest\setUp(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\LocalizedPageRendering\ScenarioGTest\setUp(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\LocalizedPageRendering\ScenarioBTest\setUp(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\LocalizedPageRendering\ScenarioATest\setUp(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\LocalizedPageRendering\ScenarioCTest\setUp(), TYPO3\CMS\Fluid\Tests\Functional\ViewHelpers\Uri\TypolinkViewHelperTest\setUp(), TYPO3\CMS\Seo\Tests\Functional\HrefLang\HrefLangGeneratorTest\setUp(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\TypoLinkGeneratorTest\setUp(), TYPO3\CMS\Core\Tests\Functional\Utility\RootlineUtilityTest\setUp(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\LocalizedPageRendering\ScenarioETest\setUp(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\LocalizedPageRendering\ScenarioFTest\setUp(), TYPO3\CMS\Seo\Tests\Functional\Canonical\CanonicalGeneratorTest\setUp(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\LocalizedPageRendering\ScenarioDTest\setUp(), TYPO3\CMS\FluidStyledContent\Tests\FunctionalDeprecated\Rendering\SecureHtmlRenderingTest\setUp(), TYPO3\CMS\FluidStyledContent\Tests\Functional\Rendering\SecureHtmlRenderingTest\setUp(), TYPO3\CMS\Backend\Tests\Functional\Controller\FormInlineAjaxControllerTest\setUp(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\MountPointTest\setUp(), TYPO3\CMS\Fluid\Tests\Functional\View\TemplatesPathsTest\setUp(), TYPO3\CMS\Frontend\Tests\Functional\Rendering\UriPrefixRenderingTest\setUp(), TYPO3\CMS\Form\Tests\Functional\RequestHandling\AbstractRequestHandlingTest\setUp(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\shortcutsAreRedirectedAndRenderFirstSubPage(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\shortcutsAreRedirectedAndRenderFirstSubPage(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\shortcutsAreRedirectedAndRenderFirstSubPageWithChineseCharacterInBase(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\shortcutsAreRedirectedToDefaultSiteLanguage(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\shortcutsAreRedirectedToDefaultSiteLanguageWithChineseCharacterInBase(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\shortcutsAreRedirectedToFirstSubPage(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestAllowInsecureSiteResolutionByQueryParametersDisabledTest\siteWithPageIdRequestsAreCorrectlyHandled(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestAllowInsecureSiteResolutionByQueryParametersEnabledTest\siteWithPageIdRequestsAreCorrectlyHandled(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\siteWithPageIdRequestsAreCorrectlyHandled(), and TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\unconfiguredTypeNumResultsIn500Error().

◆ failIfArrayIsNotEmpty()

static TYPO3\CMS\Core\Tests\Functional\SiteHandling\SiteBasedTestTrait::failIfArrayIsNotEmpty ( array  $items)
staticprotected
Parameters
array$items

Reimplemented in TYPO3\CMS\Seo\Tests\Functional\HrefLang\HrefLangGeneratorTest.

Definition at line 40 of file SiteBasedTestTrait.php.

◆ mergeInstruction()

AbstractInstruction TYPO3\CMS\Core\Tests\Functional\SiteHandling\SiteBasedTestTrait::mergeInstruction ( AbstractInstruction  $current,
AbstractInstruction  $other 
)
protected
Parameters
AbstractInstruction$current
AbstractInstruction$other
Returns
‪AbstractInstruction

Definition at line 278 of file SiteBasedTestTrait.php.

Referenced by TYPO3\CMS\Core\Tests\Functional\SiteHandling\SiteBasedTestTrait\applyInstructions().

◆ mergeSiteConfiguration()

TYPO3\CMS\Core\Tests\Functional\SiteHandling\SiteBasedTestTrait::mergeSiteConfiguration ( string  $identifier,
array  $overrides 
)
protected

◆ resolveLanguagePreset()

mixed TYPO3\CMS\Core\Tests\Functional\SiteHandling\SiteBasedTestTrait::resolveLanguagePreset ( string  $identifier)
protected
Parameters
string$identifier
Returns
‪mixed

Definition at line 236 of file SiteBasedTestTrait.php.

Referenced by TYPO3\CMS\Core\Tests\Functional\SiteHandling\SiteBasedTestTrait\buildLanguageConfiguration().

◆ writeSiteConfiguration()

TYPO3\CMS\Core\Tests\Functional\SiteHandling\SiteBasedTestTrait::writeSiteConfiguration ( string  $identifier,
array  $site = [],
array  $languages = [],
array  $errorHandling = [] 
)
protected
Parameters
string$identifier
array$site
array$languages
array$errorHandling

Definition at line 58 of file SiteBasedTestTrait.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\rmdir().

Referenced by TYPO3\CMS\Seo\Tests\Functional\XmlSitemap\XmlSitemapXslTest\checkIfDefaultSitemapReturnsDefaultXsl(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\checkIfIndexPhpReturnsShortcutRedirectWithPageIdAndTypeNumProvided(), TYPO3\CMS\Seo\Tests\Functional\XmlSitemap\XmlSitemapIndexTest\checkIfSiteMapIndexContainsPagesSitemap(), TYPO3\CMS\Fluid\Tests\FunctionalDeprecated\ViewHelpers\Format\HtmlViewHelperTest\contentIsRendered(), TYPO3\CMS\Fluid\Tests\Functional\ViewHelpers\Format\HtmlViewHelperTest\contentIsRendered(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\TranslatedSiteContentTest\contentOnNonTranslatedPageGerman(), TYPO3\CMS\Frontend\Tests\Functional\Rendering\LocalizedSiteContentRenderingTest\contentOnNonTranslatedPageGerman(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\TranslatedSiteContentTest\contentOnPartiallyTranslatedPage(), TYPO3\CMS\Frontend\Tests\Functional\Rendering\LocalizedSiteContentRenderingTest\contentOnPartiallyTranslatedPage(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\crossSiteShortcutsAreRedirected(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\crossSiteShortcutsAreRedirected(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\crossSiteShortcutsWithWrongSiteHostSendsPageNotFoundWithoutHavingErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\defaultLanguagePageNotResolvedForSiteLanguageBaseIfLanguagePageExists(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\defaultLanguagePageNotResolvedForSiteLanguageBaseWithNonDefaultLanguageShorterUriIfLanguagePageExists(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\EidRequestTest\ensureEidRequestsWork(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\EidRequestTest\ensureEidRequestsWorkWithDotPhpPageTypeSuffixRoutingConfiguration(), TYPO3\CMS\Backend\Tests\Functional\Utility\BackendUtilityTest\getProcessedValueForLanguage(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\hiddenPageSends404ResponseRegardlessOfVisitorGroup(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\hiddenPageSends404ResponseRegardlessOfVisitorGroup(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\invalidSiteResultsInNotFoundResponse(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\invalidSlugInsideSiteLanguageResultsInNotFoundResponse(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\invalidSlugOutsideSiteLanguageResultsInNotFoundResponse(), TYPO3\CMS\Frontend\Tests\Functional\Controller\TypoScriptFrontendControllerWithFrontendTest\jsIncludesWithUserIntIsRendered(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\TranslatedSiteContentTest\onlyEnglishContentIsRenderedForDefaultLanguage(), TYPO3\CMS\Frontend\Tests\Functional\Rendering\LocalizedSiteContentRenderingTest\onlyEnglishContentIsRenderedForDefaultLanguage(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\pageIsRenderedForVersionedPage(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\pageIsRenderedWithDomains(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\pageIsRenderedWithDomains(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\pageIsRenderedWithPaths(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\pageIsRenderedWithPaths(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\pageIsRenderedWithPathsAndChineseBase(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\pageIsRenderedWithPathsAndChineseDefaultLanguage(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\pageIsRenderedWithPathsAndChineseDefaultLanguage(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteWithoutRequiredCHashRequestTest\pageIsRenderedWithValidCacheHash(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\pageIsRenderedWithValidCacheHash(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\pageIsRenderedWithValidCacheHash(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\pageRequestNotFoundInvalidCacheHashWithoutHavingErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteWithoutRequiredCHashRequestTest\pageRequestSendsNotFoundResponseWithInvalidCacheHash(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\pageRequestSendsNotFoundResponseWithInvalidCacheHashWithHavingFluidErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\pageRequestSendsNotFoundResponseWithInvalidCacheHashWithHavingFluidErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\pageRequestSendsNotFoundResponseWithInvalidCacheHashWithHavingPageErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\pageRequestSendsNotFoundResponseWithInvalidCacheHashWithHavingPageErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\pageRequestSendsNotFoundResponseWithInvalidCacheHashWithHavingPhpErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\pageRequestSendsNotFoundResponseWithInvalidCacheHashWithHavingPhpErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\pageWithoutTrailingSlashSlugIsRenderedIfRequestedWithoutSlash(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\pageWithoutTrailingSlashSlugIsRenderedIfRequestedWithSlash(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\pageWithTrailingSlashSlugIsRenderedIfRequestedWithoutSlash(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\pageWithTrailingSlashSlugIsRenderedIfRequestedWithSlash(), TYPO3\CMS\Fluid\Tests\Functional\ViewHelpers\Link\PageViewHelperTest\render(), TYPO3\CMS\Fluid\Tests\Functional\ViewHelpers\Uri\PageViewHelperTest\render(), TYPO3\CMS\Fluid\Tests\Functional\ViewHelpers\Link\TypolinkViewHelperTest\render(), TYPO3\CMS\Fluid\Tests\FunctionalDeprecated\ViewHelpers\Uri\EmailViewHelperTest\renderEncodesEmailInFrontend(), TYPO3\CMS\Fluid\Tests\Functional\ViewHelpers\Link\EmailViewHelperTest\renderEncodesEmailInFrontend(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\TranslatedSiteContentTest\renderingOfDanishLanguage(), TYPO3\CMS\Frontend\Tests\Functional\Rendering\LocalizedSiteContentRenderingTest\renderingOfDutchLanguage(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\requestsAreRedirectedWithoutHavingDefaultSiteLanguage(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\restrictedPageIsRendered(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\restrictedPageIsRendered(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\restrictedPageSendsForbiddenResponseWithUnauthorizedVisitorWithHavingFluidErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\restrictedPageSendsForbiddenResponseWithUnauthorizedVisitorWithHavingPageErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\restrictedPageSendsForbiddenResponseWithUnauthorizedVisitorWithHavingPageErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\restrictedPageSendsForbiddenResponseWithUnauthorizedVisitorWithHavingPhpErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\restrictedPageSendsForbiddenResponseWithUnauthorizedVisitorWithHavingPhpErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\restrictedPageSendsForbiddenResponseWithUnauthorizedVisitorWithoutHavingErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\restrictedPageSendsForbiddenResponseWithUnauthorizedVisitorWithoutHavingErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\restrictedPageWithParentSysFolderIsRendered(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\restrictedPageWithParentSysFolderIsRendered(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\restrictedPageWithParentSysFolderSendsForbiddenResponseWithUnauthorizedVisitorWithHavingFluidErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\restrictedPageWithParentSysFolderSendsForbiddenResponseWithUnauthorizedVisitorWithHavingFluidErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\restrictedPageWithParentSysFolderSendsForbiddenResponseWithUnauthorizedVisitorWithHavingPageErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\restrictedPageWithParentSysFolderSendsForbiddenResponseWithUnauthorizedVisitorWithHavingPageErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\restrictedPageWithParentSysFolderSendsForbiddenResponseWithUnauthorizedVisitorWithHavingPhpErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\restrictedPageWithParentSysFolderSendsForbiddenResponseWithUnauthorizedVisitorWithHavingPhpErrorHandling(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\restrictedPageWithParentSysFolderSendsForbiddenResponseWithUnauthorizedVisitorWithoutHavingErrorHandling(), TYPO3\CMS\Core\Tests\Functional\MetaDataHandling\PluginsTest\setUp(), TYPO3\CMS\Seo\Tests\Functional\MetaTag\MetaTagTest\setUp(), TYPO3\CMS\Frontend\Tests\Functional\Middleware\BackendUserAuthenticatorTest\setUp(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\EnhancerLinkGenerator\AbstractEnhancerLinkGeneratorTestCase\setUp(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\EnhancerSiteRequest\AbstractEnhancerSiteRequestTest\setUp(), TYPO3\CMS\Fluid\Tests\Functional\ViewHelpers\Transform\HtmlViewHelperTest\setUp(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugLinkGeneratorTest\setUp(), TYPO3\CMS\Seo\Tests\Functional\XmlSitemap\AbstractXmlSitemapPagesTest\setUp(), TYPO3\CMS\Fluid\Tests\Functional\ViewHelpers\CObjectViewHelperTest\setUp(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\LocalizedPageRendering\ScenarioGTest\setUp(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\LocalizedPageRendering\ScenarioBTest\setUp(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\LocalizedPageRendering\ScenarioATest\setUp(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\LocalizedPageRendering\ScenarioCTest\setUp(), TYPO3\CMS\Fluid\Tests\Functional\ViewHelpers\Uri\TypolinkViewHelperTest\setUp(), TYPO3\CMS\Seo\Tests\Functional\HrefLang\HrefLangGeneratorTest\setUp(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\TypoLinkGeneratorTest\setUp(), TYPO3\CMS\Core\Tests\Functional\Utility\RootlineUtilityTest\setUp(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\LocalizedPageRendering\ScenarioETest\setUp(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\LocalizedPageRendering\ScenarioFTest\setUp(), TYPO3\CMS\Seo\Tests\Functional\Canonical\CanonicalGeneratorTest\setUp(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\LocalizedPageRendering\ScenarioDTest\setUp(), TYPO3\CMS\FluidStyledContent\Tests\FunctionalDeprecated\Rendering\SecureHtmlRenderingTest\setUp(), TYPO3\CMS\FluidStyledContent\Tests\Functional\Rendering\SecureHtmlRenderingTest\setUp(), TYPO3\CMS\Backend\Tests\Functional\Controller\FormInlineAjaxControllerTest\setUp(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\MountPointTest\setUp(), TYPO3\CMS\Fluid\Tests\Functional\View\TemplatesPathsTest\setUp(), TYPO3\CMS\Frontend\Tests\Functional\Rendering\UriPrefixRenderingTest\setUp(), TYPO3\CMS\Form\Tests\Functional\RequestHandling\AbstractRequestHandlingTest\setUp(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\shortcutsAreRedirectedAndRenderFirstSubPage(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\shortcutsAreRedirectedAndRenderFirstSubPage(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\shortcutsAreRedirectedAndRenderFirstSubPageWithChineseCharacterInBase(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\shortcutsAreRedirectedToDefaultSiteLanguage(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\shortcutsAreRedirectedToDefaultSiteLanguageWithChineseCharacterInBase(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SiteRequestTest\shortcutsAreRedirectedToFirstSubPage(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestAllowInsecureSiteResolutionByQueryParametersDisabledTest\siteWithPageIdRequestsAreCorrectlyHandled(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestAllowInsecureSiteResolutionByQueryParametersEnabledTest\siteWithPageIdRequestsAreCorrectlyHandled(), TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\siteWithPageIdRequestsAreCorrectlyHandled(), and TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteRequestTest\unconfiguredTypeNumResultsIn500Error().