Class GridFSMediaStorageStrategyTest
java.lang.Object
de.hybris.platform.gridfs.media.storage.GridFSMediaStorageStrategyTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUp()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Constructor Details
-
GridFSMediaStorageStrategyTest
public GridFSMediaStorageStrategyTest()
-
-
Method Details
-
setUp
- Throws:
Exception
-
shouldThrowIllegalArgumentExceptionWhenFolderConfigIsNullOnStoringMedia
public void shouldThrowIllegalArgumentExceptionWhenFolderConfigIsNullOnStoringMedia() -
shouldThrowIllegalArgumentExceptionWhenMediaIdIsNullOnStoringMedia
public void shouldThrowIllegalArgumentExceptionWhenMediaIdIsNullOnStoringMedia() -
shouldThrowIllegalArgumentExceptionWhenMetaDataIsNullOnStoringMedia
public void shouldThrowIllegalArgumentExceptionWhenMetaDataIsNullOnStoringMedia() -
shouldThrowIllegalArgumentExceptionWhenDataStreamIsNullOnStoringMedia
public void shouldThrowIllegalArgumentExceptionWhenDataStreamIsNullOnStoringMedia() -
shouldStoreMediaUsingGridfsStrategy
public void shouldStoreMediaUsingGridfsStrategy() -
shouldThrowIllegalArgumentExceptionWhenFolderConfigIsNullOnDeleteMedia
public void shouldThrowIllegalArgumentExceptionWhenFolderConfigIsNullOnDeleteMedia() -
shouldThrowIllegalArgumentExceptionWhenLocationIsNullOnDeleteMedia
public void shouldThrowIllegalArgumentExceptionWhenLocationIsNullOnDeleteMedia() -
shouldDeleteMediaFromStorage
public void shouldDeleteMediaFromStorage() -
shouldThrowIllegalArgumentExceptionWhenFolderConfigIsNullOnGettingMediaAsStream
public void shouldThrowIllegalArgumentExceptionWhenFolderConfigIsNullOnGettingMediaAsStream() -
shouldThrowIllegalArgumentExceptionWhenLocationIsNullOnGettingMediaAsStream
public void shouldThrowIllegalArgumentExceptionWhenLocationIsNullOnGettingMediaAsStream() -
shouldGetMediaAsStream
public void shouldGetMediaAsStream() -
shouldThrowUnsupportedOperationExceptionWhenGettingMediaAsFile
public void shouldThrowUnsupportedOperationExceptionWhenGettingMediaAsFile() -
shouldReturnSizeOfAnObjectInStorage
- Throws:
Exception
-
shouldThrowMediaNotFoundExceptionWhenAskingForSizeForNonExistentObject
public void shouldThrowMediaNotFoundExceptionWhenAskingForSizeForNonExistentObject() throws Exception- Throws:
Exception
-