Package de.hybris.platform.test
Class MediaManagerTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.testframework.HybrisJUnit4TransactionalTest
-
- de.hybris.platform.test.MediaManagerTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class MediaManagerTest extends HybrisJUnit4TransactionalTest
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description MediaManagerTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfolderQualifierShouldMatch()voidlocationShouldHaveAtLeastOneSegment()voidsetUp()voidshouldFailIfNormalizedLocationDoesNotMatchFolder()voidshouldHaveMediaStorageStrategyInjectedBySpring()voidshouldNotCheckMatchingIfFolderIsRoot()voidshouldNotFailAndProperlyCheckTheNonSecuredFolderIfFoldersQualifierMatchesWhatIsConfiguredInTheItem()voidshouldNotFailAndProperlyCheckTheSecuredFolderIfFoldersQualifierMatchesWhatIsConfiguredInTheItem_SamePathAsQualifer()voidshouldNotThrowExceptionIfFolderMatchesLocation()voidtearDown()voidtestGetAllMedia()voidtestGetAllMediaByCode()voidtestGetMediaByCode()voidtestGetMediaByMimeType()voidtestGetMediaByPK()voidtestGetMediaByURL()voidtestGetMediaByURLExact()-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception- Throws:
java.lang.Exception
-
tearDown
public void tearDown() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldHaveMediaStorageStrategyInjectedBySpring
public void shouldHaveMediaStorageStrategyInjectedBySpring()
-
testGetAllMedia
public void testGetAllMedia()
-
testGetMediaByPK
public void testGetMediaByPK() throws java.lang.Exception- Throws:
java.lang.Exception
-
testGetMediaByCode
public void testGetMediaByCode()
-
testGetAllMediaByCode
public void testGetAllMediaByCode()
-
testGetMediaByMimeType
public void testGetMediaByMimeType() throws JaloBusinessException- Throws:
JaloBusinessException
-
testGetMediaByURL
public void testGetMediaByURL()
-
testGetMediaByURLExact
public void testGetMediaByURLExact()
-
folderQualifierShouldMatch
public void folderQualifierShouldMatch()
-
locationShouldHaveAtLeastOneSegment
public void locationShouldHaveAtLeastOneSegment()
-
shouldNotThrowExceptionIfFolderMatchesLocation
public void shouldNotThrowExceptionIfFolderMatchesLocation()
-
shouldNotCheckMatchingIfFolderIsRoot
public void shouldNotCheckMatchingIfFolderIsRoot()
-
shouldFailIfNormalizedLocationDoesNotMatchFolder
public void shouldFailIfNormalizedLocationDoesNotMatchFolder()
-
shouldNotFailAndProperlyCheckTheNonSecuredFolderIfFoldersQualifierMatchesWhatIsConfiguredInTheItem
public void shouldNotFailAndProperlyCheckTheNonSecuredFolderIfFoldersQualifierMatchesWhatIsConfiguredInTheItem()
-
shouldNotFailAndProperlyCheckTheSecuredFolderIfFoldersQualifierMatchesWhatIsConfiguredInTheItem_SamePathAsQualifer
public void shouldNotFailAndProperlyCheckTheSecuredFolderIfFoldersQualifierMatchesWhatIsConfiguredInTheItem_SamePathAsQualifer()
-
-