java.lang.Object
org.kohsuke.github.AbstractGitHubWireMockTest
org.kohsuke.github.GHReleaseTest
The Class GHReleaseTest.
-
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 create double release fails.voidTests creation of the release with `generate_release_notes` parameter on.voidTest create release with unknown category fails.voidTest create simple release.voidTest create simple release without discussion.voidTest delete release.voidTest making a release the latestvoidTest update release.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
-
GHReleaseTest
public GHReleaseTest()Create default GHReleaseTest instance
-
-
Method Details
-
testCreateDoubleReleaseFails
Test create double release fails.- Throws:
Exception- the exception
-
testCreateReleaseWithNotes
Tests creation of the release with `generate_release_notes` parameter on.- Throws:
Exception- if any failure has happened.
-
testCreateReleaseWithUnknownCategoryFails
Test create release with unknown category fails.- Throws:
Exception- the exception
-
testCreateSimpleRelease
Test create simple release.- Throws:
Exception- the exception
-
testCreateSimpleReleaseWithoutDiscussion
Test create simple release without discussion.- Throws:
Exception- the exception
-
testDeleteRelease
Test delete release.- Throws:
Exception- the exception
-
testMakeLatestRelease
Test making a release the latest- Throws:
Exception- the exception
-
testUpdateRelease
Test update release.- Throws:
Exception- the exception
-