org.apache.maven.repository.legacy
Class DefaultWagonManagerTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.codehaus.plexus.PlexusTestCase
              extended by org.apache.maven.repository.legacy.DefaultWagonManagerTest
All Implemented Interfaces:
junit.framework.Test

public class DefaultWagonManagerTest
extends org.codehaus.plexus.PlexusTestCase

Author:
Michal Maczka

Constructor Summary
DefaultWagonManagerTest()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testDefaultWagonManager()
           
 void testGetMissingJar()
           
 void testGetMissingJarForced()
           
 void testGetRemoteJar()
           
 void testPerLookupInstantiation()
           
 void testUnnecessaryRepositoryLookup()
           
 void testWagonTransferListenerRemovedAfterGetArtifactAndPutArtifact()
          Check that transfer listeners are properly removed after getArtifact and putArtifact
 void xtestChecksumVerification()
          Checks the verification of checksums.
 
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
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultWagonManagerTest

public DefaultWagonManagerTest()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class org.codehaus.plexus.PlexusTestCase
Throws:
Exception

tearDown

protected void tearDown()
                 throws Exception
Overrides:
tearDown in class org.codehaus.plexus.PlexusTestCase
Throws:
Exception

testUnnecessaryRepositoryLookup

public void testUnnecessaryRepositoryLookup()
                                     throws Exception
Throws:
Exception

testGetMissingJar

public void testGetMissingJar()
                       throws TransferFailedException,
                              UnsupportedProtocolException,
                              IOException
Throws:
TransferFailedException
UnsupportedProtocolException
IOException

testGetMissingJarForced

public void testGetMissingJarForced()
                             throws TransferFailedException,
                                    UnsupportedProtocolException,
                                    IOException
Throws:
TransferFailedException
UnsupportedProtocolException
IOException

testGetRemoteJar

public void testGetRemoteJar()
                      throws TransferFailedException,
                             ResourceDoesNotExistException,
                             UnsupportedProtocolException,
                             IOException,
                             AuthorizationException
Throws:
TransferFailedException
ResourceDoesNotExistException
UnsupportedProtocolException
IOException
AuthorizationException

testDefaultWagonManager

public void testDefaultWagonManager()
                             throws Exception
Throws:
Exception

testWagonTransferListenerRemovedAfterGetArtifactAndPutArtifact

public void testWagonTransferListenerRemovedAfterGetArtifactAndPutArtifact()
                                                                    throws Exception
Check that transfer listeners are properly removed after getArtifact and putArtifact

Throws:
Exception

xtestChecksumVerification

public void xtestChecksumVerification()
                               throws Exception
Checks the verification of checksums.

Throws:
Exception

testPerLookupInstantiation

public void testPerLookupInstantiation()
                                throws Exception
Throws:
Exception


Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.