PHP Class App\Test\TestCase\Controller\PagesControllerTest

Inheritance: extends Cake\TestSuite\IntegrationTestCase
Afficher le fichier Open project: cakephp/app

Méthodes publiques

Méthode Description
testDirectoryTraversalProtection ( ) : void Test directory traversal protection
testDisplay ( ) : void testDisplay method
testMissingTemplate ( ) : void Test that missing template renders 404 page in production
testMissingTemplateInDebug ( ) : void Test that missing template in debug mode renders missing_template error page
testMultipleGet ( ) : void testMultipleGet method

Method Details

testDirectoryTraversalProtection() public méthode

Test directory traversal protection
public testDirectoryTraversalProtection ( ) : void
Résultat void

testDisplay() public méthode

testDisplay method
public testDisplay ( ) : void
Résultat void

testMissingTemplate() public méthode

Test that missing template renders 404 page in production
public testMissingTemplate ( ) : void
Résultat void

testMissingTemplateInDebug() public méthode

Test that missing template in debug mode renders missing_template error page
public testMissingTemplateInDebug ( ) : void
Résultat void

testMultipleGet() public méthode

testMultipleGet method
public testMultipleGet ( ) : void
Résultat void