Package org.kohsuke.github
Class GHPullRequestTest
- java.lang.Object
-
- org.kohsuke.github.AbstractGitHubWireMockTest
-
- org.kohsuke.github.GHPullRequestTest
-
public class GHPullRequestTest extends AbstractGitHubWireMockTest
- Author:
- Kohsuke Kawaguchi
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.kohsuke.github.AbstractGitHubWireMockTest
AbstractGitHubWireMockTest.TemplatingHelper
-
-
Field Summary
-
Fields inherited from class org.kohsuke.github.AbstractGitHubWireMockTest
baseFilesClassPath, baseRecordPath, gitHub, mockGitHub, tempGitHubRepositories, templating, useDefaultGitHub
-
-
Constructor Summary
Constructors Constructor Description GHPullRequestTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddLabels()voidaddLabelsConcurrencyIssue()voidcleanUp()voidclosePullRequest()voidcreateDraftPullRequest()voidcreatePullRequest()voidcreatePullRequestComment()protected GHRepositorygetRepository()voidgetUserTest()voidmergeCommitSHA()voidpullRequestReviewComments()voidpullRequestReviews()voidqueryPullRequestsQualifiedHead()voidqueryPullRequestsUnqualifiedHead()voidremoveLabels()voidsetAssignee()voidsetBaseBranch()voidsetBaseBranchNonExisting()voidsetLabels()voidsquashMerge()voidtestPullRequestReviewRequests()voidtestPullRequestTeamReviewRequests()voidupdateContentSquashMerge()voidupdateOutdatedBranches()voidupdateOutdatedBranchesUnexpectedHead()-
Methods inherited from class org.kohsuke.github.AbstractGitHubWireMockTest
assertThat, assertThat, assertThat, cleanupRepository, cleanupTempRepositories, fail, fail, getGitHubBuilder, getNonRecordingGitHub, getTempRepository, getTempRepository, getUser, getUser, getWireMockOptions, kohsuke, requireProxy, snapshotNotAllowed, verifyAuthenticated, wireMockSetup
-
-
-
-
Method Detail
-
pullRequestReviewComments
public void pullRequestReviewComments() throws Exception- Throws:
Exception
-
testPullRequestReviewRequests
public void testPullRequestReviewRequests() throws Exception- Throws:
Exception
-
testPullRequestTeamReviewRequests
public void testPullRequestTeamReviewRequests() throws Exception- Throws:
Exception
-
updateOutdatedBranchesUnexpectedHead
public void updateOutdatedBranchesUnexpectedHead() throws Exception- Throws:
Exception
-
queryPullRequestsQualifiedHead
public void queryPullRequestsQualifiedHead() throws Exception- Throws:
Exception
-
queryPullRequestsUnqualifiedHead
public void queryPullRequestsUnqualifiedHead() throws Exception- Throws:
Exception
-
addLabelsConcurrencyIssue
public void addLabelsConcurrencyIssue() throws Exception- Throws:
Exception
-
getUserTest
public void getUserTest() throws IOException- Throws:
IOException
-
getRepository
protected GHRepository getRepository() throws IOException
- Throws:
IOException
-
-