public abstract class AbstractEmbeddedScpWagonWithKeyTest extends StreamingWagonTestCase
artifactDestFile, artifactSourceFile, checksumObserver, destFile, localRepository, localRepositoryPath, logger, mockTransferListener, POM, resource, sourceFile, testRepository
Constructor and Description |
---|
AbstractEmbeddedScpWagonWithKeyTest() |
Modifier and Type | Method and Description |
---|---|
protected AuthenticationInfo |
getAuthInfo() |
protected long |
getExpectedLastModifiedOnGet(Repository repository,
Resource resource) |
protected abstract String |
getProtocol()
Protocol id of the Wagon to use, eg.
|
protected int |
getTestRepositoryPort()
The number of the port which should get used to start the test server
|
String |
getTestRepositoryUrl()
URL of the repository.
|
protected void |
setUp() |
protected boolean |
supportsGetIfNewer() |
protected void |
tearDownWagonTestingFixtures() |
void |
testConnect() |
void |
testWithSpaces() |
streamRoundTripTesting, testFailedGetIfNewerToStream, testFailedGetToStream, testStreamingWagon, testWagonGetIfNewerToStreamIsNewer, testWagonGetIfNewerToStreamIsOlder, testWagonGetIfNewerToStreamIsSame
assertGetIfNewerTest, assertNotExists, assertOnTransferProgress, assertResourcesAreInRemoteSide, connectWagon, createDirectory, createFileRepository, createTransferEvent, customizeContext, disconnectWagon, fileRoundTripTesting, getExpectedContentLengthOnGet, getFile, getPermissions, getWagon, message, putFile, putFile, replaceMockForGet, replayMockForPut, setupGetIfNewerTest, setupRepositories, setupWagonTestingFixtures, 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
public AbstractEmbeddedScpWagonWithKeyTest()
protected void setUp() throws Exception
setUp
in class WagonTestCase
Exception
protected void tearDownWagonTestingFixtures() throws Exception
tearDownWagonTestingFixtures
in class WagonTestCase
Exception
protected abstract String getProtocol()
WagonTestCase
scp
, ftp
getProtocol
in class WagonTestCase
protected int getTestRepositoryPort()
WagonTestCase
getTestRepositoryPort
in class WagonTestCase
public String getTestRepositoryUrl()
WagonTestCase
getTestRepositoryUrl
in class WagonTestCase
protected AuthenticationInfo getAuthInfo()
getAuthInfo
in class WagonTestCase
protected long getExpectedLastModifiedOnGet(Repository repository, Resource resource)
getExpectedLastModifiedOnGet
in class WagonTestCase
public void testConnect() throws Exception
Exception
protected boolean supportsGetIfNewer()
supportsGetIfNewer
in class WagonTestCase
public void testWithSpaces() throws Exception
Exception
Copyright © 2003–2015 The Apache Software Foundation. All rights reserved.