Class S3MediaStorageStrategyTest
java.lang.Object
de.hybris.platform.amazon.media.storage.S3MediaStorageStrategyTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUp()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Constructor Details
-
S3MediaStorageStrategyTest
public S3MediaStorageStrategyTest()
-
-
Method Details
-
setUp
- Throws:
Exception
-
shouldThrowIllegalArgumentExceptionWhenFolderConfigIsNullOnStoringMedia
public void shouldThrowIllegalArgumentExceptionWhenFolderConfigIsNullOnStoringMedia() -
shouldThrowIllegalArgumentExceptionWhenMediaIdIsNullOnStoringMedia
public void shouldThrowIllegalArgumentExceptionWhenMediaIdIsNullOnStoringMedia() -
shouldThrowIllegalArgumentExceptionWhenMetaDataIsNullOnStoringMedia
public void shouldThrowIllegalArgumentExceptionWhenMetaDataIsNullOnStoringMedia() -
shouldThrowIllegalArgumentExceptionWhenDataStreamIsNullOnStoringMedia
public void shouldThrowIllegalArgumentExceptionWhenDataStreamIsNullOnStoringMedia() -
shouldStoreMediaUsingS3Service
- Throws:
Exception
-
shouldThrowMediaStoreExceptionWhenStoringMediaAndServiceExceptionWasThrown
public void shouldThrowMediaStoreExceptionWhenStoringMediaAndServiceExceptionWasThrown() -
shouldDeleteMediaFromStorage
public void shouldDeleteMediaFromStorage() -
shouldThrowIllegalArgumentExceptionWhenFolderConfigIsNullWhenDeletingMedia
public void shouldThrowIllegalArgumentExceptionWhenFolderConfigIsNullWhenDeletingMedia() -
shouldThrowIllegalArgumentExceptionWhenLocationIsNullWhenDeletingMedia
public void shouldThrowIllegalArgumentExceptionWhenLocationIsNullWhenDeletingMedia() -
shouldThrowUnsupportedOperationExceptionWhenGettingStreamAsFile
public void shouldThrowUnsupportedOperationExceptionWhenGettingStreamAsFile() -
shouldThrowIllegalArgumentExceptionWhenFolderConfigIsNullWhenGettingMediaAsStream
public void shouldThrowIllegalArgumentExceptionWhenFolderConfigIsNullWhenGettingMediaAsStream() -
shouldThrowIllegalArgumentExceptionWhenLocationIsNullWhenGettingMediaAsStream
public void shouldThrowIllegalArgumentExceptionWhenLocationIsNullWhenGettingMediaAsStream() -
shouldGetMediaAsStream
public void shouldGetMediaAsStream() -
shouldReturnSizeOfAnObjectInStorage
- Throws:
Exception
-
shouldThrowMediaNotFoundExceptionWhenAskingForSizeForNonExistentObject
public void shouldThrowMediaNotFoundExceptionWhenAskingForSizeForNonExistentObject() throws Exception- Throws:
Exception
-