Arbit - project tracking

Arbit - project tracking

API documentation :: Docs For Class arbitModulePhpunitAdminCliTool

Phpunit::arbitModulePhpunitAdminCliTool

Class arbitModulePhpunitAdminCliTool

CLI tool class, which handles various adimistrative tasks.

CLI tool class, which handles various adimistrative tasks.

arbitFrameworkCliTool
   |
   --arbitFrameworkActionCliTool
      |
      --arbitModulePhpunitAdminCliTool
Author(s):
Version:   $Revision: 1434 $
License:   GPL

Member Variables

protected array $actions = array(
'runtests' => array(
'action' => 'runtests',
'description' => 'Run PHPUnit tests of the given projects.',
),)

Available actions.

Available actions. Mapping of the CLI action identifiers to their action names

protected string $description = "Arbit phpunit module management script.\n\nThe available actions are:"
Short description of the purpose of the current CLI tool

Short description of the purpose of the current CLI tool

protected string $name = 'Arbit phpunit module management'
Name of CLI tool

Name of CLI tool

Inherited Member Variables

From arbitFrameworkCliTool
protected arbitFrameworkCliTool::$commonOptionGroups
protected arbitFrameworkCliTool::$in
protected arbitFrameworkCliTool::$out

Method Summary

protected arbitController createController( $request , $options )
Get controller

Inherited Methods

From arbitFrameworkActionCliTool
protected bool arbitFrameworkActionCliTool::processDefaultOptions()
Process default options Handle the default options. stop afterwards, and false if the execution may continue.
protected void arbitFrameworkActionCliTool::registerDefaultOptions()
Register options Register a set of options, which are special for this CLI tool. left empty, if no additional options are required.
From arbitFrameworkCliTool
public void arbitFrameworkCliTool::__construct()
Create cli tool and configure basic in and out handling
protected abstract arbitController arbitFrameworkCliTool::createController()
Get controller
protected void arbitFrameworkCliTool::executeRequests()
Execute request for one project
protected array arbitFrameworkCliTool::getNonCommonOptions()
Get non-common options Get options declared by specific tool implementations, which are not the common options declared by the base tool.
protected array arbitFrameworkCliTool::getOptions()
Get option values Return an array with all option values, indexed by the long names of the options.
protected string arbitFrameworkCliTool::getVersion()
Return the current version
protected void arbitFrameworkCliTool::login()
Login user Either login a default user, with full access to everything, or use the specified user to execute the request.
protected bool arbitFrameworkCliTool::processDefaultOptions()
Process default options Handle the default options. stop afterwards, and false if the execution may continue.
protected bool arbitFrameworkCliTool::processOptions()
Process module options Handle the module options. stop afterwards, and false if the execution may continue.
protected void arbitFrameworkCliTool::registerDefaultOptions()
Register default options Register a set of default options, each arbit CLI tool should always implement.
protected void arbitFrameworkCliTool::registerOptions()
Register options Register a set of options, which are special for this CLI tool. left empty, if no additional options are required.
public void arbitFrameworkCliTool::run()
Run cli command

Methods

createController

arbitController createController( $request , $options )

Get controller

Get controller Return controller to execute for the current command

Parameters:
Name Type Description
$request arbitRequest
$options array
Redefinition of:
Method Description
arbitFrameworkCliTool::createController() Get controller
Documentation generated on Mon, 05 Apr 2010 14:01:41 +0200 by phpDocumentor 1.4.3