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 TypeMethodDescriptionvoid
Test from record.void
Test git hub rate limit should replace rate limit.void
Test git hub request get api URL.void
Test mapping reader writer.void
Test parse instant.void
Test parse URL.void
Test raw url path invalid.void
Time 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
-
testParseURL
Test parse URL.- Throws:
Exception
- the exception
-
testParseInstant
public void testParseInstant()Test parse instant. -
testRawUrlPathInvalid
public void testRawUrlPathInvalid()Test raw url path invalid. -
timeRoundTrip
public void timeRoundTrip()Time round trip. -
testFromRecord
public void testFromRecord()Test from record. -
testGitHubRateLimitShouldReplaceRateLimit
Test git hub rate limit should replace rate limit.- Throws:
Exception
- the exception
-
testMappingReaderWriter
Test mapping reader writer.- Throws:
Exception
- the exception
-
testGitHubRequest_getApiURL
public void testGitHubRequest_getApiURL()Test git hub request get api URL.
-