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

Public Member Functions

 urisAreRenderedUsingAbsRefPrefix (string $absRefPrefixAspect, string $compressorAspect, array $expectations)
 

Static Public Member Functions

static urisAreRenderedUsingAbsRefPrefixDataProvider ()
 

Protected Member Functions

 setUp ()
 
 setTypoScriptConstantsToTemplateRecord (int $pageId, string $constants, bool $append=false)
 
 compileTypoScriptConstants (array $constants)
 
- ‪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 $configurationToUseInTestInstance
 
array $coreExtensionsToLoad = ['rte_ckeditor']
 
const LANGUAGE_PRESETS
 

Private Attributes

array $definedResources
 
array $resolvedResources
 

Additional Inherited Members

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

Detailed Description

Definition at line 28 of file UriPrefixRenderingTest.php.

Member Function Documentation

◆ compileTypoScriptConstants()

TYPO3\CMS\Frontend\Tests\Functional\Rendering\UriPrefixRenderingTest::compileTypoScriptConstants ( array  $constants)
protected

◆ setTypoScriptConstantsToTemplateRecord()

TYPO3\CMS\Frontend\Tests\Functional\Rendering\UriPrefixRenderingTest::setTypoScriptConstantsToTemplateRecord ( int  $pageId,
string  $constants,
bool  $append = false 
)
protected

Adds TypoScript constants snippet to the existing template record

Definition at line 365 of file UriPrefixRenderingTest.php.

Referenced by TYPO3\CMS\Frontend\Tests\Functional\Rendering\UriPrefixRenderingTest\setUp().

◆ setUp()

◆ urisAreRenderedUsingAbsRefPrefix()

TYPO3\CMS\Frontend\Tests\Functional\Rendering\UriPrefixRenderingTest::urisAreRenderedUsingAbsRefPrefix ( string  $absRefPrefixAspect,
string  $compressorAspect,
array  $expectations 
)

Definition at line 303 of file UriPrefixRenderingTest.php.

◆ urisAreRenderedUsingAbsRefPrefixDataProvider()

static TYPO3\CMS\Frontend\Tests\Functional\Rendering\UriPrefixRenderingTest::urisAreRenderedUsingAbsRefPrefixDataProvider ( )
static

Definition at line 95 of file UriPrefixRenderingTest.php.

Member Data Documentation

◆ $configurationToUseInTestInstance

array TYPO3\CMS\Frontend\Tests\Functional\Rendering\UriPrefixRenderingTest::$configurationToUseInTestInstance
protected
Initial value:
= [
'FE' => [
'cacheHash' => [
'excludedParameters' => ['testAbsRefPrefix', 'testCompressor'],
],
],
]

Definition at line 31 of file UriPrefixRenderingTest.php.

◆ $coreExtensionsToLoad

array TYPO3\CMS\Frontend\Tests\Functional\Rendering\UriPrefixRenderingTest::$coreExtensionsToLoad = ['rte_ckeditor']
protected

Definition at line 67 of file UriPrefixRenderingTest.php.

◆ $definedResources

array TYPO3\CMS\Frontend\Tests\Functional\Rendering\UriPrefixRenderingTest::$definedResources
private
Initial value:
= [
'absoluteCSS' => '/typo3/sysext/backend/Resources/Public/Css/backend.css',
'relativeCSS' => 'typo3/sysext/backend/Resources/Public/Css/backend.css',
'extensionCSS' => 'EXT:rte_ckeditor/Resources/Public/Css/contents.css',
'externalCSS' => 'https:
'absoluteJS' => '/typo3/sysext/backend/Resources/Public/JavaScript/backend.js',
'relativeJS' => 'typo3/sysext/core/Resources/Public/JavaScript/Contrib/autosize.js',
'extensionJS' => 'EXT:core/Resources/Public/JavaScript/Contrib/jquery.js',
'externalJS' => 'https:
'localImage' => 'typo3/sysext/frontend/Resources/Public/Icons/Extension.svg',
]

Definition at line 42 of file UriPrefixRenderingTest.php.

◆ $resolvedResources

array TYPO3\CMS\Frontend\Tests\Functional\Rendering\UriPrefixRenderingTest::$resolvedResources
private
Initial value:
= [
'relativeCSS' => 'typo3/sysext/backend/Resources/Public/Css/backend.css',
'extensionCSS' => 'typo3/sysext/rte_ckeditor/Resources/Public/Css/contents.css',
'externalCSS' => 'https:
'relativeJS' => 'typo3/sysext/core/Resources/Public/JavaScript/Contrib/autosize.js',
'extensionJS' => 'typo3/sysext/core/Resources/Public/JavaScript/Contrib/jquery.js',
'externalJS' => 'https:
'localImage' => 'typo3/sysext/frontend/Resources/Public/Icons/Extension.svg',
]

Definition at line 57 of file UriPrefixRenderingTest.php.

◆ LANGUAGE_PRESETS

const TYPO3\CMS\Frontend\Tests\Functional\Rendering\UriPrefixRenderingTest::LANGUAGE_PRESETS
protected
Initial value:
= [
'EN' => ['id' => 0, 'title' => 'English', 'locale' => 'en_US.UTF8', 'iso' => 'en'],
]

Definition at line 69 of file UriPrefixRenderingTest.php.