java.lang.Object
org.kohsuke.github.AbstractGitHubWireMockTest
org.kohsuke.github.AbstractGHAppInstallationTest
org.kohsuke.github.GHCheckRunBuilderTest
The Class GHCheckRunBuilderTest.
-
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
Creates the check run.void
Creates the check run err missing conclusion.void
Creates the check run many annotations.void
Creates the check run no annotations.void
Creates the pending check run.protected GitHub
Gets the installation github.void
Update check run.void
Update check run with name.void
Update the check run with name exception.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
-
GHCheckRunBuilderTest
public GHCheckRunBuilderTest()Create default GHCheckRunBuilderTest instance
-
-
Method Details
-
getInstallationGithub
Gets the installation github.- Returns:
- the installation github
- Throws:
IOException
- Signals that an I/O exception has occurred.
-
createCheckRun
Creates the check run.- Throws:
Exception
- the exception
-
createCheckRunManyAnnotations
Creates the check run many annotations.- Throws:
Exception
- the exception
-
createCheckRunNoAnnotations
Creates the check run no annotations.- Throws:
Exception
- the exception
-
createPendingCheckRun
Creates the pending check run.- Throws:
Exception
- the exception
-
createCheckRunErrMissingConclusion
Creates the check run err missing conclusion.- Throws:
Exception
- the exception
-
updateCheckRun
Update check run.- Throws:
Exception
- the exception
-
updateCheckRunWithName
Update check run with name.- Throws:
Exception
- the exception
-
updateCheckRunWithNameException
Update the check run with name exception.- Throws:
Exception
- the exception
-