public class GitHubPagesWagonTest
extends org.apache.maven.wagon.StreamingWagonTestCase
GitWagon
. Note this test is ignored as it is specific to the
author. However, GitHubPagesWagon and GitWagon share most of their code
except the GitUri building logic.Constructor and Description |
---|
GitHubPagesWagonTest() |
Modifier and Type | Method and Description |
---|---|
protected String |
getProtocol()
Protocol hint.
|
protected int |
getTestRepositoryPort()
Unused in the tests.
|
protected String |
getTestRepositoryUrl()
An existing GitHub Pages repository.
|
protected void |
setupWagonTestingFixtures()
Create a repository that has at least one commit.
|
protected boolean |
supportsGetIfNewer()
Unable to change how the timestamps are set, so getIfNewer is not
testable.
|
protected void |
tearDownWagonTestingFixtures()
Remove the "remote" directory.
|
streamRoundTripTesting, testFailedGetIfNewerToStream, testFailedGetToStream, testStreamingWagon, testWagonGetIfNewerToStreamIsNewer, testWagonGetIfNewerToStreamIsOlder, testWagonGetIfNewerToStreamIsSame
assertGetIfNewerTest, assertNotExists, assertOnTransferProgress, assertResourcesAreInRemoteSide, connectWagon, createDirectory, createFileRepository, createTransferEvent, customizeContext, disconnectWagon, fileRoundTripTesting, getAuthInfo, getExpectedContentLengthOnGet, getExpectedLastModifiedOnGet, getFile, getPermissions, getWagon, message, putFile, putFile, replaceMockForGet, replayMockForPut, setUp, setupGetIfNewerTest, setupRepositories, testFailedGet, testFailedGetIfNewer, testWagon, testWagonGetFileList, testWagonGetFileListWhenDirectoryDoesNotExist, testWagonGetIfNewerIsNewer, testWagonGetIfNewerIsOlder, testWagonGetIfNewerIsSame, testWagonPutDirectory, testWagonPutDirectoryDeepDestination, testWagonPutDirectoryForDot, testWagonPutDirectoryWhenDirectoryAlreadyExists, testWagonResourceExists, testWagonResourceNotExists, verifyMock
customizeComponentConfiguration, customizeContainerConfiguration, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getConfigurationName, getContainer, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, setupContainer, tearDown
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
protected String getProtocol()
getProtocol
in class org.apache.maven.wagon.WagonTestCase
protected int getTestRepositoryPort()
getTestRepositoryPort
in class org.apache.maven.wagon.WagonTestCase
protected String getTestRepositoryUrl() throws IOException
getTestRepositoryUrl
in class org.apache.maven.wagon.WagonTestCase
IOException
protected void setupWagonTestingFixtures() throws Exception
setupWagonTestingFixtures
in class org.apache.maven.wagon.WagonTestCase
Exception
protected boolean supportsGetIfNewer()
supportsGetIfNewer
in class org.apache.maven.wagon.WagonTestCase
Copyright © 2012–2014 Trajano. All rights reserved.