org.jets3t.tests
Class TestGoogleStorageService

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.jets3t.tests.BaseStorageServiceTests
              extended by org.jets3t.tests.TestGoogleStorageService
All Implemented Interfaces:
junit.framework.Test

public class TestGoogleStorageService
extends BaseStorageServiceTests

Test cases specific to general S3 compatibility -- that is, features supported by both S3 and Google Storage.


Field Summary
 
Fields inherited from class org.jets3t.tests.BaseStorageServiceTests
TARGET_SERVICE_GS, TARGET_SERVICE_S3, TEST_PROPERTIES_FILENAME, testProperties
 
Constructor Summary
TestGoogleStorageService()
           
 
Method Summary
protected  AccessControlList buildAccessControlList()
           
protected  ProviderCredentials getCredentials()
           
protected  RestStorageService getStorageService(ProviderCredentials credentials)
           
protected  java.lang.String getTargetService()
           
 
Methods inherited from class org.jets3t.tests.BaseStorageServiceTests
cleanupBucketForTest, cleanupBucketForTest, createBucketForTest, deleteAllObjectsInBucket, getBucketNameForTest, testACLManagement, testACLManagementViaRestHeaders, testBucketManagement, testBucketStatusLookup, testCopyObjects, testDirectoryPlaceholderObjects, testFileComparer, testHashVerifiedUploads, testIsObjectInBucket, testListBuckets, testObjectListing, testObjectManagement, testRecognizeDnsFriendlyBucketNames, testSimpleThreadedStorageService, testThreadedStorageService, testUnicodeData
 
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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestGoogleStorageService

public TestGoogleStorageService()
                         throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

getTargetService

protected java.lang.String getTargetService()
Specified by:
getTargetService in class BaseStorageServiceTests

getCredentials

protected ProviderCredentials getCredentials()
Specified by:
getCredentials in class BaseStorageServiceTests

getStorageService

protected RestStorageService getStorageService(ProviderCredentials credentials)
                                        throws ServiceException
Specified by:
getStorageService in class BaseStorageServiceTests
Throws:
ServiceException

buildAccessControlList

protected AccessControlList buildAccessControlList()
Specified by:
buildAccessControlList in class BaseStorageServiceTests