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, testWagonGetIfNewerToStreamIsSame
assertGetIfNewerTest, 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, 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 FtpWagonTest()
protected String getProtocol()
getProtocol
in class WagonTestCase
protected int getTestRepositoryPort()
protected void setupWagonTestingFixtures() throws Exception
setupWagonTestingFixtures
in class WagonTestCase
Exception
protected void createDirectory(Wagon wagon, String resourceToCreate, String dirName) throws Exception
createDirectory
in class WagonTestCase
Exception
protected void tearDownWagonTestingFixtures() throws Exception
tearDownWagonTestingFixtures
in class WagonTestCase
Exception
protected String getTestRepositoryUrl()
getTestRepositoryUrl
in class WagonTestCase
public AuthenticationInfo getAuthInfo()
getAuthInfo
in class WagonTestCase
protected long getExpectedLastModifiedOnGet(Repository repository, Resource resource)
getExpectedLastModifiedOnGet
in class WagonTestCase
public void testNoPassword() throws Exception
Exception
public void testDefaultUserName() throws Exception
Exception
public void testPutDirectoryCreation() throws Exception
Exception
Copyright © 2003–2022 The Apache Software Foundation. All rights reserved.