org.jets3t.tests
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
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 |
BaseStorageServiceTests
public BaseStorageServiceTests()
throws java.lang.Exception
- Throws:
java.lang.Exception
testListBuckets
public void testListBuckets()
throws java.lang.Exception
- Throws:
java.lang.Exception
testBucketManagement
public void testBucketManagement()
throws java.lang.Exception
- Throws:
java.lang.Exception
testBucketStatusLookup
public void testBucketStatusLookup()
throws java.lang.Exception
- Throws:
java.lang.Exception
testObjectManagement
public void testObjectManagement()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDirectoryPlaceholderObjects
public void testDirectoryPlaceholderObjects()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCopyObjects
public void testCopyObjects()
throws java.lang.Exception
- Throws:
java.lang.Exception
testUnicodeData
public void testUnicodeData()
throws java.lang.Exception
- Throws:
java.lang.Exception
testACLManagement
public void testACLManagement()
throws java.lang.Exception
- Throws:
java.lang.Exception
testACLManagementViaRestHeaders
public void testACLManagementViaRestHeaders()
throws java.lang.Exception
- Throws:
java.lang.Exception
testObjectListing
public void testObjectListing()
throws java.lang.Exception
- Throws:
java.lang.Exception
testHashVerifiedUploads
public void testHashVerifiedUploads()
throws java.lang.Exception
- Throws:
java.lang.Exception
testIsObjectInBucket
public void testIsObjectInBucket()
throws java.lang.Exception
- Throws:
java.lang.Exception
testThreadedStorageService
public void testThreadedStorageService()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSimpleThreadedStorageService
public void testSimpleThreadedStorageService()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRecognizeDnsFriendlyBucketNames
public void testRecognizeDnsFriendlyBucketNames()
testFileComparer
public void testFileComparer()
throws java.lang.Exception
- Throws:
java.lang.Exception