org.jets3t.tests
Class BaseS3ServiceTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.jets3t.tests.BaseS3ServiceTest
- All Implemented Interfaces:
- junit.framework.Test
- Direct Known Subclasses:
- AxisSoapS3ServiceTest, HttpClientRestS3ServiceTest
- public abstract class BaseS3ServiceTest
- extends junit.framework.TestCase
Runs generic S3Service-related tests that any S3Service implementation should be able to perform.
Any test case for S3Service implementations should extend this class as a starting point, then
add more test cases more specific to that particular implementation.
| 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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TEST_PROPERTIES_FILENAME
protected java.lang.String TEST_PROPERTIES_FILENAME
awsCredentials
protected AWSCredentials awsCredentials
BaseS3ServiceTest
public BaseS3ServiceTest()
throws java.io.IOException
getS3Service
protected abstract S3Service getS3Service(AWSCredentials awsCredentials)
throws S3ServiceException
- Throws:
S3ServiceException
testObtainAnonymousServices
public void testObtainAnonymousServices()
throws java.lang.Exception
- Throws:
java.lang.Exception
testListBucketsWithoutCredentials
public void testListBucketsWithoutCredentials()
throws java.lang.Exception
- Throws:
java.lang.Exception
testListBucketsWithCredentials
public void testListBucketsWithCredentials()
throws java.lang.Exception
- Throws:
java.lang.Exception
testBucketManagement
public void testBucketManagement()
throws java.lang.Exception
- Throws:
java.lang.Exception
testObjectManagement
public void testObjectManagement()
throws java.lang.Exception
- Throws:
java.lang.Exception
testACLManagement
public void testACLManagement()
throws java.lang.Exception
- Throws:
java.lang.Exception
testObjectListing
public void testObjectListing()
throws java.lang.Exception
- Throws:
java.lang.Exception
testBucketLogging
public void testBucketLogging()
throws java.lang.Exception
- Throws:
java.lang.Exception
testUrlSigning
public void testUrlSigning()
throws java.lang.Exception
- Throws:
java.lang.Exception
testHashVerifiedUploads
public void testHashVerifiedUploads()
throws java.lang.Exception
- Throws:
java.lang.Exception