Package org.kohsuke.github
Class GHContentIntegrationTest
- java.lang.Object
-
- org.kohsuke.github.AbstractGitHubWireMockTest
-
- org.kohsuke.github.GHContentIntegrationTest
-
public class GHContentIntegrationTest extends AbstractGitHubWireMockTest
Integration test forGHContent.
-
-
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
Constructors Constructor Description GHContentIntegrationTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcleanup()voidsetUp()voidtestCRUDContent()voidtestGetDirectoryContent()voidtestGetDirectoryContentTrailingSlash()voidtestGetEmptyFileContent()voidtestGetFileContent()voidtestGetFileContentWithNonAsciiPath()voidtestGetFileContentWithSymlink()voidtestGetRepository()voidtestMIMELong()voidtestMIMELonger()voidtestMIMESmall()-
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
-
-
-
-
Method Detail
-
testGetDirectoryContentTrailingSlash
public void testGetDirectoryContentTrailingSlash() throws Exception- Throws:
Exception
-
testMIMESmall
public void testMIMESmall() throws IOException- Throws:
IOException
-
testMIMELong
public void testMIMELong() throws IOException- Throws:
IOException
-
testMIMELonger
public void testMIMELonger() throws IOException- Throws:
IOException
-
testGetFileContentWithNonAsciiPath
public void testGetFileContentWithNonAsciiPath() throws Exception- Throws:
Exception
-
-