java.lang.Object
org.kohsuke.github.AbstractGitHubWireMockTest
org.kohsuke.github.GHIssueTest
The Class GHIssueTest.
- Author:
- Kohsuke Kawaguchi, Yoann Rodiere
-
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
Adds the labels.void
Adds the labels concurrency issue.void
cleanUp()
Clean up.void
Close issue.void
Close issue as not planned.void
Creates the issue.protected GHRepository
Gets the repository.void
Gets the user test.void
Issue comment.void
Removes the labels.void
Sets the assignee.void
Sets the labels.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
-
GHIssueTest
public GHIssueTest()Create default GHIssueTest instance
-
-
Method Details
-
cleanUp
Clean up.- Throws:
Exception
- the exception
-
createIssue
Creates the issue.- Throws:
Exception
- the exception
-
issueComment
Issue comment.- Throws:
Exception
- the exception
-
closeIssue
Close issue.- Throws:
Exception
- the exception
-
closeIssueNotPlanned
Close issue as not planned.- Throws:
Exception
- the exception
-
setLabels
Sets the labels.- Throws:
Exception
- the exception
-
addLabels
Adds the labels.- Throws:
Exception
- the exception
-
addLabelsConcurrencyIssue
Adds the labels concurrency issue.- Throws:
Exception
- the exception
-
removeLabels
Removes the labels.- Throws:
Exception
- the exception
-
setAssignee
Sets the assignee.- Throws:
Exception
- the exception
-
getUserTest
Gets the user test.- 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.
-