‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Tests\Functional\Security\ContentSecurityPolicy\PolicyProviderTest Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Functional\Security\ContentSecurityPolicy\PolicyProviderTest:
TYPO3\CMS\Core\Tests\Functional\SiteHandling\SiteBasedTestTrait

Public Member Functions

 defaultReportingUriBaseIsResolved (Scope $scope, ?string $languagePreset, bool $absolute, string $expectation)
 

Static Public Member Functions

static defaultReportingUriBaseIsResolvedDataProvider ()
 

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

const LANGUAGE_PRESETS
 

Private Member Functions

 buildServerRequest (Scope $scope, ?string $languagePreset)
 

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 29 of file PolicyProviderTest.php.

Member Function Documentation

◆ buildServerRequest()

TYPO3\CMS\Core\Tests\Functional\Security\ContentSecurityPolicy\PolicyProviderTest::buildServerRequest ( Scope  $scope,
?string  $languagePreset 
)
private

◆ defaultReportingUriBaseIsResolved()

TYPO3\CMS\Core\Tests\Functional\Security\ContentSecurityPolicy\PolicyProviderTest::defaultReportingUriBaseIsResolved ( Scope  $scope,
?string  $languagePreset,
bool  $absolute,
string  $expectation 
)
Test:
‪@dataProvider defaultReportingUriBaseIsResolvedDataProvider

Definition at line 118 of file PolicyProviderTest.php.

References TYPO3\CMS\Core\Tests\Functional\Security\ContentSecurityPolicy\PolicyProviderTest\buildServerRequest().

◆ defaultReportingUriBaseIsResolvedDataProvider()

static TYPO3\CMS\Core\Tests\Functional\Security\ContentSecurityPolicy\PolicyProviderTest::defaultReportingUriBaseIsResolvedDataProvider ( )
static

◆ setUp()

Member Data Documentation

◆ LANGUAGE_PRESETS

const TYPO3\CMS\Core\Tests\Functional\Security\ContentSecurityPolicy\PolicyProviderTest::LANGUAGE_PRESETS
protected
Initial value:
= [
'EN' => ['id' => 0, 'title' => 'English', 'locale' => 'en_US.UTF8'],
'FR' => ['id' => 1, 'title' => 'Fran├žais', 'locale' => 'fr_FR.UTF8'],
]

Definition at line 32 of file PolicyProviderTest.php.