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
-
Field Summary
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidsetUp()voidvoidvoidvoidshouldNotFailAndProperlyCheckTheNonSecuredFolderIfFoldersQualifierMatchesWhatIsConfiguredInTheItem()voidvoidvoidtearDown()voidvoidvoidvoidvoidvoidvoidMethods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
Constructor Details
-
MediaManagerTest
public MediaManagerTest()
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
shouldHaveMediaStorageStrategyInjectedBySpring
public void shouldHaveMediaStorageStrategyInjectedBySpring() -
testGetAllMedia
public void testGetAllMedia() -
testGetMediaByPK
- Throws:
Exception
-
testGetMediaByCode
public void testGetMediaByCode() -
testGetAllMediaByCode
public void testGetAllMediaByCode() -
testGetMediaByMimeType
- 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()
-