org.apache.maven.wagon
Class StreamWagonTest

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

public class StreamWagonTest
extends junit.framework.TestCase


Constructor Summary
StreamWagonTest()
           
 
Method Summary
 void testAuthorizationException()
           
 void testGet()
           
 void testGetIfNewerToStreamWithNewerResource()
           
 void testGetIfNewerToStreamWithOlderResource()
           
 void testGetIfNewerToStreamWithSameTimeResource()
           
 void testGetIfNewerWithNewerResource()
           
 void testGetIfNewerWithOlderResource()
           
 void testGetIfNewerWithSameTimeResource()
           
 void testGetToStream()
           
 void testNullInputStream()
           
 void testNullOutputStream()
           
 void testPut()
           
 void testPutFileDoesntExist()
           
 void testPutFromStream()
           
 void testPutFromStreamWithResourceInformation()
           
 void testResourceDoesNotExistException()
           
 void testTransferFailedExceptionOnInput()
           
 void testTransferFailedExceptionOnOutput()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StreamWagonTest

public StreamWagonTest()
Method Detail

testNullInputStream

public void testNullInputStream()
                         throws java.lang.Exception
Throws:
java.lang.Exception

testNullOutputStream

public void testNullOutputStream()
                          throws java.lang.Exception
Throws:
java.lang.Exception

testTransferFailedExceptionOnInput

public void testTransferFailedExceptionOnInput()
                                        throws java.lang.Exception
Throws:
java.lang.Exception

testTransferFailedExceptionOnOutput

public void testTransferFailedExceptionOnOutput()
                                         throws java.lang.Exception
Throws:
java.lang.Exception

testResourceDoesNotExistException

public void testResourceDoesNotExistException()
                                       throws java.lang.Exception
Throws:
java.lang.Exception

testAuthorizationException

public void testAuthorizationException()
                                throws java.lang.Exception
Throws:
java.lang.Exception

testGetIfNewerWithNewerResource

public void testGetIfNewerWithNewerResource()
                                     throws java.lang.Exception
Throws:
java.lang.Exception

testGetIfNewerWithOlderResource

public void testGetIfNewerWithOlderResource()
                                     throws java.lang.Exception
Throws:
java.lang.Exception

testGetIfNewerWithSameTimeResource

public void testGetIfNewerWithSameTimeResource()
                                        throws java.lang.Exception
Throws:
java.lang.Exception

testGetToStream

public void testGetToStream()
                     throws java.lang.Exception
Throws:
java.lang.Exception

testGet

public void testGet()
             throws java.lang.Exception
Throws:
java.lang.Exception

testGetIfNewerToStreamWithNewerResource

public void testGetIfNewerToStreamWithNewerResource()
                                             throws java.lang.Exception
Throws:
java.lang.Exception

testGetIfNewerToStreamWithOlderResource

public void testGetIfNewerToStreamWithOlderResource()
                                             throws java.lang.Exception
Throws:
java.lang.Exception

testGetIfNewerToStreamWithSameTimeResource

public void testGetIfNewerToStreamWithSameTimeResource()
                                                throws java.lang.Exception
Throws:
java.lang.Exception

testPutFromStream

public void testPutFromStream()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testPutFromStreamWithResourceInformation

public void testPutFromStreamWithResourceInformation()
                                              throws java.lang.Exception
Throws:
java.lang.Exception

testPut

public void testPut()
             throws java.lang.Exception
Throws:
java.lang.Exception

testPutFileDoesntExist

public void testPutFileDoesntExist()
                            throws java.lang.Exception
Throws:
java.lang.Exception


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