Class GitHubConnectorResponseTest

java.lang.Object
org.kohsuke.github.AbstractGitHubWireMockTest
org.kohsuke.github.connector.GitHubConnectorResponseTest

public class GitHubConnectorResponseTest extends AbstractGitHubWireMockTest
Test GitHubConnectorResponse
  • Field Details

    • EMPTY_REQUEST

      public static final GitHubConnectorRequest EMPTY_REQUEST
      Empty request for response testing.
  • Constructor Details

    • GitHubConnectorResponseTest

      public GitHubConnectorResponseTest()
      Instantiates a new GitHubConnectorResponseTest.
  • Method Details

    • testBodyStream

      public void testBodyStream() throws Exception
      Test basic body stream.
      Throws:
      Exception - for failures
    • tesBodyStream_rereadable

      public void tesBodyStream_rereadable() throws Exception
      Test rereadable body stream.
      Throws:
      Exception - for failures
    • tesBodyStream_forced

      public void tesBodyStream_forced() throws Exception
      Test forced rereadable body stream.
      Throws:
      Exception - for failures
    • testBodyStream_null

      public void testBodyStream_null() throws Exception
      Test null body stream.
      Throws:
      Exception - for failures
    • testBodyStream_null_buffered

      public void testBodyStream_null_buffered() throws Exception
      Test null rereadable body stream.
      Throws:
      Exception - for failures