public class FtpWagonTest extends StreamingWagonTestCase
artifactDestFile, artifactSourceFile, checksumObserver, destFile, localRepository, localRepositoryPath, logger, mockTransferListener, POM, resource, sourceFile, TEST_CKSUM, TEST_CONTENT, testRepository, testSkipped| Constructor and Description |
|---|
FtpWagonTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createDirectory(Wagon wagon,
String resourceToCreate,
String dirName) |
AuthenticationInfo |
getAuthInfo() |
protected long |
getExpectedLastModifiedOnGet(Repository repository,
Resource resource) |
protected String |
getProtocol() |
protected int |
getTestRepositoryPort() |
protected String |
getTestRepositoryUrl() |
protected void |
setupWagonTestingFixtures() |
protected void |
tearDownWagonTestingFixtures() |
void |
testDefaultUserName() |
void |
testNoPassword() |
void |
testPutDirectoryCreation()
This is a unit test to show WAGON-265
|
streamRoundTripTesting, testFailedGetIfNewerToStream, testFailedGetToStream, testStreamingWagon, testWagonGetIfNewerToStreamIsNewer, testWagonGetIfNewerToStreamIsOlder, testWagonGetIfNewerToStreamIsSameassertGetIfNewerTest, assertNotExists, assertOnTransferProgress, assertResourcesAreInRemoteSide, cksum, connectWagon, createFileRepository, createTransferEvent, customizeContext, disconnectWagon, fileRoundTripTesting, getExpectedContentLengthOnGet, getFile, getPermissions, getWagon, isSystemCmd, message, putFile, putFile, replaceMockForGet, replayMockForPut, runTest, setUp, setupGetIfNewerTest, setupRepositories, supportsGetIfNewer, testFailedGet, testFailedGetIfNewer, testWagon, testWagonGetFileList, testWagonGetFileListWhenDirectoryDoesNotExist, testWagonGetIfNewerIsNewer, testWagonGetIfNewerIsOlder, testWagonGetIfNewerIsSame, testWagonPutDirectory, testWagonPutDirectoryDeepDestination, testWagonPutDirectoryForDot, testWagonPutDirectoryWhenDirectoryAlreadyExists, testWagonResourceExists, testWagonResourceNotExists, verifyMockcustomizeComponentConfiguration, customizeContainerConfiguration, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getConfigurationName, getContainer, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, setupContainer, tearDownassertEquals, 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, toStringpublic FtpWagonTest()
protected String getProtocol()
getProtocol in class WagonTestCaseprotected int getTestRepositoryPort()
protected void setupWagonTestingFixtures() throws Exception
setupWagonTestingFixtures in class WagonTestCaseExceptionprotected void createDirectory(Wagon wagon, String resourceToCreate, String dirName) throws Exception
createDirectory in class WagonTestCaseExceptionprotected void tearDownWagonTestingFixtures() throws Exception
tearDownWagonTestingFixtures in class WagonTestCaseExceptionprotected String getTestRepositoryUrl()
getTestRepositoryUrl in class WagonTestCasepublic AuthenticationInfo getAuthInfo()
getAuthInfo in class WagonTestCaseprotected long getExpectedLastModifiedOnGet(Repository repository, Resource resource)
getExpectedLastModifiedOnGet in class WagonTestCasepublic void testNoPassword() throws Exception
Exceptionpublic void testDefaultUserName() throws Exception
Exceptionpublic void testPutDirectoryCreation() throws Exception
ExceptionCopyright © 2003–2022 The Apache Software Foundation. All rights reserved.