org.jets3t.tests
Class BaseStorageServiceTests

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.jets3t.tests.BaseStorageServiceTests
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
TestGoogleStorageService, TestRestS3Service, TestRestS3ServiceToGoogleStorage

public abstract class BaseStorageServiceTests
extends junit.framework.TestCase

Runs generic functional tests that any storage service implementation should be able to perform.

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

Author:
James Murty

Constructor Summary
BaseStorageServiceTests()
           
 
Method Summary
 void testACLManagement()
           
 void testACLManagementViaRestHeaders()
           
 void testBucketManagement()
           
 void testBucketStatusLookup()
           
 void testCopyObjects()
           
 void testDirectoryPlaceholderObjects()
           
 void testFileComparer()
           
 void testHashVerifiedUploads()
           
 void testIsObjectInBucket()
           
 void testListBuckets()
           
 void testObjectListing()
           
 void testObjectManagement()
           
 void testRecognizeDnsFriendlyBucketNames()
           
 void testSimpleThreadedStorageService()
           
 void testThreadedStorageService()
           
 void testUnicodeData()
           
 
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

BaseStorageServiceTests

public BaseStorageServiceTests()
                        throws Exception
Throws:
Exception
Method Detail

testListBuckets

public void testListBuckets()
                     throws Exception
Throws:
Exception

testBucketManagement

public void testBucketManagement()
                          throws Exception
Throws:
Exception

testBucketStatusLookup

public void testBucketStatusLookup()
                            throws Exception
Throws:
Exception

testObjectManagement

public void testObjectManagement()
                          throws Exception
Throws:
Exception

testDirectoryPlaceholderObjects

public void testDirectoryPlaceholderObjects()
                                     throws Exception
Throws:
Exception

testCopyObjects

public void testCopyObjects()
                     throws Exception
Throws:
Exception

testUnicodeData

public void testUnicodeData()
                     throws Exception
Throws:
Exception

testACLManagement

public void testACLManagement()
                       throws Exception
Throws:
Exception

testACLManagementViaRestHeaders

public void testACLManagementViaRestHeaders()
                                     throws Exception
Throws:
Exception

testObjectListing

public void testObjectListing()
                       throws Exception
Throws:
Exception

testHashVerifiedUploads

public void testHashVerifiedUploads()
                             throws Exception
Throws:
Exception

testIsObjectInBucket

public void testIsObjectInBucket()
                          throws Exception
Throws:
Exception

testThreadedStorageService

public void testThreadedStorageService()
                                throws Exception
Throws:
Exception

testSimpleThreadedStorageService

public void testSimpleThreadedStorageService()
                                      throws Exception
Throws:
Exception

testRecognizeDnsFriendlyBucketNames

public void testRecognizeDnsFriendlyBucketNames()

testFileComparer

public void testFileComparer()
                      throws Exception
Throws:
Exception