stable

Clone or download

Read-only

Add tests on FrontRouter

This is a preliminary step to better manage interactions between controllers, front router and urlverification for theme and group_id management. This commit also remove the initial 'Dispatchable' interface because it's now useless. Part of story #10408 have a burning parrot git repository list Change-Id: I223f18098ddee4fac48675079fe76203b7bb0bbd

Modified Files

Name
M plugins/userlog/include/userlogPlugin.class.php +2 −4 Go to diff View file
D src/common/Request/Dispatchable.php +0 −33 Go to diff View file
M src/common/Request/FrontRouter.php +29 −103 Go to diff View file
A src/common/Request/RouteCollector.php +111 −0 Go to diff View file
M src/common/autoload.php +3 −3 Go to diff View file
M src/common/include/Codendi_HTMLPurifier.class.php +1 −1 Go to diff View file
M src/common/layout/ErrorRendering.php +10 −16 Go to diff View file
M src/common/project/Home.php +3 −5 Go to diff View file
M src/www/index.php +10 −1 Go to diff View file
M tests/phpunit/bootstrap.php +1 −0 Go to diff View file
A tests/phpunit/common/Request/FrontRouterTest.php +182 −0 Go to diff View file