java.lang.Object
org.kohsuke.github.AbstractGitHubWireMockTest
org.kohsuke.github.GHMilestoneTest
The Class GHMilestoneTest.
- Author:
- Martin van Zijl
-
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 TypeMethodDescriptionvoidcleanUp()Clean up.protected GHRepositoryGets the repository.voidTest unset milestone.voidTest unset milestone from pull request.voidTest update milestone.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
-
GHMilestoneTest
public GHMilestoneTest()Create default GHMilestoneTest instance
-
-
Method Details
-
cleanUp
Clean up.- Throws:
Exception- the exception
-
testUnsetMilestone
Test unset milestone.- Throws:
IOException- Signals that an I/O exception has occurred.
-
testUnsetMilestoneFromPullRequest
Test unset milestone from pull request.- Throws:
IOException- Signals that an I/O exception has occurred.
-
testUpdateMilestone
Test update milestone.- Throws:
Exception- the exception
-
getRepository
Gets the repository.- Returns:
- the repository
- Throws:
IOException- Signals that an I/O exception has occurred.
-