Property | Type | Description | |
---|---|---|---|
$hostpath | |||
$password | |||
$scheme | |||
$username |
Method | Description | |
---|---|---|
__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 |
Method | Description | |
---|---|---|
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 |
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 |
protected getClient ( ) : XML_RPC2_Client | ||
return | XML_RPC2_Client |
public getTicketInfo ( integer $ticketId = NULL ) : array('status' | ||
$ticketId | integer | The ticket ID |
return | array('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. |