PHP 클래스 PHPUnit_Extensions_TicketListener_GitHub, qcodo

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

공개 메소드들

메소드 설명
__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.