java.lang.Object
org.kohsuke.github.AbstractGitHubWireMockTest
org.kohsuke.github.GitHubStaticTest
Unit test for
GitHub static helpers.- 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 -
Method Summary
Modifier and TypeMethodDescriptionvoidTest from record.voidTest git hub rate limit should replace rate limit.voidTest git hub request get api URL.voidTest mapping reader writer.voidTest parse instant.voidTest parse URL.voidTest raw url path invalid.voidTime round trip.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
-
GitHubStaticTest
public GitHubStaticTest()Create default GitHubStaticTest instance
-
-
Method Details
-
testFromRecord
public void testFromRecord()Test from record. -
testGitHubRateLimitShouldReplaceRateLimit
Test git hub rate limit should replace rate limit.- Throws:
Exception- the exception
-
testGitHubRequest_getApiURL
public void testGitHubRequest_getApiURL()Test git hub request get api URL. -
testMappingReaderWriter
Test mapping reader writer.- Throws:
Exception- the exception
-
testParseInstant
public void testParseInstant()Test parse instant. -
testParseURL
Test parse URL.- Throws:
Exception- the exception
-
testRawUrlPathInvalid
public void testRawUrlPathInvalid()Test raw url path invalid. -
timeRoundTrip
public void timeRoundTrip()Time round trip.
-