PHP 클래스 PHPUnit_Extensions_TicketListener_Trac, qcodo

저자: Sean Coates ([email protected])
저자: Sebastian Bergmann ([email protected])
상속: extends PHPUnit_Extensions_TicketListener
파일 보기 프로젝트 열기: qcodo/qcodo

보호된 프로퍼티들

프로퍼티 타입 설명
$hostpath
$password
$scheme
$username

공개 메소드들

메소드 설명
__construct ( string $username, string $password, string $hostpath, string $scheme = 'http', boolean $printTicketStateChanges = FALSE ) Constructor
getTicketInfo ( integer $ticketId = NULL ) : array('status' Get the status of a ticket message

보호된 메소드들

메소드 설명
getClient ( ) : XML_RPC2_Client Get a Trac XML_RPC2 client
updateTicket ( string $ticketId, string $statusToBe, string $message, string $resolution ) Update a ticket with a new status

메소드 상세

__construct() 공개 메소드

Constructor
public __construct ( string $username, string $password, string $hostpath, string $scheme = 'http', boolean $printTicketStateChanges = FALSE )
$username string Trac-XMLRPC username
$password string Trac-XMLRPC password
$hostpath string Trac-XMLRPC Host+Path (e.g. example.com/trac/login/xmlrpc)
$scheme string Trac scheme (http or https)
$printTicketStateChanges boolean To display changes or not

getClient() 보호된 메소드

Get a Trac XML_RPC2 client
protected getClient ( ) : XML_RPC2_Client
리턴 XML_RPC2_Client

getTicketInfo() 공개 메소드

Get the status of a ticket message
public getTicketInfo ( integer $ticketId = NULL ) : array('status'
$ticketId integer The ticket ID
리턴 array('status'

updateTicket() 보호된 메소드

Update a ticket with a new status
protected updateTicket ( string $ticketId, string $statusToBe, string $message, string $resolution )
$ticketId string The ticket number of the ticket under test (TUT).
$statusToBe string The status of the TUT after running the associated test.
$message string The additional message for the TUT.
$resolution string The resolution for the TUT.

프로퍼티 상세

$hostpath 보호되어 있는 프로퍼티

protected $hostpath

$password 보호되어 있는 프로퍼티

protected $password

$scheme 보호되어 있는 프로퍼티

protected $scheme

$username 보호되어 있는 프로퍼티

protected $username