Class GHAppTest


public class GHAppTest extends AbstractGHAppInstallationTest
Tests for the GitHub App API methods.
Author:
Paulo Miguel Almeida
  • Constructor Details

    • GHAppTest

      public GHAppTest()
  • Method Details

    • getGitHubBuilder

      protected GitHubBuilder getGitHubBuilder()
      Gets the git hub builder.
      Overrides:
      getGitHubBuilder in class AbstractGitHubWireMockTest
      Returns:
      the git hub builder
    • getGitHubApp

      public void getGitHubApp() throws IOException
      Gets the git hub app.
      Throws:
      IOException - Signals that an I/O exception has occurred.
    • listInstallations

      public void listInstallations() throws IOException
      List installations.
      Throws:
      IOException - Signals that an I/O exception has occurred.
    • listInstallationsSince

      public void listInstallationsSince() throws IOException, ParseException
      List installations that have been updated since a given date.
      Throws:
      IOException - Signals that an I/O exception has occurred.
      ParseException - Issue parsing date string.
    • getInstallationById

      public void getInstallationById() throws IOException
      Gets the installation by id.
      Throws:
      IOException - Signals that an I/O exception has occurred.
    • getInstallationByOrganization

      public void getInstallationByOrganization() throws IOException
      Gets the installation by organization.
      Throws:
      IOException - Signals that an I/O exception has occurred.
    • getInstallationByRepository

      public void getInstallationByRepository() throws IOException
      Gets the installation by repository.
      Throws:
      IOException - Signals that an I/O exception has occurred.
    • getInstallationByUser

      public void getInstallationByUser() throws IOException
      Gets the installation by user.
      Throws:
      IOException - Signals that an I/O exception has occurred.
    • deleteInstallation

      public void deleteInstallation() throws IOException
      Delete installation.
      Throws:
      IOException - Signals that an I/O exception has occurred.
    • createToken

      public void createToken() throws IOException
      Creates the token.
      Throws:
      IOException - Signals that an I/O exception has occurred.
    • createTokenWithRepositories

      public void createTokenWithRepositories() throws IOException
      Creates the token with repositories.
      Throws:
      IOException - Signals that an I/O exception has occurred.