Package org.kohsuke.github.extras
Class GitHubCachingTest
- java.lang.Object
-
- org.kohsuke.github.AbstractGitHubWireMockTest
-
- org.kohsuke.github.extras.GitHubCachingTest
-
public class GitHubCachingTest extends AbstractGitHubWireMockTest
Test showing the behavior of OkHttpConnector cache with GitHub 404 responses.- Author:
- Liam Newman
-
-
Nested Class Summary
-
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
Constructors Constructor Description GitHubCachingTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.github.tomakehurst.wiremock.core.WireMockConfigurationgetWireMockOptions()voidsetupRepo()voidtestCached404()-
Methods inherited from class org.kohsuke.github.AbstractGitHubWireMockTest
assertThat, assertThat, assertThat, cleanupRepository, cleanupTempRepositories, fail, fail, getGitHubBuilder, getNonRecordingGitHub, getTempRepository, getTempRepository, getUser, getUser, kohsuke, requireProxy, snapshotNotAllowed, verifyAuthenticated, wireMockSetup
-
-
-
-
Method Detail
-
getWireMockOptions
protected com.github.tomakehurst.wiremock.core.WireMockConfiguration getWireMockOptions()
- Overrides:
getWireMockOptionsin classAbstractGitHubWireMockTest
-
-