C# Class Alteridem.GitHub.Extension.Test.Mocks.GitHubApiMock

Inheritance: Alteridem.GitHub.Model.GitHubApiBase
Datei anzeigen Open project: rprouse/GitHubExtension

Public Methods

Method Description
AddComment ( Octokit.Issue issue, string comment ) : void
CloseIssue ( Octokit.Issue issue, string comment ) : void
GetAssignees ( Octokit.Repository repository ) : Task>
GetIssues ( ) : void
GetLabels ( ) : void
GetMilestones ( ) : void
GitHubApiMock ( ICache settingsCache ) : System
Login ( string username, string password, string accessToken ) : System.Threading.Tasks.Task
SaveIssue ( Octokit.Repository repository, Octokit.NewIssue newIssue ) : void
UpdateIssue ( Octokit.Repository repository, int id, Octokit.IssueUpdate update ) : void

Protected Methods

Method Description
GetComments ( Octokit.Issue issue ) : void

Method Details

AddComment() public method

public AddComment ( Octokit.Issue issue, string comment ) : void
issue Octokit.Issue
comment string
return void

CloseIssue() public method

public CloseIssue ( Octokit.Issue issue, string comment ) : void
issue Octokit.Issue
comment string
return void

GetAssignees() public method

public GetAssignees ( Octokit.Repository repository ) : Task>
repository Octokit.Repository
return Task>

GetComments() protected method

protected GetComments ( Octokit.Issue issue ) : void
issue Octokit.Issue
return void

GetIssues() public method

public GetIssues ( ) : void
return void

GetLabels() public method

public GetLabels ( ) : void
return void

GetMilestones() public method

public GetMilestones ( ) : void
return void

GitHubApiMock() public method

public GitHubApiMock ( ICache settingsCache ) : System
settingsCache ICache
return System

Login() public method

public Login ( string username, string password, string accessToken ) : System.Threading.Tasks.Task
username string
password string
accessToken string
return System.Threading.Tasks.Task

SaveIssue() public method

public SaveIssue ( Octokit.Repository repository, Octokit.NewIssue newIssue ) : void
repository Octokit.Repository
newIssue Octokit.NewIssue
return void

UpdateIssue() public method

public UpdateIssue ( Octokit.Repository repository, int id, Octokit.IssueUpdate update ) : void
repository Octokit.Repository
id int
update Octokit.IssueUpdate
return void