Package org.kohsuke.github
Class CommitTest
- java.lang.Object
-
- org.kohsuke.github.AbstractGitHubWireMockTest
-
- org.kohsuke.github.CommitTest
-
public class CommitTest 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 CommitTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcommitDateNotNull()voidcommitSignatureVerification()voidlastStatus()voidlistBranchesWhereHead()voidlistBranchesWhereHead2Heads()voidlistBranchesWhereHeadOfCommitWithHeadNowhere()voidlistFiles()voidlistPullRequests()voidlistPullRequestsOfCommitWith2PullRequests()voidlistPullRequestsOfNotIncludedCommit()voidtestQueryCommits()-
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
-
lastStatus
public void lastStatus() throws IOException- Throws:
IOException
-
listPullRequestsOfNotIncludedCommit
public void listPullRequestsOfNotIncludedCommit() throws Exception- Throws:
Exception
-
listPullRequestsOfCommitWith2PullRequests
public void listPullRequestsOfCommitWith2PullRequests() throws Exception- Throws:
Exception
-
listBranchesWhereHead2Heads
public void listBranchesWhereHead2Heads() throws Exception- Throws:
Exception
-
listBranchesWhereHeadOfCommitWithHeadNowhere
public void listBranchesWhereHeadOfCommitWithHeadNowhere() throws Exception- Throws:
Exception
-
commitSignatureVerification
public void commitSignatureVerification() throws Exception- Throws:
Exception
-
-