org.apache.maven.wagon.providers.ssh.external
Class ScpWagonWithSshPrivateKeySearchTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.codehaus.plexus.PlexusTestCase
              extended by org.apache.maven.wagon.WagonTestCase
                  extended by org.apache.maven.wagon.providers.ssh.external.ScpWagonWithSshPrivateKeySearchTest
All Implemented Interfaces:
Test

public class ScpWagonWithSshPrivateKeySearchTest
extends WagonTestCase

Version:
$Id: ScpWagonWithSshPrivateKeySearchTest.java 1173637 2011-09-21 13:41:43Z olamy $
Author:
Michal Maczka

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
ScpWagonWithSshPrivateKeySearchTest()
           
 
Method Summary
protected  AuthenticationInfo getAuthInfo()
           
protected  int getExpectedContentLengthOnGet(int expectedSize)
           
protected  long getExpectedLastModifiedOnGet(Repository repository, Resource resource)
           
protected  String getProtocol()
           
protected  int getTestRepositoryPort()
           
 String getTestRepositoryUrl()
           
protected  boolean supportsGetIfNewer()
           
 
Methods inherited from class org.apache.maven.wagon.WagonTestCase
assertGetIfNewerTest, assertNotExists, assertResourcesAreInRemoteSide, connectWagon, createDirectory, createFileRepository, createTransferEvent, customizeContext, disconnectWagon, fileRoundTripTesting, getFile, getPermissions, getWagon, message, putFile, putFile, replaceMockForGet, replayMockForPut, setUp, setupGetIfNewerTest, setupRepositories, setupWagonTestingFixtures, tearDownWagonTestingFixtures, testFailedGet, testFailedGetIfNewer, testWagon, testWagonGetFileList, testWagonGetFileListWhenDirectoryDoesNotExist, testWagonGetIfNewerIsNewer, testWagonGetIfNewerIsOlder, testWagonGetIfNewerIsSame, testWagonPutDirectory, testWagonPutDirectoryDeepDestination, testWagonPutDirectoryForDot, testWagonPutDirectoryWhenDirectoryAlreadyExists, testWagonResourceExists, testWagonResourceNotExists, verifyMock
 
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

ScpWagonWithSshPrivateKeySearchTest

public ScpWagonWithSshPrivateKeySearchTest()
Method Detail

supportsGetIfNewer

protected boolean supportsGetIfNewer()
Overrides:
supportsGetIfNewer in class WagonTestCase

getExpectedContentLengthOnGet

protected int getExpectedContentLengthOnGet(int expectedSize)
Overrides:
getExpectedContentLengthOnGet in class WagonTestCase

getExpectedLastModifiedOnGet

protected long getExpectedLastModifiedOnGet(Repository repository,
                                            Resource resource)
Overrides:
getExpectedLastModifiedOnGet in class WagonTestCase

getProtocol

protected String getProtocol()
Specified by:
getProtocol in class WagonTestCase

getTestRepositoryPort

protected int getTestRepositoryPort()
Specified by:
getTestRepositoryPort in class WagonTestCase

getTestRepositoryUrl

public String getTestRepositoryUrl()
Specified by:
getTestRepositoryUrl in class WagonTestCase

getAuthInfo

protected AuthenticationInfo getAuthInfo()
Overrides:
getAuthInfo in class WagonTestCase


Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.