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, jwtProvider3Fields inherited from class org.kohsuke.github.AbstractGitHubWireMockTest
baseFilesClassPath, baseRecordPath, gitHub, mockGitHub, tempGitHubRepositories, templating, useDefaultGitHub -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidTest list repositories no permissions.voidTest list repositories no permissions.voidTest list repositories two repos.voidTest list installations, and one of the installations has been suspended.Methods inherited from class org.kohsuke.github.AbstractGHAppInstallationTest
getAppInstallationWithTokenMethods 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
-
testGetMarketplaceAccount
Test list repositories no permissions.- 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.
-
testListRepositoriesTwoRepos
Test list repositories two repos.- 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.
-