org.apache.maven.wagon
Class AbstractWagonTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.maven.wagon.AbstractWagonTest
All Implemented Interfaces:
Test

public class AbstractWagonTest
extends TestCase

Version:
$Id: AbstractWagonTest.java 630808 2008-02-25 11:01:41Z brett $
Author:
Michal Maczka

Constructor Summary
AbstractWagonTest()
           
 
Method Summary
protected  void setUp()
           
 void testConnectNullRepository()
           
 void testGetError()
           
 void testGetTransferEvents()
           
 void testLegacyProxyConfiguration()
           
 void testNoProxyConfiguration()
           
 void testNullProxyConfiguration()
           
 void testPostProcessListeners()
           
 void testProxyConfiguration()
           
 void testPutTransferEvents()
           
 void testRepositoryPermissionsOverride()
           
 void testRepositoryUserName()
           
 void testRepositoryUserNameNotGivenInCredentials()
           
 void testSessionCloseEvents()
           
 void testSessionCloseRefusedEventConnectionException()
           
 void testSessionConnectionRefusedEventAuthenticationException()
           
 void testSessionConnectionRefusedEventConnectionException()
           
 void testSessionListenerRegistration()
           
 void testSessionOpenEvents()
           
 void testStreamShutdown()
           
 void testTransferListenerRegistration()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, 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

AbstractWagonTest

public AbstractWagonTest()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class TestCase
Throws:
Exception

testSessionListenerRegistration

public void testSessionListenerRegistration()

testTransferListenerRegistration

public void testTransferListenerRegistration()

testNoProxyConfiguration

public void testNoProxyConfiguration()
                              throws ConnectionException,
                                     AuthenticationException
Throws:
ConnectionException
AuthenticationException

testNullProxyConfiguration

public void testNullProxyConfiguration()
                                throws ConnectionException,
                                       AuthenticationException
Throws:
ConnectionException
AuthenticationException

testLegacyProxyConfiguration

public void testLegacyProxyConfiguration()
                                  throws ConnectionException,
                                         AuthenticationException
Throws:
ConnectionException
AuthenticationException

testProxyConfiguration

public void testProxyConfiguration()
                            throws ConnectionException,
                                   AuthenticationException
Throws:
ConnectionException
AuthenticationException

testSessionOpenEvents

public void testSessionOpenEvents()
                           throws Exception
Throws:
Exception

testSessionConnectionRefusedEventConnectionException

public void testSessionConnectionRefusedEventConnectionException()
                                                          throws Exception
Throws:
Exception

testSessionConnectionRefusedEventAuthenticationException

public void testSessionConnectionRefusedEventAuthenticationException()
                                                              throws Exception
Throws:
Exception

testSessionCloseEvents

public void testSessionCloseEvents()
                            throws Exception
Throws:
Exception

testSessionCloseRefusedEventConnectionException

public void testSessionCloseRefusedEventConnectionException()
                                                     throws Exception
Throws:
Exception

testGetTransferEvents

public void testGetTransferEvents()
                           throws Exception
Throws:
Exception

testGetError

public void testGetError()
                  throws Exception
Throws:
Exception

testPutTransferEvents

public void testPutTransferEvents()
                           throws ConnectionException,
                                  AuthenticationException,
                                  ResourceDoesNotExistException,
                                  TransferFailedException,
                                  AuthorizationException
Throws:
ConnectionException
AuthenticationException
ResourceDoesNotExistException
TransferFailedException
AuthorizationException

testStreamShutdown

public void testStreamShutdown()

testRepositoryPermissionsOverride

public void testRepositoryPermissionsOverride()
                                       throws ConnectionException,
                                              AuthenticationException
Throws:
ConnectionException
AuthenticationException

testRepositoryUserName

public void testRepositoryUserName()
                            throws ConnectionException,
                                   AuthenticationException
Throws:
ConnectionException
AuthenticationException

testRepositoryUserNameNotGivenInCredentials

public void testRepositoryUserNameNotGivenInCredentials()
                                                 throws ConnectionException,
                                                        AuthenticationException
Throws:
ConnectionException
AuthenticationException

testConnectNullRepository

public void testConnectNullRepository()
                               throws ConnectionException,
                                      AuthenticationException
Throws:
ConnectionException
AuthenticationException

testPostProcessListeners

public void testPostProcessListeners()
                              throws TransferFailedException,
                                     IOException
Throws:
TransferFailedException
IOException


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