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
-
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
Test parse instant.- Throws:
Exception
- the exception
-
testRawUrlPathInvalid
Test raw url path invalid.- Throws:
Exception
- the exception
-
timeRoundTrip
Time round trip.- Throws:
Exception
- the exception
-
testFromRecord
Test from record.- Throws:
Exception
- the exception
-
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
Test git hub request get api URL.- Throws:
Exception
- the exception
-