java.lang.Object
org.kohsuke.github.AbstractGitHubWireMockTest
org.kohsuke.github.AbstractGHAppInstallationTest
org.kohsuke.github.GHAppInstallationTest
The Class GHAppInstallationTest.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.kohsuke.github.AbstractGitHubWireMockTest
AbstractGitHubWireMockTest.TemplatingHelper
-
Field Summary
Fields inherited from class org.kohsuke.github.AbstractGHAppInstallationTest
jwtProvider1, jwtProvider2, jwtProvider3
Fields inherited from class org.kohsuke.github.AbstractGitHubWireMockTest
baseFilesClassPath, baseRecordPath, gitHub, mockGitHub, tempGitHubRepositories, templating, useDefaultGitHub
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Test list repositories no permissions.void
Test list repositories no permissions.void
Test list repositories two repos.void
Test list installations, and one of the installations has been suspended.Methods inherited from class org.kohsuke.github.AbstractGHAppInstallationTest
getAppInstallationWithToken
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
-
Constructor Details
-
GHAppInstallationTest
public GHAppInstallationTest()Create default GHAppInstallationTest instance
-
-
Method Details
-
testListRepositoriesTwoRepos
Test list repositories two repos.- Throws:
IOException
- Signals that an I/O exception has occurred.
-
testListRepositoriesNoPermissions
Test list repositories no permissions.- Throws:
IOException
- Signals that an I/O exception has occurred.
-
testGetMarketplaceAccount
Test list repositories no permissions.- Throws:
IOException
- Signals that an I/O exception has occurred.
-
testListSuspendedInstallation
Test list installations, and one of the installations has been suspended.- Throws:
IOException
- Signals that an I/O exception has occurred.
-