‪TYPO3CMS  10.4
TYPO3\CMS\Core\Tests\Unit\Error\ProductionExceptionHandlerTest Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Unit\Error\ProductionExceptionHandlerTest:

Public Member Functions

 echoExceptionWebEscapesExceptionMessage ()
 
 echoExceptionWebEscapesExceptionTitle ()
 
string[][] exampleUrlsForTokenAnonymization ()
 
 logEntriesContainAnonymousTokens (string $originalUrl, string $expectedUrl)
 

Protected Member Functions

 setUp ()
 

Protected Attributes

 $resetSingletonInstances = true
 
TYPO3 CMS Core Error ProductionExceptionHandler PHPUnit Framework MockObject MockObject $subject
 

Detailed Description

testcase for the \TYPO3\CMS\Core\Error\ProductionExceptionHandler class.

Definition at line 28 of file ProductionExceptionHandlerTest.php.

Member Function Documentation

◆ echoExceptionWebEscapesExceptionMessage()

TYPO3\CMS\Core\Tests\Unit\Error\ProductionExceptionHandlerTest::echoExceptionWebEscapesExceptionMessage ( )
Test:

Definition at line 52 of file ProductionExceptionHandlerTest.php.

References $output.

◆ echoExceptionWebEscapesExceptionTitle()

TYPO3\CMS\Core\Tests\Unit\Error\ProductionExceptionHandlerTest::echoExceptionWebEscapesExceptionTitle ( )
Test:

Definition at line 70 of file ProductionExceptionHandlerTest.php.

References $output.

◆ exampleUrlsForTokenAnonymization()

string [][] TYPO3\CMS\Core\Tests\Unit\Error\ProductionExceptionHandlerTest::exampleUrlsForTokenAnonymization ( )

Data provider with allowed contexts.

Returns
‪string[][]

Definition at line 95 of file ProductionExceptionHandlerTest.php.

◆ logEntriesContainAnonymousTokens()

TYPO3\CMS\Core\Tests\Unit\Error\ProductionExceptionHandlerTest::logEntriesContainAnonymousTokens ( string  $originalUrl,
string  $expectedUrl 
)
Test:
‪@dataProvider exampleUrlsForTokenAnonymization
Parameters
string$originalUrl
string$expectedUrl

Definition at line 127 of file ProductionExceptionHandlerTest.php.

References $GLOBALS, TYPO3\CMS\Core\Tests\Unit\Error\ProductionExceptionHandlerTest\$subject, and TYPO3\CMS\Core\Error\ProductionExceptionHandler\echoExceptionWeb().

◆ setUp()

TYPO3\CMS\Core\Tests\Unit\Error\ProductionExceptionHandlerTest::setUp ( )
protected

Sets up this test case.

Definition at line 39 of file ProductionExceptionHandlerTest.php.

Member Data Documentation

◆ $resetSingletonInstances

TYPO3\CMS\Core\Tests\Unit\Error\ProductionExceptionHandlerTest::$resetSingletonInstances = true
protected

Definition at line 30 of file ProductionExceptionHandlerTest.php.

◆ $subject

TYPO3 CMS Core Error ProductionExceptionHandler PHPUnit Framework MockObject MockObject TYPO3\CMS\Core\Tests\Unit\Error\ProductionExceptionHandlerTest::$subject
protected