|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.jets3t.tests.BaseS3ServiceTest
public abstract class BaseS3ServiceTest
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.
Field Summary | |
---|---|
protected AWSCredentials |
awsCredentials
|
protected java.lang.String |
TEST_PROPERTIES_FILENAME
|
Constructor Summary | |
---|---|
BaseS3ServiceTest()
|
Method Summary | |
---|---|
protected abstract S3Service |
getS3Service(AWSCredentials awsCredentials)
|
void |
testACLManagement()
|
void |
testBucketLogging()
|
void |
testBucketManagement()
|
void |
testHashVerifiedUploads()
|
void |
testListBucketsWithCredentials()
|
void |
testListBucketsWithoutCredentials()
|
void |
testObjectListing()
|
void |
testObjectManagement()
|
void |
testObtainAnonymousServices()
|
void |
testUrlSigning()
|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.lang.String TEST_PROPERTIES_FILENAME
protected AWSCredentials awsCredentials
Constructor Detail |
---|
public BaseS3ServiceTest() throws java.io.IOException
java.io.IOException
Method Detail |
---|
protected abstract S3Service getS3Service(AWSCredentials awsCredentials) throws S3ServiceException
S3ServiceException
public void testObtainAnonymousServices() throws java.lang.Exception
java.lang.Exception
public void testListBucketsWithoutCredentials() throws java.lang.Exception
java.lang.Exception
public void testListBucketsWithCredentials() throws java.lang.Exception
java.lang.Exception
public void testBucketManagement() throws java.lang.Exception
java.lang.Exception
public void testObjectManagement() throws java.lang.Exception
java.lang.Exception
public void testACLManagement() throws java.lang.Exception
java.lang.Exception
public void testObjectListing() throws java.lang.Exception
java.lang.Exception
public void testBucketLogging() throws java.lang.Exception
java.lang.Exception
public void testUrlSigning() throws java.lang.Exception
java.lang.Exception
public void testHashVerifiedUploads() throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |