PHP Класс PHPUnit_Extensions_TicketListener_GitHub, qcodo

Автор: Raphael Stolt ([email protected])
Наследование: extends PHPUnit_Extensions_TicketListener
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( string $username, string $apiToken, string $repository, $printTicketStateChanges = FALSE )
getTicketInfo ( integer $ticketId = NULL ) : string

Защищенные методы

Метод Описание
updateTicket ( string $ticketId, string $statusToBe, string $message, string $resolution )

Приватные методы

Метод Описание
callGitHub ( string $apiEndpoint, boolean $isShowMethodCall = FALSE ) : array

Описание методов

__construct() публичный Метод

public __construct ( string $username, string $apiToken, string $repository, $printTicketStateChanges = FALSE )
$username string The username associated with the GitHub account.
$apiToken string The API token associated with the GitHub account.
$repository string The repository of the system under test (SUT) on GitHub.

getTicketInfo() публичный Метод

public getTicketInfo ( integer $ticketId = NULL ) : string
$ticketId integer
Результат string

updateTicket() защищенный Метод

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.