Package org.kohsuke.github
Class GHRepositoryTest
- java.lang.Object
-
- org.kohsuke.github.AbstractGitHubWireMockTest
-
- org.kohsuke.github.GHRepositoryTest
-
public class GHRepositoryTest extends AbstractGitHubWireMockTest
- Author:
- Liam Newman
-
-
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 GHRepositoryTest()
-
Method Summary
-
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
-
getRepository
protected GHRepository getRepository() throws IOException
- Throws:
IOException
-
testZipball
public void testZipball() throws IOException- Throws:
IOException
-
testTarball
public void testTarball() throws IOException- Throws:
IOException
-
testGetters
public void testGetters() throws IOException- Throws:
IOException
-
createSignedCommitVerifyError
public void createSignedCommitVerifyError() throws IOException- Throws:
IOException
-
createSignedCommitUnknownSignatureType
public void createSignedCommitUnknownSignatureType() throws IOException- Throws:
IOException
-
listStargazers
public void listStargazers() throws IOException- Throws:
IOException
-
getBranchNonExistentBut200Status
public void getBranchNonExistentBut200Status() throws Exception- Throws:
Exception
-
testGetRepositoryWithVisibility
public void testGetRepositoryWithVisibility() throws IOException- Throws:
IOException
-
listContributors
public void listContributors() throws IOException- Throws:
IOException
-
LatestRepositoryExist
public void LatestRepositoryExist()
-
LatestRepositoryNotExist
public void LatestRepositoryNotExist()
-
listReleases
public void listReleases() throws IOException- Throws:
IOException
-
getReleaseExists
public void getReleaseExists() throws IOException- Throws:
IOException
-
getReleaseDoesNotExist
public void getReleaseDoesNotExist() throws IOException- Throws:
IOException
-
getReleaseByTagNameExists
public void getReleaseByTagNameExists() throws IOException- Throws:
IOException
-
getReleaseByTagNameDoesNotExist
public void getReleaseByTagNameDoesNotExist() throws IOException- Throws:
IOException
-
listLanguages
public void listLanguages() throws IOException- Throws:
IOException
-
listCommitCommentsNoComments
public void listCommitCommentsNoComments() throws IOException- Throws:
IOException
-
searchAllPublicAndForkedRepos
public void searchAllPublicAndForkedRepos() throws IOException- Throws:
IOException
-
searchForPublicForkedOnlyRepos
public void searchForPublicForkedOnlyRepos() throws IOException- Throws:
IOException
-
ghRepositorySearchBuilderIgnoresUnknownVisibility
public void ghRepositorySearchBuilderIgnoresUnknownVisibility()
-
ghRepositorySearchBuilderForkDefaultResetForksSearchTerms
public void ghRepositorySearchBuilderForkDefaultResetForksSearchTerms()
-
listCommitCommentsSomeComments
public void listCommitCommentsSomeComments() throws IOException- Throws:
IOException
-
listEmptyContributors
public void listEmptyContributors() throws IOException- Throws:
IOException
-
setMergeOptions
public void setMergeOptions() throws IOException- Throws:
IOException
-
getDeleteBranchOnMerge
public void getDeleteBranchOnMerge() throws IOException- Throws:
IOException
-
setDeleteBranchOnMerge
public void setDeleteBranchOnMerge() throws IOException- Throws:
IOException
-
listCollaboratorsFiltered
public void listCollaboratorsFiltered() throws Exception- Throws:
Exception
-
-