‪TYPO3CMS  11.5
TYPO3\CMS\Core\Tests\Unit\Error\DebugExceptionHandlerTest Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Unit\Error\DebugExceptionHandlerTest:

Public Member Functions

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

Protected Member Functions

 setUp ()
 
 tearDown ()
 

Protected Attributes

TYPO3 CMS Core Error DebugExceptionHandler PHPUnit Framework MockObject MockObject $subject
 

Detailed Description

testcase for the DebugExceptionHandler class.

Definition at line 29 of file DebugExceptionHandlerTest.php.

Member Function Documentation

◆ echoExceptionWebEscapesExceptionMessage()

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

Definition at line 61 of file DebugExceptionHandlerTest.php.

References $output.

◆ exampleUrlsForTokenAnonymization()

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

Data provider with allowed contexts.

Returns
‪string[][]

Definition at line 79 of file DebugExceptionHandlerTest.php.

◆ logEntriesContainAnonymousTokens()

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

Definition at line 115 of file DebugExceptionHandlerTest.php.

References TYPO3\CMS\Core\Tests\Unit\Error\DebugExceptionHandlerTest\$subject, and TYPO3\CMS\Core\Error\DebugExceptionHandler\echoExceptionWeb().

◆ setUp()

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

Sets up this test case.

Definition at line 38 of file DebugExceptionHandlerTest.php.

◆ tearDown()

TYPO3\CMS\Core\Tests\Unit\Error\DebugExceptionHandlerTest::tearDown ( )
protected

Definition at line 47 of file DebugExceptionHandlerTest.php.

Member Data Documentation

◆ $subject

TYPO3 CMS Core Error DebugExceptionHandler PHPUnit Framework MockObject MockObject TYPO3\CMS\Core\Tests\Unit\Error\DebugExceptionHandlerTest::$subject
protected