PHP 클래스 PHPUnit_Extensions_TicketListener_GoogleCode, qcodo

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

공개 메소드들

메소드 설명
__construct ( string $email, string $password, string $project, $printTicketStateChanges = FALSE, string $statusClosed = 'Fixed', string $statusReopened = 'Started' )
getTicketInfo ( integer $ticketId = NULL ) : array

보호된 메소드들

메소드 설명
updateTicket ( string $ticketId, string $statusToBe, string $message, string $resolution )

비공개 메소드들

메소드 설명
callGoogleCode ( string $url, array $header = NULL, string $post = NULL ) : array
getAuthToken ( ) : string

메소드 상세

__construct() 공개 메소드

public __construct ( string $email, string $password, string $project, $printTicketStateChanges = FALSE, string $statusClosed = 'Fixed', string $statusReopened = 'Started' )
$email string The email associated with the Google account.
$password string The password associated with the Google account.
$project string The project name of the system under test (SUT) on Google Code.
$statusClosed string The status name of the closed state.
$statusReopened string The status name of the reopened state.

getTicketInfo() 공개 메소드

public getTicketInfo ( integer $ticketId = NULL ) : array
$ticketId integer
리턴 array

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.