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

Public Member Functions

 checkIfSiteMapIndexContainsSysCategoryLinks (string $sitemap, string $host, array $expectedEntries, array $notExpectedEntries)
 
 checkIfSiteMapIndexContainsCustomChangeFreqAndPriorityValues ()
 
 checkSiteMapWithDifferentTypoScriptConfigs (string $sitemap, array $expectedEntries, array $notExpectedEntries)
 

Static Public Member Functions

static array[] sitemapEntriesToCheck ()
 
static array[] additionalWhereTypoScriptConfigurationsToCheck ()
 

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)
 

Protected Attributes

array $coreExtensionsToLoad = ['seo']
 
array $configurationToUseInTestInstance
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\AbstractTestCase
const LANGUAGE_PRESETS
 

Additional Inherited Members

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

Detailed Description

Contains functional tests for the XmlSitemap Index

Definition at line 26 of file XmlSitemapRecordsTest.php.

Member Function Documentation

◆ additionalWhereTypoScriptConfigurationsToCheck()

static array [] TYPO3\CMS\Seo\Tests\Functional\XmlSitemap\XmlSitemapRecordsTest::additionalWhereTypoScriptConfigurationsToCheck ( )
static
Returns
‪array[]

Definition at line 222 of file XmlSitemapRecordsTest.php.

◆ checkIfSiteMapIndexContainsCustomChangeFreqAndPriorityValues()

TYPO3\CMS\Seo\Tests\Functional\XmlSitemap\XmlSitemapRecordsTest::checkIfSiteMapIndexContainsCustomChangeFreqAndPriorityValues ( )
Test:

Definition at line 162 of file XmlSitemapRecordsTest.php.

◆ checkIfSiteMapIndexContainsSysCategoryLinks()

TYPO3\CMS\Seo\Tests\Functional\XmlSitemap\XmlSitemapRecordsTest::checkIfSiteMapIndexContainsSysCategoryLinks ( string  $sitemap,
string  $host,
array  $expectedEntries,
array  $notExpectedEntries 
)
Test:
‪@dataProvider sitemapEntriesToCheck

Definition at line 71 of file XmlSitemapRecordsTest.php.

◆ checkSiteMapWithDifferentTypoScriptConfigs()

TYPO3\CMS\Seo\Tests\Functional\XmlSitemap\XmlSitemapRecordsTest::checkSiteMapWithDifferentTypoScriptConfigs ( string  $sitemap,
array  $expectedEntries,
array  $notExpectedEntries 
)
Test:
‪@dataProvider additionalWhereTypoScriptConfigurationsToCheck

Definition at line 190 of file XmlSitemapRecordsTest.php.

◆ setUp()

◆ sitemapEntriesToCheck()

static array [] TYPO3\CMS\Seo\Tests\Functional\XmlSitemap\XmlSitemapRecordsTest::sitemapEntriesToCheck ( )
static
Returns
‪array[]

Definition at line 106 of file XmlSitemapRecordsTest.php.

Member Data Documentation

◆ $configurationToUseInTestInstance

array TYPO3\CMS\Seo\Tests\Functional\XmlSitemap\XmlSitemapRecordsTest::$configurationToUseInTestInstance
protected
Initial value:
= [
'FE' => [
'cacheHash' => [
'enforceValidation' => false,
],
],
]

Definition at line 30 of file XmlSitemapRecordsTest.php.

◆ $coreExtensionsToLoad

array TYPO3\CMS\Seo\Tests\Functional\XmlSitemap\XmlSitemapRecordsTest::$coreExtensionsToLoad = ['seo']
protected

Definition at line 28 of file XmlSitemapRecordsTest.php.