MediaWiki REL1_32
MediaWikiTestResult.php
Go to the documentation of this file.
1<?php
2
3class MediaWikiTestResult extends PHPUnit_Framework_TestResult {
4 private $cliArgs;
5
6 public function __construct( array $cliArgs ) {
7 $this->cliArgs = $cliArgs;
8 }
9
14 public function getMediaWikiCliArgs() {
15 return $this->cliArgs;
16 }
17}
__construct(array $cliArgs)
getMediaWikiCliArgs()
Get the command-line arguments from phpunit.php.
The wiki should then use memcached to cache various data To use multiple just add more items to the array To increase the weight of a make its entry a array("192.168.0.1:11211", 2))