MediaWiki  1.23.6
MediaWikiPHPUnitCommand Class Reference
Inheritance diagram for MediaWikiPHPUnitCommand:
Collaboration diagram for MediaWikiPHPUnitCommand:

Public Member Functions

 __call ( $func, $args)
 
 __construct ()
 
 run (array $argv, $exit=true)
 
 showHelp ()
 

Static Public Member Functions

static main ( $exit=true)
 

Static Public Attributes

static $additionalOptions
 

Protected Member Functions

 handleArguments (array $argv)
 

Detailed Description

Definition at line 3 of file MediaWikiPHPUnitCommand.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWikiPHPUnitCommand::__construct ( )

Definition at line 18 of file MediaWikiPHPUnitCommand.php.

References as.

Member Function Documentation

◆ __call()

MediaWikiPHPUnitCommand::__call (   $func,
  $args 
)

Definition at line 67 of file MediaWikiPHPUnitCommand.php.

◆ handleArguments()

MediaWikiPHPUnitCommand::handleArguments ( array  $argv)
protected

Definition at line 24 of file MediaWikiPHPUnitCommand.php.

References array(), as, and options().

◆ main()

static MediaWikiPHPUnitCommand::main (   $exit = true)
static

Definition at line 40 of file MediaWikiPHPUnitCommand.php.

References $command, and wfIsWindows().

◆ run()

MediaWikiPHPUnitCommand::run ( array  $argv,
  $exit = true 
)

Definition at line 77 of file MediaWikiPHPUnitCommand.php.

◆ showHelp()

MediaWikiPHPUnitCommand::showHelp ( )

Definition at line 97 of file MediaWikiPHPUnitCommand.php.

Member Data Documentation

◆ $additionalOptions

MediaWikiPHPUnitCommand::$additionalOptions
static
Initial value:
'regex=' => false,
'file=' => false,
'use-filebackend=' => false,
'use-bagostuff=' => false,
'use-jobqueue=' => false,
'keep-uploads' => false,
'use-normal-tables' => false,
'reuse-db' => false,
'wiki=' => false,
'debug-tests' => false,
)
Examples
/src/tests/phpunit/MediaWikiTestCase.php.

Definition at line 5 of file MediaWikiPHPUnitCommand.php.

Referenced by MediaWikiTestCase\getCliArg(), and MediaWikiTestCase\setCliArg().


The documentation for this class was generated from the following file:
array
the array() calling protocol came about after MediaWiki 1.4rc1.
List of Api Query prop modules.