Class 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 Detail

      • BaseStorageServiceTests

        public BaseStorageServiceTests()
                                throws Exception
        Throws:
        Exception
    • Method Detail

      • 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
      • testACLManagementViaRestHeaders

        public void testACLManagementViaRestHeaders()
                                             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()