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 PlexusTestCase

Version:
$Id: DefaultWagonManagerTest.java 888488 2009-12-08 17:12:02Z bentmann $
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 PlexusTestCase
Throws:
Exception

tearDown

protected void tearDown()
                 throws Exception
Overrides:
tearDown in class PlexusTestCase
Throws:
Exception

testUnnecessaryRepositoryLookup

public void testUnnecessaryRepositoryLookup()
                                     throws Exception
Throws:
Exception

testGetMissingJar

public void testGetMissingJar()
                       throws org.apache.maven.wagon.TransferFailedException,
                              org.apache.maven.wagon.UnsupportedProtocolException,
                              IOException
Throws:
org.apache.maven.wagon.TransferFailedException
org.apache.maven.wagon.UnsupportedProtocolException
IOException

testGetMissingJarForced

public void testGetMissingJarForced()
                             throws org.apache.maven.wagon.TransferFailedException,
                                    org.apache.maven.wagon.UnsupportedProtocolException,
                                    IOException
Throws:
org.apache.maven.wagon.TransferFailedException
org.apache.maven.wagon.UnsupportedProtocolException
IOException

testGetRemoteJar

public void testGetRemoteJar()
                      throws org.apache.maven.wagon.TransferFailedException,
                             org.apache.maven.wagon.ResourceDoesNotExistException,
                             org.apache.maven.wagon.UnsupportedProtocolException,
                             IOException,
                             org.apache.maven.wagon.authorization.AuthorizationException
Throws:
org.apache.maven.wagon.TransferFailedException
org.apache.maven.wagon.ResourceDoesNotExistException
org.apache.maven.wagon.UnsupportedProtocolException
IOException
org.apache.maven.wagon.authorization.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-2010 The Apache Software Foundation. All Rights Reserved.