Class GridFSMediaStorageStrategyTest
java.lang.Object
de.hybris.platform.gridfs.media.storage.GridFSMediaStorageStrategyTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUp()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Constructor Details
-
GridFSMediaStorageStrategyTest
public GridFSMediaStorageStrategyTest()
-
-
Method Details
-
setUp
public void setUp() -
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
- Throws:
IOException
-
shouldThrowUnsupportedOperationExceptionWhenGettingMediaAsFile
public void shouldThrowUnsupportedOperationExceptionWhenGettingMediaAsFile() -
shouldReturnSizeOfAnObjectInStorage
public void shouldReturnSizeOfAnObjectInStorage() -
shouldThrowMediaNotFoundExceptionWhenAskingForSizeForNonExistentObject
public void shouldThrowMediaNotFoundExceptionWhenAskingForSizeForNonExistentObject() -
shouldGetExistingGridFsTemplateFromPoolInsteadCreatingNewOne
public void shouldGetExistingGridFsTemplateFromPoolInsteadCreatingNewOne()
-