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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cleanUp()
Clean up.protected GHRepository
Gets the repository.void
Test unset milestone.void
Test unset milestone from pull request.void
Test 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
-
testUpdateMilestone
Test update milestone.- 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.
-
getRepository
Gets the repository.- Returns:
- the repository
- Throws:
IOException
- Signals that an I/O exception has occurred.
-