Class GridFSMediaStorageStrategyTest
- java.lang.Object
-
- de.hybris.platform.gridfs.media.storage.GridFSMediaStorageStrategyTest
-
@UnitTest public class GridFSMediaStorageStrategyTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description GridFSMediaStorageStrategyTest()
-
Method Summary
-
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception- Throws:
java.lang.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
public void shouldReturnSizeOfAnObjectInStorage() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldThrowMediaNotFoundExceptionWhenAskingForSizeForNonExistentObject
public void shouldThrowMediaNotFoundExceptionWhenAskingForSizeForNonExistentObject() throws java.lang.Exception- Throws:
java.lang.Exception
-
-