Modified the tests so that a database is not unnecessarily required.
authorPlatonides <platonides@users.mediawiki.org>
Mon, 1 Nov 2010 18:23:33 +0000 (18:23 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Mon, 1 Nov 2010 18:23:33 +0000 (18:23 +0000)
commit654b8ab053b59626a0327ffda69e8b3eb7c42bb5
tree3947742344654137fabcd72d14d9321c8e600874
parentce9bd7697ed0df1c140c2c07b520b7a26dfe9126
Modified the tests so that a database is not unnecessarily required.

Database group for tests needing a db. The other tests should be runnable without a server running!
Destructive group for tests which modify the db.

Added two more actions to the makefile: safe and databaseless
maintenance/tests/phpunit/Makefile
maintenance/tests/phpunit/bootstrap.php
maintenance/tests/phpunit/includes/LanguageConverterTest.php
maintenance/tests/phpunit/includes/MessageTest.php
maintenance/tests/phpunit/includes/TitlePermissionTest.php
maintenance/tests/phpunit/includes/api/ApiTest.php
maintenance/tests/phpunit/includes/api/ApiWatchTest.php
maintenance/tests/phpunit/includes/db/DatabaseTest.php
maintenance/tests/phpunit/includes/search/SearchDbTest.php
maintenance/tests/phpunit/includes/search/SearchEngineTest.php
maintenance/tests/phpunit/includes/search/SearchUpdateTest.php