‪TYPO3CMS  11.5
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 30 of file ErrorControllerTest.php.

Member Function Documentation

◆ defaultErrorHandlerWithHtmlResponseIsChosenWhenNoSiteConfiguredForAccessDeniedAction()

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

Definition at line 193 of file ErrorControllerTest.php.

◆ defaultErrorHandlerWithHtmlResponseIsChosenWhenNoSiteConfiguredForInternalErrorAction()

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

Definition at line 165 of file ErrorControllerTest.php.

◆ defaultErrorHandlerWithHtmlResponseIsChosenWhenNoSiteConfiguredForPageNotFoundAction()

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

Definition at line 109 of file ErrorControllerTest.php.

◆ defaultErrorHandlerWithHtmlResponseIsChosenWhenNoSiteConfiguredForUnavailableAction()

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

Definition at line 137 of file ErrorControllerTest.php.

◆ defaultErrorHandlerWithJsonResponseIsChosenWhenNoSiteConfiguredForAccessDeniedAction()

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

Definition at line 208 of file ErrorControllerTest.php.

◆ defaultErrorHandlerWithJsonResponseIsChosenWhenNoSiteConfiguredForInternalErrorAction()

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

Definition at line 180 of file ErrorControllerTest.php.

◆ defaultErrorHandlerWithJsonResponseIsChosenWhenNoSiteConfiguredForPageNotFoundAction()

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

Definition at line 124 of file ErrorControllerTest.php.

◆ defaultErrorHandlerWithJsonResponseIsChosenWhenNoSiteConfiguredForUnavailableAction()

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

Definition at line 152 of file ErrorControllerTest.php.

◆ internalErrorHandlingDoesNotTriggerDueToDevIpMask()

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

Definition at line 95 of file ErrorControllerTest.php.

References $GLOBALS.

◆ internalErrorHandlingReturns500ResponseIfNotConfigured()

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

Definition at line 81 of file ErrorControllerTest.php.

◆ pageNotFoundHandlingReturns404ResponseIfNotConfigured()

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

Definition at line 37 of file ErrorControllerTest.php.

References $GLOBALS.

◆ unavailableHandlingDoesNotTriggerDueToDevIpMask()

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

Definition at line 67 of file ErrorControllerTest.php.

References $GLOBALS.

◆ unavailableHandlingReturns503ResponseIfNotConfigured()

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

Definition at line 52 of file ErrorControllerTest.php.

References $GLOBALS.

Member Data Documentation

◆ $resetSingletonInstances

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

Definition at line 32 of file ErrorControllerTest.php.