java.lang.Object
org.kohsuke.github.AbstractGitHubWireMockTest
org.kohsuke.github.GHDiscussionTest
The Class GHDiscussionTest.
- Author:
- Charles Moulliard
-
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 discussions.void
setUp()
Sets the up.void
Test created discussion.void
Test get and edit discussion.void
Test list discussion.void
Test to delete discussion.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
-
GHDiscussionTest
public GHDiscussionTest()Create default GHDiscussionTest instance
-
-
Method Details
-
setUp
Sets the up.- Throws:
Exception
- the exception
-
cleanupDiscussions
Cleanup discussions.- Throws:
Exception
- the exception
-
testCreatedDiscussion
Test created discussion.- Throws:
IOException
- Signals that an I/O exception has occurred.
-
testGetAndEditDiscussion
Test get and edit discussion.- Throws:
IOException
- Signals that an I/O exception has occurred.
-
testListDiscussion
Test list discussion.- Throws:
IOException
- Signals that an I/O exception has occurred.
-
testToDeleteDiscussion
Test to delete discussion.- Throws:
IOException
- Signals that an I/O exception has occurred.
-