MediaWiki
REL1_33
MediaWikiTestRunner.php
Go to the documentation of this file.
1
<?php
2
3
class
MediaWikiTestRunner
extends
PHPUnit_TextUI_TestRunner {
4
private
$cliArgs
;
5
6
public
function
setMwCliArgs
(
array
$cliArgs
) {
7
$this->cliArgs =
$cliArgs
;
8
}
9
10
protected
function
createTestResult
() {
11
return
new
MediaWikiTestResult
( $this->cliArgs );
12
}
13
}
MediaWikiTestResult
Definition
MediaWikiTestResult.php:3
MediaWikiTestRunner
Definition
MediaWikiTestRunner.php:3
MediaWikiTestRunner\setMwCliArgs
setMwCliArgs(array $cliArgs)
Definition
MediaWikiTestRunner.php:6
MediaWikiTestRunner\createTestResult
createTestResult()
Definition
MediaWikiTestRunner.php:10
MediaWikiTestRunner\$cliArgs
$cliArgs
Definition
MediaWikiTestRunner.php:4
array
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))
tests
phpunit
MediaWikiTestRunner.php
Generated on Mon Nov 25 2024 15:51:24 for MediaWiki by
1.10.0