stable

Clone or download

Read-only

request #12985: Be able to run PHPUnit unit tests without the xdebug extension

This allow to completly remove xdebug from the test container: * it is a bit faster * it allows us to use shiny new things like PCOV [0] [0] https://github.com/krakjoe/pcov Change-Id: Ic03c70fa0adc048e08ea8d656afe15120ceb6594

Modified Files

Name
M src/common/User/UserManager.class.php +6 −2 Go to diff View file
R src/common/include/CookieManager.class.php Go to diff View file
M src/common/include/LoaderScheduler.php +3 −0 Go to diff View file
M src/common/session/PHP_Session.class.php +3 −0 Go to diff View file
M src/www/account/updateprefs.php +3 −2 Go to diff View file
M src/www/include/pre.php +2 −1 Go to diff View file
A tests/lib/Network/HTTPHeader.php +61 −0 Go to diff View file
A tests/lib/Network/HTTPHeaderStack.php +49 −0 Go to diff View file
A tests/lib/Network/HTTPResponseFunctionsOverload.php +40 −0 Go to diff View file
M tests/phpunit/bootstrap.php +3 −2 Go to diff View file
M tests/phpunit/common/Include/CookieManagerTest.php +21 −21 Go to diff View file
M tests/phpunit/common/Include/LoaderSchedulerTest.php +3 −0 Go to diff View file
M tests/phpunit/common/User/UserManagerTest.php +1 −0 Go to diff View file
M tests/phpunit/phpunit.xml +1 −1 Go to diff View file
A tests/phpunit/tests/Network/HTTPHeaderStackTest.php +55 −0 Go to diff View file
A tests/phpunit/tests/Network/HTTPHeaderTest.php +37 −0 Go to diff View file
A tests/phpunit/tests/Network/HTTPResponseFunctionsOverloadTest.php +45 −0 Go to diff View file
M tests/simpletest/common/User/UserManagerTest.php +26 −27 Go to diff View file