org.jets3t.tests
Class BaseS3ServiceTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.jets3t.tests.BaseS3ServiceTest
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
AxisSoapS3ServiceTest, HttpClientRestS3ServiceTest

public abstract class BaseS3ServiceTest
extends junit.framework.TestCase

Runs generic S3Service-related tests that any S3Service implementation should be able to perform.

Any test case for S3Service implementations should extend this class as a starting point, then add more test cases more specific to that particular implementation.

Author:
James Murty

Constructor Summary
BaseS3ServiceTest()
           
 
Method Summary
 void testACLManagement()
           
 void testBucketLogging()
           
 void testBucketManagement()
           
 void testHashVerifiedUploads()
           
 void testListBucketsWithCredentials()
           
 void testListBucketsWithoutCredentials()
           
 void testObjectListing()
           
 void testObjectManagement()
           
 void testObtainAnonymousServices()
           
 void testUrlSigning()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, getName, run, run, runBare, 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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BaseS3ServiceTest

public BaseS3ServiceTest()
                  throws IOException
Throws:
IOException
Method Detail

testObtainAnonymousServices

public void testObtainAnonymousServices()
                                 throws Exception
Throws:
Exception

testListBucketsWithoutCredentials

public void testListBucketsWithoutCredentials()
                                       throws Exception
Throws:
Exception

testListBucketsWithCredentials

public void testListBucketsWithCredentials()
                                    throws Exception
Throws:
Exception

testBucketManagement

public void testBucketManagement()
                          throws Exception
Throws:
Exception

testObjectManagement

public void testObjectManagement()
                          throws Exception
Throws:
Exception

testACLManagement

public void testACLManagement()
                       throws Exception
Throws:
Exception

testObjectListing

public void testObjectListing()
                       throws Exception
Throws:
Exception

testBucketLogging

public void testBucketLogging()
                       throws Exception
Throws:
Exception

testUrlSigning

public void testUrlSigning()
                    throws Exception
Throws:
Exception

testHashVerifiedUploads

public void testHashVerifiedUploads()
                             throws Exception
Throws:
Exception