|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase org.codehaus.plexus.PlexusTestCase org.apache.maven.wagon.WagonTestCase org.apache.maven.wagon.StreamingWagonTestCase org.apache.maven.wagon.providers.ssh.AbstractEmbeddedScpWagonWithKeyTest
public abstract class AbstractEmbeddedScpWagonWithKeyTest
Field Summary |
---|
Fields inherited from class org.apache.maven.wagon.WagonTestCase |
---|
artifactDestFile, artifactSourceFile, checksumObserver, destFile, localRepository, localRepositoryPath, logger, mockTransferListener, mockTransferListenerControl, POM, resource, sourceFile, testRepository |
Constructor Summary | |
---|---|
AbstractEmbeddedScpWagonWithKeyTest()
|
Method Summary | |
---|---|
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()
|
Methods inherited from class org.apache.maven.wagon.StreamingWagonTestCase |
---|
streamRoundTripTesting, testFailedGetIfNewerToStream, testFailedGetToStream, testStreamingWagon, testWagonGetIfNewerToStreamIsNewer, testWagonGetIfNewerToStreamIsOlder, testWagonGetIfNewerToStreamIsSame |
Methods inherited from class org.codehaus.plexus.PlexusTestCase |
---|
customizeComponentConfiguration, customizeContainerConfiguration, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getConfigurationName, getContainer, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, setupContainer, tearDown |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString |
Methods inherited from class junit.framework.Assert |
---|
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, fail, fail, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AbstractEmbeddedScpWagonWithKeyTest()
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |