Class BaseStorageServiceTests

java.lang.Object
junit.framework.Assert
junit.framework.TestCase
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 Details

    • BaseStorageServiceTests

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

    • 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