org.apache.maven
Class WagonSelectorTest

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

public class WagonSelectorTest
extends org.codehaus.plexus.PlexusTestCase


Nested Class Summary
static class WagonSelectorTest.TestRuntimeInformation
           
 
Field Summary
 
Fields inherited from class org.codehaus.plexus.PlexusTestCase
basedir, container
 
Constructor Summary
WagonSelectorTest()
           
 
Method Summary
 MavenExecutionRequest createMavenRequest(Properties executionProperties)
           
 void setUp()
           
 void tearDown()
           
 void testSelectHttpclientWagonFromMavenCLIParameter()
           
 void testSelectHttpclientWagonFromServerConfiguration()
           
 void testSelectHttpclientWagonFromSimulatedMavenCliConfiguration()
           
 void testSelectHttpsWagonFromDefault()
           
 void testSelectHttpWagonFromDefault()
           
 
Methods inherited from class org.codehaus.plexus.PlexusTestCase
createContainerInstance, customizeContext, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getContainer, getCustomConfiguration, getResourceAsStream, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, release
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WagonSelectorTest

public WagonSelectorTest()
Method Detail

setUp

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

tearDown

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

testSelectHttpWagonFromDefault

public void testSelectHttpWagonFromDefault()
                                    throws Exception
Throws:
Exception

testSelectHttpsWagonFromDefault

public void testSelectHttpsWagonFromDefault()
                                     throws Exception
Throws:
Exception

testSelectHttpclientWagonFromSimulatedMavenCliConfiguration

public void testSelectHttpclientWagonFromSimulatedMavenCliConfiguration()
                                                                 throws WagonConfigurationException,
                                                                        org.apache.maven.wagon.UnsupportedProtocolException
Throws:
WagonConfigurationException
org.apache.maven.wagon.UnsupportedProtocolException

testSelectHttpclientWagonFromServerConfiguration

public void testSelectHttpclientWagonFromServerConfiguration()
                                                      throws WagonConfigurationException,
                                                             org.apache.maven.wagon.UnsupportedProtocolException
Throws:
WagonConfigurationException
org.apache.maven.wagon.UnsupportedProtocolException

testSelectHttpclientWagonFromMavenCLIParameter

public void testSelectHttpclientWagonFromMavenCLIParameter()
                                                    throws WagonConfigurationException,
                                                           org.apache.maven.wagon.UnsupportedProtocolException,
                                                           MavenExecutionException,
                                                           IOException
Throws:
WagonConfigurationException
org.apache.maven.wagon.UnsupportedProtocolException
MavenExecutionException
IOException

createMavenRequest

public MavenExecutionRequest createMavenRequest(Properties executionProperties)
                                         throws IOException,
                                                MavenExecutionException
Throws:
IOException
MavenExecutionException


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