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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Test create double release fails.void
Tests creation of the release with `generate_release_notes` parameter on.void
Test create release with unknown category fails.void
Test create simple release.void
Test create simple release without discussion.void
Test delete release.void
Test making a release the latestvoid
Test 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
-
testCreateSimpleRelease
Test create simple release.- Throws:
Exception
- the exception
-
testCreateSimpleReleaseWithoutDiscussion
Test create simple release without discussion.- Throws:
Exception
- the exception
-
testCreateDoubleReleaseFails
Test create double release fails.- Throws:
Exception
- the exception
-
testCreateReleaseWithUnknownCategoryFails
Test create release with unknown category fails.- Throws:
Exception
- the exception
-
testUpdateRelease
Test update release.- Throws:
Exception
- the exception
-
testDeleteRelease
Test delete release.- Throws:
Exception
- the exception
-
testMakeLatestRelease
Test making a release the latest- Throws:
Exception
- the exception
-
testCreateReleaseWithNotes
Tests creation of the release with `generate_release_notes` parameter on.- Throws:
Exception
- if any failure has happened.
-