Package org.kohsuke.github
Class GHAppTest
- java.lang.Object
-
- org.kohsuke.github.AbstractGitHubWireMockTest
-
- org.kohsuke.github.GHAppTest
-
public class GHAppTest extends AbstractGitHubWireMockTest
Tests for the GitHub App API methods- Author:
- Paulo Miguel Almeida
-
-
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 GHAppTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateToken()voiddeleteInstallation()voidgetGitHubApp()protected GitHubBuildergetGitHubBuilder()voidgetInstallationById()voidgetInstallationByOrganization()voidgetInstallationByRepository()voidgetInstallationByUser()voidlistInstallations()-
Methods inherited from class org.kohsuke.github.AbstractGitHubWireMockTest
assertThat, assertThat, assertThat, cleanupRepository, cleanupTempRepositories, fail, fail, getNonRecordingGitHub, getTempRepository, getTempRepository, getUser, getUser, getWireMockOptions, kohsuke, requireProxy, snapshotNotAllowed, verifyAuthenticated, wireMockSetup
-
-
-
-
Method Detail
-
getGitHubBuilder
protected GitHubBuilder getGitHubBuilder()
- Overrides:
getGitHubBuilderin classAbstractGitHubWireMockTest
-
getGitHubApp
public void getGitHubApp() throws IOException- Throws:
IOException
-
listInstallations
public void listInstallations() throws IOException- Throws:
IOException
-
getInstallationById
public void getInstallationById() throws IOException- Throws:
IOException
-
getInstallationByOrganization
public void getInstallationByOrganization() throws IOException- Throws:
IOException
-
getInstallationByRepository
public void getInstallationByRepository() throws IOException- Throws:
IOException
-
getInstallationByUser
public void getInstallationByUser() throws IOException- Throws:
IOException
-
deleteInstallation
public void deleteInstallation() throws IOException- Throws:
IOException
-
createToken
public void createToken() throws IOException- Throws:
IOException
-
-