‪TYPO3CMS  11.5
TYPO3\CMS\Seo\Tests\Functional\XmlSitemap\XmlSitemapPagesTest Class Reference
Inheritance diagram for TYPO3\CMS\Seo\Tests\Functional\XmlSitemap\XmlSitemapPagesTest:
TYPO3\CMS\Seo\Tests\Functional\XmlSitemap\AbstractXmlSitemapPagesTest TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\AbstractTestCase TYPO3\CMS\Core\Tests\Functional\SiteHandling\SiteBasedTestTrait

Public Member Functions

 pagesSitemapDoesNotContainUrlWithCanonicalSet ()
 
 pagesSitemapDoesNotContainUrlWithNoIndexSet ()
 
 pagesSitemapInDefaultLanguageDoesNotContainSiteThatIsHiddenInDefaultLanguage ()
 
 pagesSitemapInAlternativeLanguageDoesNotContainSiteThatIsHiddenIfNotTranslated ()
 
array pagesToCheckDataProvider ()
 
 pagesSitemapContainsTranslatedPages ()
 
 pagesSitemapDoesNotContainUntranslatedPages ()
 
 pagesSitemapRespectFallbackStrategy ()
 
 pagesSitemapDoesNotContainUrlsOfExcludedPages ()
 

Protected Member Functions

array< string, $configurationToUseInTestInstance=array('FE'=>['cacheHash'=>['enforceValidation'=> false,],],);public checkIfPagesSiteMapContainsExpectedEntries( $urlPattern):void { $response=$this-> getResponse ()
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Seo\Tests\Functional\XmlSitemap\AbstractXmlSitemapPagesTest
 setUp ()
 
 getResponse (string $uri='http://localhost/')
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\AbstractTestCase
array wrapInArray (array $array)
 
array keysFromValues (array $array)
 
array keysFromTemplate (array $array, string $template, callable $callback=null)
 
ArrayValueInstruction createTypoLinkUrlInstruction (array $typoScript)
 
ArrayValueInstruction createHierarchicalMenuProcessorInstruction (array $typoScript)
 
ArrayValueInstruction createLanguageMenuProcessorInstruction (array $typoScript)
 
array filterMenu (array $menu, array $keepNames=['title', 'link'])
 
- ‪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)
 
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)
 

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\Seo\Tests\Functional\XmlSitemap\AbstractXmlSitemapPagesTest
const LANGUAGE_PRESETS
 
 $coreExtensionsToLoad = array( 'seo' )
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\AbstractTestCase
const LANGUAGE_PRESETS
 
 $configurationToUseInTestInstance
 
 $coreExtensionsToLoad = array( 'workspaces' )
 

Detailed Description

Contains functional tests for the XmlSitemap Index

Definition at line 23 of file XmlSitemapPagesTest.php.

Member Function Documentation

◆ getResponse()

◆ pagesSitemapContainsTranslatedPages()

TYPO3\CMS\Seo\Tests\Functional\XmlSitemap\XmlSitemapPagesTest::pagesSitemapContainsTranslatedPages ( )

◆ pagesSitemapDoesNotContainUntranslatedPages()

TYPO3\CMS\Seo\Tests\Functional\XmlSitemap\XmlSitemapPagesTest::pagesSitemapDoesNotContainUntranslatedPages ( )

◆ pagesSitemapDoesNotContainUrlsOfExcludedPages()

TYPO3\CMS\Seo\Tests\Functional\XmlSitemap\XmlSitemapPagesTest::pagesSitemapDoesNotContainUrlsOfExcludedPages ( )

◆ pagesSitemapDoesNotContainUrlWithCanonicalSet()

TYPO3\CMS\Seo\Tests\Functional\XmlSitemap\XmlSitemapPagesTest::pagesSitemapDoesNotContainUrlWithCanonicalSet ( )

◆ pagesSitemapDoesNotContainUrlWithNoIndexSet()

TYPO3\CMS\Seo\Tests\Functional\XmlSitemap\XmlSitemapPagesTest::pagesSitemapDoesNotContainUrlWithNoIndexSet ( )

◆ pagesSitemapInAlternativeLanguageDoesNotContainSiteThatIsHiddenIfNotTranslated()

TYPO3\CMS\Seo\Tests\Functional\XmlSitemap\XmlSitemapPagesTest::pagesSitemapInAlternativeLanguageDoesNotContainSiteThatIsHiddenIfNotTranslated ( )

Tests for exclusion depending on the l18n_cfg field

Test:

Definition at line 94 of file XmlSitemapPagesTest.php.

References TYPO3\CMS\Seo\Tests\Functional\XmlSitemap\XmlSitemapPagesTest\getResponse().

◆ pagesSitemapInDefaultLanguageDoesNotContainSiteThatIsHiddenInDefaultLanguage()

TYPO3\CMS\Seo\Tests\Functional\XmlSitemap\XmlSitemapPagesTest::pagesSitemapInDefaultLanguageDoesNotContainSiteThatIsHiddenInDefaultLanguage ( )

Tests for exclusion depending on the l18n_cfg field

Test:

Definition at line 81 of file XmlSitemapPagesTest.php.

References TYPO3\CMS\Seo\Tests\Functional\XmlSitemap\XmlSitemapPagesTest\getResponse().

◆ pagesSitemapRespectFallbackStrategy()

TYPO3\CMS\Seo\Tests\Functional\XmlSitemap\XmlSitemapPagesTest::pagesSitemapRespectFallbackStrategy ( )

◆ pagesToCheckDataProvider()

array TYPO3\CMS\Seo\Tests\Functional\XmlSitemap\XmlSitemapPagesTest::pagesToCheckDataProvider ( )
Returns
‪array

Definition at line 105 of file XmlSitemapPagesTest.php.