Class GHContentIntegrationTest

java.lang.Object
org.kohsuke.github.AbstractGitHubWireMockTest
org.kohsuke.github.GHContentIntegrationTest

public class GHContentIntegrationTest extends AbstractGitHubWireMockTest
Integration test for GHContent.
  • Constructor Details

    • GHContentIntegrationTest

      public GHContentIntegrationTest()
  • Method Details

    • cleanup

      public void cleanup() throws Exception
      Cleanup.
      Throws:
      Exception - the exception
    • setUp

      public void setUp() throws Exception
      Sets the up.
      Throws:
      Exception - the exception
    • testGetRepository

      public void testGetRepository() throws Exception
      Test get repository.
      Throws:
      Exception - the exception
    • testGetRepositoryWithTemplateRepositoryInfo

      public void testGetRepositoryWithTemplateRepositoryInfo() throws Exception
      Test get repository created from a template repository
      Throws:
      Exception - the exception
    • testGetFileContent

      public void testGetFileContent() throws Exception
      Test get file content.
      Throws:
      Exception - the exception
    • testGetEmptyFileContent

      public void testGetEmptyFileContent() throws Exception
      Test get empty file content.
      Throws:
      Exception - the exception
    • testGetDirectoryContent

      public void testGetDirectoryContent() throws Exception
      Test get directory content.
      Throws:
      Exception - the exception
    • testGetDirectoryContentTrailingSlash

      public void testGetDirectoryContentTrailingSlash() throws Exception
      Test get directory content trailing slash.
      Throws:
      Exception - the exception
    • testCRUDContent

      public void testCRUDContent() throws Exception
      Test CRUD content.
      Throws:
      Exception - the exception
    • testMIMESmall

      public void testMIMESmall() throws IOException
      Test MIME small.
      Throws:
      IOException - Signals that an I/O exception has occurred.
    • testMIMELong

      public void testMIMELong() throws IOException
      Test MIME long.
      Throws:
      IOException - Signals that an I/O exception has occurred.
    • testMIMELonger

      public void testMIMELonger() throws IOException
      Test MIME longer.
      Throws:
      IOException - Signals that an I/O exception has occurred.
    • testGetFileContentWithNonAsciiPath

      public void testGetFileContentWithNonAsciiPath() throws Exception
      Test get file content with non ascii path.
      Throws:
      Exception - the exception
    • testGetFileContentWithSymlink

      public void testGetFileContentWithSymlink() throws Exception
      Test get file content with symlink.
      Throws:
      Exception - the exception