public abstract class AbstractEmbeddedScpWagonTest extends StreamingWagonTestCase
artifactDestFile, artifactSourceFile, checksumObserver, destFile, localRepository, localRepositoryPath, logger, mockTransferListener, POM, resource, sourceFile, TEST_CKSUM, TEST_CONTENT, testRepository, testSkipped
Constructor and Description |
---|
AbstractEmbeddedScpWagonTest() |
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() |
String |
getTestRepositoryUrl()
URL of the repository.
|
protected void |
setUp() |
protected abstract boolean |
supportsGetIfNewer() |
protected void |
tearDownWagonTestingFixtures() |
streamRoundTripTesting, testFailedGetIfNewerToStream, testFailedGetToStream, testStreamingWagon, testWagonGetIfNewerToStreamIsNewer, testWagonGetIfNewerToStreamIsOlder, testWagonGetIfNewerToStreamIsSame
assertGetIfNewerTest, assertNotExists, assertOnTransferProgress, assertResourcesAreInRemoteSide, cksum, connectWagon, createDirectory, createFileRepository, createTransferEvent, customizeContext, disconnectWagon, fileRoundTripTesting, getExpectedContentLengthOnGet, getFile, getPermissions, getWagon, isSystemCmd, message, putFile, putFile, replaceMockForGet, replayMockForPut, runTest, 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, setName, toString
public AbstractEmbeddedScpWagonTest()
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()
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
protected abstract boolean supportsGetIfNewer()
supportsGetIfNewer
in class WagonTestCase
Copyright © 2003–2022 The Apache Software Foundation. All rights reserved.