Class GHIssueTest


public class GHIssueTest extends AbstractGitHubWireMockTest
The Class GHIssueTest.
Author:
Kohsuke Kawaguchi, Yoann Rodiere
  • Constructor Details

    • GHIssueTest

      public GHIssueTest()
      Create default GHIssueTest instance
  • Method Details

    • cleanUp

      public void cleanUp() throws Exception
      Clean up.
      Throws:
      Exception - the exception
    • createIssue

      public void createIssue() throws Exception
      Creates the issue.
      Throws:
      Exception - the exception
    • issueComment

      public void issueComment() throws Exception
      Issue comment.
      Throws:
      Exception - the exception
    • closeIssue

      public void closeIssue() throws Exception
      Close issue.
      Throws:
      Exception - the exception
    • closeIssueNotPlanned

      public void closeIssueNotPlanned() throws Exception
      Close issue as not planned.
      Throws:
      Exception - the exception
    • setLabels

      public void setLabels() throws Exception
      Sets the labels.
      Throws:
      Exception - the exception
    • addLabels

      public void addLabels() throws Exception
      Adds the labels.
      Throws:
      Exception - the exception
    • addLabelsConcurrencyIssue

      public void addLabelsConcurrencyIssue() throws Exception
      Adds the labels concurrency issue.
      Throws:
      Exception - the exception
    • removeLabels

      public void removeLabels() throws Exception
      Removes the labels.
      Throws:
      Exception - the exception
    • setAssignee

      public void setAssignee() throws Exception
      Sets the assignee.
      Throws:
      Exception - the exception
    • getUserTest

      public void getUserTest() throws IOException
      Gets the user test.
      Throws:
      IOException - Signals that an I/O exception has occurred.
    • getRepository

      protected GHRepository getRepository() throws IOException
      Gets the repository.
      Returns:
      the repository
      Throws:
      IOException - Signals that an I/O exception has occurred.