Make MediaWikiParserTest work now in PHPUnit. There are still a few bugs, such as...
[lhc/web/wiklou.git] / tests / phpunit / MediaWikiPHPUnitCommand.php
1 <?php
2
3 class MediaWikiPHPUnitCommand extends PHPUnit_TextUI_Command {
4
5 public function __construct() {
6 $this->longOptions['verbose'] = 'verboseHandler';
7 }
8
9 public static function main( $exit = true ) {
10 $command = new self;
11 $command->run($_SERVER['argv'], $exit);
12 }
13
14 protected function verboseHandler($value) {
15 global $additionalMWCLIArgs;
16 $additionalMWCLIArgs['verbose'] = true;
17 }
18
19 }