java.lang.Object
org.kohsuke.github.AbstractGitHubWireMockTest
org.kohsuke.github.AbstractGHAppInstallationTest
- Direct Known Subclasses:
AppInstallationAuthorizationProviderTest
,GHAppInstallationTest
,GHAppTest
,GHAuthenticatedAppInstallationTest
,GHCheckRunBuilderTest
,JWTTokenProviderTest
The Class AbstractGHAppInstallationTest.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.kohsuke.github.AbstractGitHubWireMockTest
AbstractGitHubWireMockTest.TemplatingHelper
-
Field Summary
Modifier and TypeFieldDescriptionprotected final AuthorizationProvider
The jwt provider 1.protected final AuthorizationProvider
The jwt provider 2.protected final AuthorizationProvider
The jwt provider 3.Fields inherited from class org.kohsuke.github.AbstractGitHubWireMockTest
baseFilesClassPath, baseRecordPath, gitHub, mockGitHub, tempGitHubRepositories, templating, useDefaultGitHub
-
Constructor Summary
ModifierConstructorDescriptionprotected
Instantiates a new abstract GH app installation test. -
Method Summary
Modifier and TypeMethodDescriptionprotected GHAppInstallation
getAppInstallationWithToken
(String jwtToken) Gets the app installation with token.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
-
Field Details
-
jwtProvider1
The jwt provider 1. -
jwtProvider2
The jwt provider 2. -
jwtProvider3
The jwt provider 3.
-
-
Constructor Details
-
AbstractGHAppInstallationTest
protected AbstractGHAppInstallationTest()Instantiates a new abstract GH app installation test.
-
-
Method Details
-
getAppInstallationWithToken
Gets the app installation with token.- Parameters:
jwtToken
- the jwt token- Returns:
- the app installation with token
- Throws:
IOException
- Signals that an I/O exception has occurred.
-