‪TYPO3CMS  10.4
TYPO3\CMS\Frontend\Tests\Unit\Controller\ErrorControllerTest Class Reference
Inheritance diagram for TYPO3\CMS\Frontend\Tests\Unit\Controller\ErrorControllerTest:

Public Member Functions

 pageNotFoundHandlingReturns404ResponseIfNotConfigured ()
 
 unavailableHandlingReturns503ResponseIfNotConfigured ()
 
 unavailableHandlingDoesNotTriggerDueToDevIpMask ()
 
 internalErrorHandlingReturns500ResponseIfNotConfigured ()
 
 internalErrorHandlingDoesNotTriggerDueToDevIpMask ()
 
 defaultErrorHandlerWithHtmlResponseIsChosenWhenNoSiteConfiguredForPageNotFoundAction ()
 
 defaultErrorHandlerWithJsonResponseIsChosenWhenNoSiteConfiguredForPageNotFoundAction ()
 
 defaultErrorHandlerWithHtmlResponseIsChosenWhenNoSiteConfiguredForUnavailableAction ()
 
 defaultErrorHandlerWithJsonResponseIsChosenWhenNoSiteConfiguredForUnavailableAction ()
 
 defaultErrorHandlerWithHtmlResponseIsChosenWhenNoSiteConfiguredForInternalErrorAction ()
 
 defaultErrorHandlerWithJsonResponseIsChosenWhenNoSiteConfiguredForInternalErrorAction ()
 
 defaultErrorHandlerWithHtmlResponseIsChosenWhenNoSiteConfiguredForAccessDeniedAction ()
 
 defaultErrorHandlerWithJsonResponseIsChosenWhenNoSiteConfiguredForAccessDeniedAction ()
 

Protected Attributes

 $resetSingletonInstances = true
 

Detailed Description

Test case

Definition at line 29 of file ErrorControllerTest.php.

Member Function Documentation

◆ defaultErrorHandlerWithHtmlResponseIsChosenWhenNoSiteConfiguredForAccessDeniedAction()

TYPO3\CMS\Frontend\Tests\Unit\Controller\ErrorControllerTest::defaultErrorHandlerWithHtmlResponseIsChosenWhenNoSiteConfiguredForAccessDeniedAction ( )
Test:

Definition at line 192 of file ErrorControllerTest.php.

◆ defaultErrorHandlerWithHtmlResponseIsChosenWhenNoSiteConfiguredForInternalErrorAction()

TYPO3\CMS\Frontend\Tests\Unit\Controller\ErrorControllerTest::defaultErrorHandlerWithHtmlResponseIsChosenWhenNoSiteConfiguredForInternalErrorAction ( )
Test:

Definition at line 164 of file ErrorControllerTest.php.

◆ defaultErrorHandlerWithHtmlResponseIsChosenWhenNoSiteConfiguredForPageNotFoundAction()

TYPO3\CMS\Frontend\Tests\Unit\Controller\ErrorControllerTest::defaultErrorHandlerWithHtmlResponseIsChosenWhenNoSiteConfiguredForPageNotFoundAction ( )
Test:

Definition at line 108 of file ErrorControllerTest.php.

◆ defaultErrorHandlerWithHtmlResponseIsChosenWhenNoSiteConfiguredForUnavailableAction()

TYPO3\CMS\Frontend\Tests\Unit\Controller\ErrorControllerTest::defaultErrorHandlerWithHtmlResponseIsChosenWhenNoSiteConfiguredForUnavailableAction ( )
Test:

Definition at line 136 of file ErrorControllerTest.php.

◆ defaultErrorHandlerWithJsonResponseIsChosenWhenNoSiteConfiguredForAccessDeniedAction()

TYPO3\CMS\Frontend\Tests\Unit\Controller\ErrorControllerTest::defaultErrorHandlerWithJsonResponseIsChosenWhenNoSiteConfiguredForAccessDeniedAction ( )
Test:

Definition at line 207 of file ErrorControllerTest.php.

◆ defaultErrorHandlerWithJsonResponseIsChosenWhenNoSiteConfiguredForInternalErrorAction()

TYPO3\CMS\Frontend\Tests\Unit\Controller\ErrorControllerTest::defaultErrorHandlerWithJsonResponseIsChosenWhenNoSiteConfiguredForInternalErrorAction ( )
Test:

Definition at line 179 of file ErrorControllerTest.php.

◆ defaultErrorHandlerWithJsonResponseIsChosenWhenNoSiteConfiguredForPageNotFoundAction()

TYPO3\CMS\Frontend\Tests\Unit\Controller\ErrorControllerTest::defaultErrorHandlerWithJsonResponseIsChosenWhenNoSiteConfiguredForPageNotFoundAction ( )
Test:

Definition at line 123 of file ErrorControllerTest.php.

◆ defaultErrorHandlerWithJsonResponseIsChosenWhenNoSiteConfiguredForUnavailableAction()

TYPO3\CMS\Frontend\Tests\Unit\Controller\ErrorControllerTest::defaultErrorHandlerWithJsonResponseIsChosenWhenNoSiteConfiguredForUnavailableAction ( )
Test:

Definition at line 151 of file ErrorControllerTest.php.

◆ internalErrorHandlingDoesNotTriggerDueToDevIpMask()

TYPO3\CMS\Frontend\Tests\Unit\Controller\ErrorControllerTest::internalErrorHandlingDoesNotTriggerDueToDevIpMask ( )
Test:

Definition at line 94 of file ErrorControllerTest.php.

References $GLOBALS.

◆ internalErrorHandlingReturns500ResponseIfNotConfigured()

TYPO3\CMS\Frontend\Tests\Unit\Controller\ErrorControllerTest::internalErrorHandlingReturns500ResponseIfNotConfigured ( )
Test:

Definition at line 80 of file ErrorControllerTest.php.

◆ pageNotFoundHandlingReturns404ResponseIfNotConfigured()

TYPO3\CMS\Frontend\Tests\Unit\Controller\ErrorControllerTest::pageNotFoundHandlingReturns404ResponseIfNotConfigured ( )
Test:

Definition at line 36 of file ErrorControllerTest.php.

References $GLOBALS.

◆ unavailableHandlingDoesNotTriggerDueToDevIpMask()

TYPO3\CMS\Frontend\Tests\Unit\Controller\ErrorControllerTest::unavailableHandlingDoesNotTriggerDueToDevIpMask ( )
Test:

Definition at line 66 of file ErrorControllerTest.php.

References $GLOBALS.

◆ unavailableHandlingReturns503ResponseIfNotConfigured()

TYPO3\CMS\Frontend\Tests\Unit\Controller\ErrorControllerTest::unavailableHandlingReturns503ResponseIfNotConfigured ( )
Test:

Definition at line 51 of file ErrorControllerTest.php.

References $GLOBALS.

Member Data Documentation

◆ $resetSingletonInstances

TYPO3\CMS\Frontend\Tests\Unit\Controller\ErrorControllerTest::$resetSingletonInstances = true
protected

Definition at line 31 of file ErrorControllerTest.php.