Class RequesterRetryTest


public class RequesterRetryTest extends AbstractGitHubWireMockTest
The Class RequesterRetryTest.
Author:
Victor Martinez
  • Constructor Details

    • RequesterRetryTest

      public RequesterRetryTest()
      Instantiates a new requester retry test.
  • Method Details

    • getRepository

      protected GHRepository getRepository() throws IOException
      Gets the repository.
      Returns:
      the repository
      Throws:
      IOException - Signals that an I/O exception has occurred.
    • attachLogCapturer

      public void attachLogCapturer()
      Attach log capturer.
    • getTestCapturedLog

      public String getTestCapturedLog() throws IOException
      Gets the test captured log.
      Returns:
      the test captured log
      Throws:
      IOException - Signals that an I/O exception has occurred.
    • resetTestCapturedLog

      public void resetTestCapturedLog() throws IOException
      Reset test captured log.
      Throws:
      IOException - Signals that an I/O exception has occurred.
    • testGitHubIsApiUrlValid

      public void testGitHubIsApiUrlValid() throws Exception
      Test git hub is api url valid.
      Throws:
      Exception - the exception
    • testResponseCodeFailureExceptions

      public void testResponseCodeFailureExceptions() throws Exception
      Test response code failure exceptions.
      Throws:
      Exception - the exception
    • testInputStreamFailureExceptions

      public void testInputStreamFailureExceptions() throws Exception
      Test input stream failure exceptions.
      Throws:
      Exception - the exception