java.lang.Object
org.kohsuke.github.AbstractGitHubWireMockTest
org.kohsuke.github.WireMockStatusReporterTest
Tests in this class are meant to show the behavior of
AbstractGitHubWireMockTest
with proxying on or off.
The wiremock data for these tests should only be modified by hand - thus most are skipped when snapshotting.
- 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
ConstructorDescriptionCreate default WireMockStatusReporterTest instance -
Method Summary
Modifier and TypeMethodDescriptionvoid
Basic behaviors when not proxying.void
Basic behaviors when proxying.void
User when not proxying stubbed.void
User when proxying auth correctly configured.void
When snapshot ensure proxy.void
When snapshot ensure record to expected location.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
-
WireMockStatusReporterTest
public WireMockStatusReporterTest()Create default WireMockStatusReporterTest instance
-
-
Method Details
-
user_whenProxying_AuthCorrectlyConfigured
User when proxying auth correctly configured.- Throws:
Exception
- the exception
-
user_whenNotProxying_Stubbed
User when not proxying stubbed.- Throws:
Exception
- the exception
-
BasicBehaviors_whenNotProxying
Basic behaviors when not proxying.- Throws:
Exception
- the exception
-
BasicBehaviors_whenProxying
Basic behaviors when proxying.- Throws:
Exception
- the exception
-
whenSnapshot_EnsureProxy
When snapshot ensure proxy.- Throws:
Exception
- the exception
-
whenSnapshot_EnsureRecordToExpectedLocation
When snapshot ensure record to expected location.- Throws:
Exception
- the exception
-