Class GitHubCachingTest

java.lang.Object
org.kohsuke.github.AbstractGitHubWireMockTest
org.kohsuke.github.extras.GitHubCachingTest

public class GitHubCachingTest extends AbstractGitHubWireMockTest
Test showing the behavior of OkHttpGitHubConnector cache with GitHub 404 responses.
Author:
Liam Newman
  • Constructor Details

    • GitHubCachingTest

      public GitHubCachingTest()
      Instantiates a new git hub caching test.
  • Method Details

    • getWireMockOptions

      protected com.github.tomakehurst.wiremock.core.WireMockConfiguration getWireMockOptions()
      Gets the wire mock options.
      Overrides:
      getWireMockOptions in class AbstractGitHubWireMockTest
      Returns:
      the wire mock options
    • setupRepo

      public void setupRepo() throws Exception
      Setup repo.
      Throws:
      Exception - the exception
    • testCached404

      public void testCached404() throws Exception
      Test cached 404.
      Throws:
      Exception - the exception