Package org.kohsuke.github
Class GitHubTest
- java.lang.Object
-
- org.kohsuke.github.AbstractGitHubWireMockTest
-
- org.kohsuke.github.GitHubTest
-
public class GitHubTest extends AbstractGitHubWireMockTest
Unit test forGitHub.
-
-
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 GitHubTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidgetMeta()voidgetMyMarketplacePurchases()voidgetOrgs()voidgetRepository()voidgzip()voidlistUsers()voidsearchContent()voidsearchUsers()voidtestHeaderFieldName()voidtestListAllRepositories()voidtestListMyAuthorizations()-
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
-
listUsers
public void listUsers() throws IOException- Throws:
IOException
-
getRepository
public void getRepository() throws IOException- Throws:
IOException
-
getOrgs
public void getOrgs() throws IOException- Throws:
IOException
-
testListMyAuthorizations
public void testListMyAuthorizations() throws IOException- Throws:
IOException
-
getMeta
public void getMeta() throws IOException- Throws:
IOException
-
getMyMarketplacePurchases
public void getMyMarketplacePurchases() throws IOException- Throws:
IOException
-
-