java.lang.Object
org.kohsuke.github.AbstractGitHubWireMockTest
org.kohsuke.github.RequesterRetryTest
The Class RequesterRetryTest.
- Author:
- Victor Martinez
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
RequesterRetryTest.Thrower<E extends Throwable>
The Interface Thrower.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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Attach log capturer.protected GHRepository
Gets the repository.Gets the test captured log.void
Reset test captured log.void
Test git hub is api url valid.void
Test input stream failure exceptions.void
Test response code failure exceptions.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
-
RequesterRetryTest
public RequesterRetryTest()Instantiates a new requester retry test.
-
-
Method Details
-
getRepository
Gets the repository.- Returns:
- the repository
- Throws:
IOException
- Signals that an I/O exception has occurred.
-
attachLogCapturer
public void attachLogCapturer()Attach log capturer. -
getTestCapturedLog
Gets the test captured log.- Returns:
- the test captured log
- Throws:
IOException
- Signals that an I/O exception has occurred.
-
resetTestCapturedLog
Reset test captured log.- Throws:
IOException
- Signals that an I/O exception has occurred.
-
testGitHubIsApiUrlValid
Test git hub is api url valid.- Throws:
Exception
- the exception
-
testResponseCodeFailureExceptions
Test response code failure exceptions.- Throws:
Exception
- the exception
-
testInputStreamFailureExceptions
Test input stream failure exceptions.- Throws:
Exception
- the exception
-